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, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendChild, 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, setUserDataprivate 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 Nodepublic boolean getSpecified()
getSpecified in interface Attrpublic String getNodeValue() throws DOMException
getNodeValue in interface NodegetNodeValue in class AbstractAmetysNodeDOMExceptionpublic Element getOwnerElement()
getOwnerElement in interface Attrpublic String getNodeName()
getNodeName in interface Nodepublic String getTextContent() throws DOMException
getTextContent in interface NodeDOMExceptionpublic String getLocalName()
getLocalName in interface NodegetLocalName in class AbstractAmetysNodepublic String getNamespaceURI()
getNamespaceURI in interface NodegetNamespaceURI in class AbstractAmetysNodepublic void setValue(String value) throws DOMException
setValue in interface AttrDOMExceptionpublic TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface Attr