com.esri.aims.mtier.model.axl.admin
Class AdminUtil
java.lang.Object
|
+--com.esri.aims.mtier.model.axl.Util
|
+--com.esri.aims.mtier.model.axl.admin.AdminUtil
- public class AdminUtil
- extends Util
An utility class for Admin AXL requests and responses.
Method Summary |
static com.esri.w3c.dom.Document |
createAdminDocument(com.esri.w3c.dom.Element adminRequest)
Creates a document using the admin request argument as the body of the request. |
static com.esri.w3c.dom.Document |
createAdminDocument(com.esri.w3c.dom.Element adminRequest,
String version)
Creates a document using the request argument as the body of the request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminUtil
public AdminUtil()
createAdminDocument
public static com.esri.w3c.dom.Document createAdminDocument(com.esri.w3c.dom.Element adminRequest,
String version)
- Creates a document using the request argument as the body of the request.
For instance, if the admin request Element were to be represented in AXL as:
< STARTSERVER machine="dali" alias="dali_image" / >
Then it the document produced by this method would be represented in AXL as:
< STARTSERVER machine="dali" alias="dali_image" / >
- Parameters:
adminRequest
- The admin request element to be used. A deep import
is done on this Element (importing all sub-Elements).version
- The version of ArcXML to use.
- Returns:
- A document representing this admin request.
createAdminDocument
public static com.esri.w3c.dom.Document createAdminDocument(com.esri.w3c.dom.Element adminRequest)
- Creates a document using the admin request argument as the body of the request.
This has the same effect as calling the
createRequestDocument(request, CURRENT_AXL_VERSION)
method.
- Returns:
- A document representing this admin request.
- See Also: