com.esri.aims.mtier.model.metadata.publish
Class SemanticPair

java.lang.Object
  |
  +--com.esri.aims.mtier.model.metadata.publish.SemanticPair

public class SemanticPair
extends Object

Implements a SemanticPair element.


Constructor Summary
SemanticPair()
          Constructs an instance of a SemanticPair object.
 
Method Summary
 String getAttribute()
          Returns the attribute name as string for the element.
 com.esri.w3c.dom.Element getSemanticPairElement()
          Returns this object as an SEMANTIC_PAIR element.
 String getTag()
          Returns the location of an element inside an XML tree.
 String getZcode()
          Returns the numeric code defining semantics from the GEO Attribute set.
 void setAttribute(String newAttribute)
          Sets the given string as attribute name for the element.
 void setTag(String newTag)
          Sets the location of an element inside an XML tree.
 void setZcode(String newZcode)
          Sets the numeric code defining semantics from the GEO Attribute set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SemanticPair

public SemanticPair()
Constructs an instance of a SemanticPair object.

Method Detail

getTag

public String getTag()
Returns the location of an element inside an XML tree.

Returns:
String Returns the tag name from the XML tree.

getZcode

public String getZcode()
Returns the numeric code defining semantics from the GEO Attribute set.

Returns:
String Returns the Numeric code defining semantics from the GEO Attribute Set.

getAttribute

public String getAttribute()
Returns the attribute name as string for the element.

Returns:
String attribute name for the element.

setTag

public void setTag(String newTag)
Sets the location of an element inside an XML tree.

Parameters:
newTag - Location of an element inside an XML tree.

setZcode

public void setZcode(String newZcode)
Sets the numeric code defining semantics from the GEO Attribute set.

Parameters:
newZcode - numeric code defining semantics from the GEO Attribute set.

setAttribute

public void setAttribute(String newAttribute)
Sets the given string as attribute name for the element.


getSemanticPairElement

public com.esri.w3c.dom.Element getSemanticPairElement()
                                                throws AXLAttributeException
Returns this object as an SEMANTIC_PAIR element.

Returns:
Element
AXLAttributeException