|
||||||||||
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.metadata.MetadataElementFactory
This is a utility class used to create Elements for DOM document construction. For every element that is constructable the attributes are passed in as parameters to the method. Required attributes are marked in the documentation by a trailing "(REQUIRED)". All other values that are passed will be omitted from the returned Element if they are null. ...
Method Summary | |
static com.esri.w3c.dom.Element |
createArcXMLElement(String version)
Creates an ARCXML element with the given version attribute. |
static com.esri.w3c.dom.Element |
createChangeMetadataAccessElement(String docID,
String isPrivate)
Creates a CHANGE_METADATA_ACCESS element with name, userid, and private attributes. |
static com.esri.w3c.dom.Element |
createChangeOwnerElement(String docID,
String newOwner)
Creates a CHANGE_OWNER element |
static com.esri.w3c.dom.Element |
createCollectionInfoElement()
Creates a COLLECTION_INFO element. |
static com.esri.w3c.dom.Element |
createDeleteMetadataElement(String docID)
Creates a DELETE_METADATA element with docID. |
static com.esri.w3c.dom.Element |
createDeleteMetadataRelationshipElement()
Creates a DELETE_METADATA_RELATIONSHIP element. |
static com.esri.w3c.dom.Element |
createDocumentInfoElement(String name,
String owner,
String content)
Creates a DOCUMENTINFO element. |
static com.esri.w3c.dom.Element |
createEnvelopeElement(String minx,
String maxx,
String miny,
String maxy,
String spatialOperator)
Creates an ENVELOPE element with xmin, xmax, ymin, ymax, and operator attributes. |
static com.esri.w3c.dom.Element |
createFullTextElement(String word)
Creates a FULLTEXT element with the given word attribute. |
static com.esri.w3c.dom.Element |
createGetCollectionInfoElement(String collection,
String tag,
String zCode,
String orderBy)
Creates a GET_COLLECTION_INFO element. |
static com.esri.w3c.dom.Element |
createGetContentInfoElement()
Creates a GET_CONTENT_INFO element. |
static com.esri.w3c.dom.Element |
createGetMetadataDocumentElement(String docID)
Creates a GET_METADATA element. |
static com.esri.w3c.dom.Element |
createGetMetadataElement()
Creates a GET_METADATA element. |
static com.esri.w3c.dom.Element |
createGetRootDatasetElement()
Creates a GET_ROOT_DATASET element. |
static com.esri.w3c.dom.Element |
createGetUserElement(String username)
Creates a GET_USER element. |
static com.esri.w3c.dom.Element |
createGetUUIDElement(String count)
Creates a GET_UUID element. |
static com.esri.w3c.dom.Element |
createMetadataChildElement(String docID)
Creates a METADATA_CHILD element. |
static com.esri.w3c.dom.Element |
createMetadataSiblingElement(String docID)
Creates a METADATA_SIBLING element. |
static com.esri.w3c.dom.Element |
createMetadataSourceElement(String docID)
Creates a METADATA_SOURCE element. |
static com.esri.w3c.dom.Element |
createPublishMetadataElement()
|
static com.esri.w3c.dom.Element |
createPutMetadataElement(String docID,
String name,
String content,
String isFolder,
String onLink,
String parentDocId,
String isPrivate,
String server,
String service,
String serviceType,
String documentContent)
Creates a PUT_METADATA element. |
static com.esri.w3c.dom.Element |
createPutMetadataRelationshipElement()
Creates a PUT_METADATA_RELATIONSHIP element. |
static com.esri.w3c.dom.Element |
createPutMetadataSemanticElement()
Creates a PUT_METADATA_SEMANTIC element. |
static com.esri.w3c.dom.Element |
createRelevanceElement(String docID,
String relevance)
Creates an ADD_RELEVANCE_FEEDBACK element. |
static com.esri.w3c.dom.Element |
createRenameMetadataElement(String docID,
String newName)
Creates a RENAME_METADATA element. |
static com.esri.w3c.dom.Element |
createRequestElement()
Creates a REQUEST element. |
static com.esri.w3c.dom.Element |
createSearchMetadataElement(String newOperator,
String startResult,
String maxResults,
String foldermask,
String sort,
String sort2,
String gndextent,
String fullouput)
Creates a SEARCH_METADATA element. |
static com.esri.w3c.dom.Element |
createSemanticPairElement(String tag,
String zcode,
String attribute)
Creates a SEMANTIC_PAIR element. |
static com.esri.w3c.dom.Element |
createSubsetElement(String type,
String docID)
Creates a SUBSET element. |
static com.esri.w3c.dom.Element |
createTagTextElement(String zcode,
String tag,
String word,
String attribute)
Creates a TAGTEXT element. |
static com.esri.w3c.dom.Element |
createTagValueElement(String zCode,
String tag,
String lessThan,
String greaterThan,
String lessThanOrEqualTo,
String greaterThanOrEqualTo,
String equalTo,
String notEqualTo,
String attribute)
Creates a TAGVALUE element. |
static com.esri.w3c.dom.Element |
createThumbnailElement(String imageData)
Creates a THUMBNAIL element. |
static com.esri.w3c.dom.Element |
createUpdatedElement(String after,
String before)
Creates a UPDATED element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static com.esri.w3c.dom.Element createArcXMLElement(String version) throws AXLAttributeException
version
- The ArcXML version of the request being sent. (REQUIRED)
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createChangeMetadataAccessElement(String docID, String isPrivate) throws AXLAttributeException
isPrivate
- is the access setting for the given metadata. (REQUIRED)
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createChangeOwnerElement(String docID, String newOwner) throws AXLAttributeException
docID
- the document ID. (REQUIRED)newOwner
- New owner for the given metadata. (REQUIRED)
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createCollectionInfoElement()
public static com.esri.w3c.dom.Element createDeleteMetadataElement(String docID) throws AXLAttributeException
docID
- the document identifier. (REQUIRED)
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createDeleteMetadataRelationshipElement()
public static com.esri.w3c.dom.Element createDocumentInfoElement(String name, String owner, String content)
public static com.esri.w3c.dom.Element createEnvelopeElement(String minx, String maxx, String miny, String maxy, String spatialOperator) throws AXLAttributeException
spatialOperator
- defines the new operator on the Envelope object. This
is currently defined as one of the following: "fuzzywithin"(default),
"within", "overlaps", or "fuzzyequals".
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createFullTextElement(String word) throws AXLAttributeException
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createGetCollectionInfoElement(String collection, String tag, String zCode, String orderBy) throws AXLAttributeException
collection
- (REQUIRED)tag
- ...zCode
- ...orderBy
- ...
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createGetContentInfoElement()
public static com.esri.w3c.dom.Element createGetMetadataElement()
public static com.esri.w3c.dom.Element createGetMetadataDocumentElement(String docID) throws AXLAttributeException
docID
- the document identifier.
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createGetRootDatasetElement()
public static com.esri.w3c.dom.Element createGetUserElement(String username) throws AXLAttributeException
username
- the user name string.
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createGetUUIDElement(String count)
count
- Determines the number of unique IDs to generate
public static com.esri.w3c.dom.Element createMetadataChildElement(String docID) throws AXLAttributeException
docID
- the document identifier.
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createMetadataSiblingElement(String docID) throws AXLAttributeException
docID
- the document identifier.
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createMetadataSourceElement(String docID) throws AXLAttributeException
docID
- the document identifier.
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createPublishMetadataElement()
public static com.esri.w3c.dom.Element createPutMetadataElement(String docID, String name, String content, String isFolder, String onLink, String parentDocId, String isPrivate, String server, String service, String serviceType, String documentContent) throws AXLAttributeException
docID
- the document identifier.name
- a user-friendly name identifying the dataset
corresponding to the document.content
- parentDocId
- Unique string for identifying a document belonging to the
parent name and parent owner.isPrivate
- Determines whether document is viewable for all users.
Use "false" if the document is viewable by all users.
Use "true" when the document is viewable only by the document owner.server
- The URL of the Web server containing data or metadata associated with the document,
for example, http://mymachine.domain.com.service
- The name of the ArcIMS service containing data or metadata associated with the document.serviceType
- Type of ArcIMS service.documentContent
- Metadata document to be published.
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createPutMetadataRelationshipElement()
public static com.esri.w3c.dom.Element createPutMetadataSemanticElement()
public static com.esri.w3c.dom.Element createRelevanceElement(String docID, String relevance) throws AXLAttributeException
docID
- the document identifier.relevance
- ...
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createRenameMetadataElement(String docID, String newName) throws AXLAttributeException
newName
- the new name string.
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createRequestElement()
public static com.esri.w3c.dom.Element createSearchMetadataElement(String newOperator, String startResult, String maxResults, String foldermask, String sort, String sort2, String gndextent, String fullouput)
newOperator
- ...startResult
- ...maxResults
- ...foldermask
- ...sort
- ...sort2
- ...
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createSemanticPairElement(String tag, String zcode, String attribute) throws AXLAttributeException
tag
- ...attribute
- ...
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createSubsetElement(String type, String docID) throws AXLAttributeException
type
- ...docID
- ...
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createTagTextElement(String zcode, String tag, String word, String attribute) throws AXLAttributeException
tag
- ...word
- ...attribute
- ...
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createTagValueElement(String zCode, String tag, String lessThan, String greaterThan, String lessThanOrEqualTo, String greaterThanOrEqualTo, String equalTo, String notEqualTo, String attribute) throws AXLAttributeException
zCode
- ...tag
- ...lessThan
- ...greaterThan
- ...lessThanOrEqualTo
- ...greaterThanOrEqualTo
- ...equalTo
- ...notEqualTo
- attribute
- ...
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createThumbnailElement(String imageData) throws AXLAttributeException
imageData
- The thumbnail image as data to be encapsulated
between the THUMBNAIL tags.
AXLAttributeException
- if required attributes are not properly set.public static com.esri.w3c.dom.Element createUpdatedElement(String after, String before)
after
- before
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |