public class AmetysAttribute extends AbstractAmetysNode implements Attr
Attr
for an AmetysObject's metadata.Modifier and Type | Field and Description |
---|---|
private String |
_localName |
private String |
_namespace |
private Element |
_ownerElement |
private String |
_qName |
private String |
_value |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
AmetysAttribute(String localName,
String qName,
String namespaceURI,
String value,
Element ownerElement)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocalName() |
String |
getName() |
String |
getNamespaceURI() |
String |
getNodeName() |
short |
getNodeType() |
String |
getNodeValue() |
Element |
getOwnerElement() |
TypeInfo |
getSchemaTypeInfo() |
boolean |
getSpecified() |
String |
getTextContent() |
String |
getValue() |
boolean |
isId() |
void |
setValue(String value) |
_getChildNodes, appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
private String _localName
private String _namespace
private Element _ownerElement
public AmetysAttribute(String localName, String qName, String namespaceURI, String value, Element ownerElement)
localName
- local name fir this attribute.qName
- qualified name for this attribute.namespaceURI
- namespace URI for this attribute.value
- attribute's value.ownerElement
- the owner Element
.public short getNodeType()
getNodeType
in interface Node
public boolean getSpecified()
getSpecified
in interface Attr
public String getNodeValue() throws DOMException
getNodeValue
in interface Node
getNodeValue
in class AbstractAmetysNode
DOMException
public Element getOwnerElement()
getOwnerElement
in interface Attr
public String getNodeName()
getNodeName
in interface Node
public String getTextContent() throws DOMException
getTextContent
in interface Node
DOMException
public String getLocalName()
getLocalName
in interface Node
getLocalName
in class AbstractAmetysNode
public String getNamespaceURI()
getNamespaceURI
in interface Node
getNamespaceURI
in class AbstractAmetysNode
public void setValue(String value) throws DOMException
setValue
in interface Attr
DOMException
public TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo
in interface Attr