public class DelegatingAttr extends DelegatingNode implements Attr
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| Modifier | Constructor and Description |
|---|---|
protected |
DelegatingAttr(Attr base,
DelegatingDocument doc)
Constructor.
|
protected |
DelegatingAttr(Attr base,
DelegatingDocument doc,
boolean isId)
Constructs a DelegatingAttr with information about whether it is
an ID-type attribute or not.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
Element |
getOwnerElement() |
TypeInfo |
getSchemaTypeInfo() |
boolean |
getSpecified() |
String |
getValue() |
boolean |
isId() |
void |
setValue(String value) |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, 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, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataprotected DelegatingAttr(Attr base, DelegatingDocument doc)
base - base nodedoc - owner documentprotected DelegatingAttr(Attr base, DelegatingDocument doc, boolean isId)
isId() method.base - base nodedoc - owner documentisId - whether it will be an ID type attributepublic boolean getSpecified()
getSpecified in interface Attrpublic Element getOwnerElement()
getOwnerElement in interface Attrpublic TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface AttrCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.