|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.catalog.gxe.GxeFile
public class GxeFile
A component XML file associated with a Geoportal XML editor definition.
Constructor Summary | |
---|---|
GxeFile()
Default constructor |
|
GxeFile(GxeFile parent,
String location)
Constructs with a parent file and reference location. |
Method Summary | |
---|---|
Node |
findRoot(Document dom)
Finds the root node within a document. |
List<URI> |
getBaseLocations()
Gets the base locations. |
boolean |
getIsRoot()
Indicates whether or not the file is the definition root. |
String |
getLocation()
Gets the location. |
GxeFile |
getParent()
Gets the parent. |
URL |
getReferencedUrl()
Gets the URL that was referenced while loading the DOM. |
Document |
loadDom()
Loads the XML document object model (org.w3c.dom.Document). |
URL |
makeUrl()
Returns the URL for the file. |
void |
setBaseLocations(List<URI> locations)
Sets the base locations. |
void |
setIsRoot(boolean isRoot)
Indicates whether or not the file is the definition root. |
void |
setLocation(String location)
Sets the location. |
void |
setParent(GxeFile parent)
Sets the parent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GxeFile()
public GxeFile(GxeFile parent, String location)
parent
- the parent file from which this external reference was madelocation
- the file locationMethod Detail |
---|
public List<URI> getBaseLocations()
public void setBaseLocations(List<URI> locations)
locations
- the base locationspublic boolean getIsRoot()
public void setIsRoot(boolean isRoot)
isRoot
- true if this is the rootpublic String getLocation()
public void setLocation(String location)
location
- the locationpublic GxeFile getParent()
public void setParent(GxeFile parent)
parent
- the parentpublic URL getReferencedUrl()
public Node findRoot(Document dom)
dom
- the document
public Document loadDom()
Exception
- if an exception occurspublic URL makeUrl() throws Exception
IOException
- if the URL cannot be generated
Exception
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |