|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.esri.aims.mtier.model.axl.Util
Implements utility methods for AXL building and parsing.
Field Summary | |
static String |
CURRENT_AXL_VERSION
Defines the current AXL version being used in requests. |
static String |
DEFAULT_SAX_PARSER
Defines the default SAX parser used within the object model. |
static String |
ENCODING
Defines the encoding used to parse. |
Constructor Summary | |
Util()
|
Method Summary | |
static com.esri.w3c.dom.Element |
addChildren(com.esri.w3c.dom.Element parent,
com.esri.w3c.dom.Element[] children)
Adds an array of Elements as children to a given node. |
protected static com.esri.w3c.dom.Document |
createDocument()
|
static com.esri.w3c.dom.Document |
createRequestDocument(com.esri.w3c.dom.Element request)
Creates a document using the request argument as the body of the request. |
static com.esri.w3c.dom.Document |
createRequestDocument(com.esri.w3c.dom.Element request,
String version)
Creates a document using the request argument as the body of the request. |
static String |
documentToString(com.esri.w3c.dom.Document doc)
Converts the given Document object to a String. |
static void |
setCurrentAXLVersion(String version)
Defines current AXL version number. |
static void |
setParserEncoding(String encoding)
Sets the encoding value for parsing. |
static void |
setSAXParser(String parserClasspath)
Defines the parser classpath. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static String CURRENT_AXL_VERSION
public static String DEFAULT_SAX_PARSER
public static String ENCODING
Constructor Detail |
public Util()
Method Detail |
public static void setParserEncoding(String encoding)
public static void setSAXParser(String parserClasspath)
public static void setCurrentAXLVersion(String version)
public static com.esri.w3c.dom.Element addChildren(com.esri.w3c.dom.Element parent, com.esri.w3c.dom.Element[] children)
parent
- The parent Element to add children to.
public static String documentToString(com.esri.w3c.dom.Document doc)
doc
- the Document to be converted to a String.
public static com.esri.w3c.dom.Document createRequestDocument(com.esri.w3c.dom.Element request, String version)
The document produced by this method would be represented in AXL as:
request
- the request element to be used. A deep import is done on
this Element (importing all sub-Elements).version
- the version of ArcXML to use.
public static com.esri.w3c.dom.Document createRequestDocument(com.esri.w3c.dom.Element request)
createRequestDocument(request, CURRENT_AXL_VERSION)
.
request
- The request element to be used. A deep import is done on
this Element (importing all sub-Elements).
protected static com.esri.w3c.dom.Document createDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |