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
Constructors -
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, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getNodeTypein interfaceNode
-
getName
-
getSpecified
- Specified by:
getSpecifiedin interfaceAttr
-
getValue
-
getNodeValue
- Specified by:
getNodeValuein interfaceNode- Overrides:
getNodeValuein classAbstractAmetysNode- Throws:
DOMException
-
getOwnerElement
- Specified by:
getOwnerElementin interfaceAttr
-
getNodeName
- Specified by:
getNodeNamein interfaceNode
-
getTextContent
- Specified by:
getTextContentin interfaceNode- Throws:
DOMException
-
getLocalName
- Specified by:
getLocalNamein interfaceNode- Overrides:
getLocalNamein classAbstractAmetysNode
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNode- Overrides:
getNamespaceURIin classAbstractAmetysNode
-
setValue
- Specified by:
setValuein interfaceAttr- Throws:
DOMException
-
getSchemaTypeInfo
- Specified by:
getSchemaTypeInfoin interfaceAttr
-
isId
-