Package org.ametys.core.util.dom
Class AmetysAttribute
java.lang.Object
org.ametys.core.util.dom.AbstractAmetysNode
org.ametys.core.util.dom.AmetysAttribute
Implementation of
Attr
for an AmetysObject's metadata.-
Field Summary
Fields inherited from interface org.w3c.dom.Node
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 Summary
-
Method Summary
Methods inherited from class org.ametys.core.util.dom.AbstractAmetysNode
_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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.w3c.dom.Node
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
-
Constructor Details
-
AmetysAttribute
public AmetysAttribute(String localName, String qName, String namespaceURI, String value, Element ownerElement) Constructor.- Parameters:
localName
- local name fir this attribute.qName
- qualified name for this attribute.namespaceURI
- namespace URI for this attribute.value
- attribute's value.ownerElement
- the ownerElement
.
-
-
Method Details
-
getNodeType
- Specified by:
getNodeType
in interfaceNode
-
getName
-
getSpecified
- Specified by:
getSpecified
in interfaceAttr
-
getValue
-
getNodeValue
- Specified by:
getNodeValue
in interfaceNode
- Overrides:
getNodeValue
in classAbstractAmetysNode
- Throws:
DOMException
-
getOwnerElement
- Specified by:
getOwnerElement
in interfaceAttr
-
getNodeName
- Specified by:
getNodeName
in interfaceNode
-
getTextContent
- Specified by:
getTextContent
in interfaceNode
- Throws:
DOMException
-
getLocalName
- Specified by:
getLocalName
in interfaceNode
- Overrides:
getLocalName
in classAbstractAmetysNode
-
getNamespaceURI
- Specified by:
getNamespaceURI
in interfaceNode
- Overrides:
getNamespaceURI
in classAbstractAmetysNode
-
setValue
- Specified by:
setValue
in interfaceAttr
- Throws:
DOMException
-
getSchemaTypeInfo
- Specified by:
getSchemaTypeInfo
in interfaceAttr
-
isId
-