Package org.apache.xerces.impl.xs.opti
Class DefaultElement
java.lang.Object
org.apache.xerces.impl.xs.opti.DefaultNode
org.apache.xerces.impl.xs.opti.NodeImpl
org.apache.xerces.impl.xs.opti.DefaultElement
- Direct Known Subclasses:
ElementImpl
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Version:
- $Id: DefaultElement.java 699892 2008-09-28 21:08:27Z mrglavas $
- Author:
- Rahul Srivastava, Sun Microsystems Inc.
-
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
ConstructorsConstructorDescriptionDefaultElement
(String prefix, String localpart, String rawname, String uri, short nodeType) -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String name) getAttributeNode
(String name) getAttributeNodeNS
(String namespaceURI, String localName) getAttributeNS
(String namespaceURI, String localName) getElementsByTagName
(String name) getElementsByTagNameNS
(String namespaceURI, String localName) boolean
hasAttribute
(String name) boolean
hasAttributeNS
(String namespaceURI, String localName) void
removeAttribute
(String name) removeAttributeNode
(Attr oldAttr) void
removeAttributeNS
(String namespaceURI, String localName) void
setAttribute
(String name, String value) setAttributeNode
(Attr newAttr) setAttributeNodeNS
(Attr newAttr) void
setAttributeNS
(String namespaceURI, String qualifiedName, String value) void
setIdAttribute
(String name, boolean makeId) void
setIdAttributeNode
(Attr at, boolean makeId) void
setIdAttributeNS
(String namespaceURI, String localName, boolean makeId) Methods inherited from class org.apache.xerces.impl.xs.opti.NodeImpl
getLocalName, getNamespaceURI, getNodeName, getNodeType, getPrefix, getReadOnly, setReadOnly, toString
Methods inherited from class org.apache.xerces.impl.xs.opti.DefaultNode
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, 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, 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 Details
-
DefaultElement
public DefaultElement() -
DefaultElement
-
-
Method Details
-
getTagName
- Specified by:
getTagName
in interfaceElement
-
getAttribute
- Specified by:
getAttribute
in interfaceElement
-
getAttributeNode
- Specified by:
getAttributeNode
in interfaceElement
-
getElementsByTagName
- Specified by:
getElementsByTagName
in interfaceElement
-
getAttributeNS
- Specified by:
getAttributeNS
in interfaceElement
-
getAttributeNodeNS
- Specified by:
getAttributeNodeNS
in interfaceElement
-
getElementsByTagNameNS
- Specified by:
getElementsByTagNameNS
in interfaceElement
-
hasAttribute
- Specified by:
hasAttribute
in interfaceElement
-
hasAttributeNS
- Specified by:
hasAttributeNS
in interfaceElement
-
getSchemaTypeInfo
- Specified by:
getSchemaTypeInfo
in interfaceElement
-
setAttribute
- Specified by:
setAttribute
in interfaceElement
- Throws:
DOMException
-
removeAttribute
- Specified by:
removeAttribute
in interfaceElement
- Throws:
DOMException
-
removeAttributeNode
- Specified by:
removeAttributeNode
in interfaceElement
- Throws:
DOMException
-
setAttributeNode
- Specified by:
setAttributeNode
in interfaceElement
- Throws:
DOMException
-
setAttributeNS
public void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException - Specified by:
setAttributeNS
in interfaceElement
- Throws:
DOMException
-
removeAttributeNS
- Specified by:
removeAttributeNS
in interfaceElement
- Throws:
DOMException
-
setAttributeNodeNS
- Specified by:
setAttributeNodeNS
in interfaceElement
- Throws:
DOMException
-
setIdAttributeNode
- Specified by:
setIdAttributeNode
in interfaceElement
- Throws:
DOMException
-
setIdAttribute
- Specified by:
setIdAttribute
in interfaceElement
- Throws:
DOMException
-
setIdAttributeNS
public void setIdAttributeNS(String namespaceURI, String localName, boolean makeId) throws DOMException - Specified by:
setIdAttributeNS
in interfaceElement
- Throws:
DOMException
-