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 |
|---|
AttrImpl()
Default Constructor
|
AttrImpl(Element element,
String prefix,
String localpart,
String rawname,
String uri,
String value)
Constructs an attribute.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
getNodeValue() |
Document |
getOwnerDocument() |
Element |
getOwnerElement() |
TypeInfo |
getSchemaTypeInfo()
Method getSchemaTypeInfo.
|
boolean |
getSpecified() |
String |
getValue() |
boolean |
isId() |
void |
setValue(String value) |
String |
toString()
NON-DOM method for debugging convenience
|
getLocalName, getNamespaceURI, getNodeName, getNodeType, getPrefix, getReadOnly, setReadOnlyappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getParentNode, 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, wait, wait, waitappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic AttrImpl()
public AttrImpl(Element element, String prefix, String localpart, String rawname, String uri, String value)
element - Element which owns this attributeprefix - The QName prefix.localpart - The QName localpart.rawname - The QName rawname.uri - The uri binding for the associated prefix.value - The value of the attribute.public boolean getSpecified()
getSpecified in interface Attrpublic String getNodeValue()
getNodeValue in interface NodegetNodeValue in class DefaultNodepublic Element getOwnerElement()
getOwnerElement in interface Attrpublic Document getOwnerDocument()
getOwnerDocument in interface NodegetOwnerDocument in class DefaultNodepublic void setValue(String value) throws DOMException
setValue in interface AttrDOMExceptionpublic TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface AttrCopyright © 2018 JBoss by Red Hat. All rights reserved.