Package uk.ac.starlink.votable.dom
Class DelegatingAttr
- java.lang.Object
-
- uk.ac.starlink.votable.dom.DelegatingNode
-
- uk.ac.starlink.votable.dom.DelegatingAttr
-
- All Implemented Interfaces:
org.w3c.dom.Attr,org.w3c.dom.Node
public class DelegatingAttr extends DelegatingNode implements org.w3c.dom.Attr
-
-
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 Modifier Constructor Description protectedDelegatingAttr(org.w3c.dom.Attr base, DelegatingDocument doc)Constructor.protectedDelegatingAttr(org.w3c.dom.Attr base, DelegatingDocument doc, boolean isId)Constructs a DelegatingAttr with information about whether it is an ID-type attribute or not.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()org.w3c.dom.ElementgetOwnerElement()org.w3c.dom.TypeInfogetSchemaTypeInfo()booleangetSpecified()java.lang.StringgetValue()booleanisId()voidsetValue(java.lang.String value)-
Methods inherited from class uk.ac.starlink.votable.dom.DelegatingNode
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, 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, 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, setUserData
-
-
-
-
Constructor Detail
-
DelegatingAttr
protected DelegatingAttr(org.w3c.dom.Attr base, DelegatingDocument doc)Constructor.- Parameters:
base- base nodedoc- owner document
-
DelegatingAttr
protected DelegatingAttr(org.w3c.dom.Attr base, DelegatingDocument doc, boolean isId)Constructs a DelegatingAttr with information about whether it is an ID-type attribute or not. This information is only used at DOM Level 3 (J2SE1.5), when it is used as the result of theisId()method.- Parameters:
base- base nodedoc- owner documentisId- whether it will be an ID type attribute
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceorg.w3c.dom.Attr
-
getSpecified
public boolean getSpecified()
- Specified by:
getSpecifiedin interfaceorg.w3c.dom.Attr
-
getValue
public java.lang.String getValue()
- Specified by:
getValuein interfaceorg.w3c.dom.Attr
-
setValue
public void setValue(java.lang.String value)
- Specified by:
setValuein interfaceorg.w3c.dom.Attr
-
getOwnerElement
public org.w3c.dom.Element getOwnerElement()
- Specified by:
getOwnerElementin interfaceorg.w3c.dom.Attr
-
getSchemaTypeInfo
public org.w3c.dom.TypeInfo getSchemaTypeInfo()
- Specified by:
getSchemaTypeInfoin interfaceorg.w3c.dom.Attr
-
isId
public boolean isId()
- Specified by:
isIdin interfaceorg.w3c.dom.Attr
-
-