Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
public class ElementNSImpl
extends ElementImpl
Field Summary | |
protected String |
|
protected String |
|
Fields inherited from class org.apache.xerces.dom.ElementImpl | |
attributes , name |
Fields inherited from class org.apache.xerces.dom.ParentNode | |
fNodeListCache , firstChild , ownerDocument |
Fields inherited from class org.apache.xerces.dom.ChildNode | |
nextSibling , previousSibling |
Fields inherited from interface org.w3c.dom.Node | |
ATTRIBUTE_NODE , CDATA_SECTION_NODE , COMMENT_NODE , DOCUMENT_FRAGMENT_NODE , DOCUMENT_NODE , DOCUMENT_TYPE_NODE , ELEMENT_NODE , ENTITY_NODE , ENTITY_REFERENCE_NODE , NOTATION_NODE , PROCESSING_INSTRUCTION_NODE , TEXT_NODE |
Constructor Summary | |
| |
| |
|
Method Summary | |
String |
|
String |
|
String |
|
String |
|
String | |
String | |
boolean |
|
void |
|
void |
|
protected void |
|
Methods inherited from class org.apache.xerces.dom.ParentNode | |
cloneNode , getChildNodes , getChildNodesUnoptimized , getFirstChild , getLastChild , getLength , getOwnerDocument , getTextContent , hasChildNodes , insertBefore , isEqualNode , item , normalize , removeChild , replaceChild , setReadOnly , setTextContent , synchronizeChildren |
Methods inherited from class org.apache.xerces.dom.ChildNode | |
cloneNode , getNextSibling , getParentNode , getPreviousSibling |
protected String localName
DOM2: localName.
protected String namespaceURI
DOM2: Namespace URI.
protected ElementNSImpl()
protected ElementNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName) throws org.w3c.dom.DOMException
DOM2: Constructor for Namespace implementation.
protected ElementNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName, String localName) throws org.w3c.dom.DOMException
public String getBaseURI()
DOM Level 3 WD - Experimental. Retrieve baseURI
- Overrides:
- getBaseURI in interface ElementImpl
public String getLocalName()
Introduced in DOM Level 2. Returns the local part of the qualified name of this node.
- Specified by:
- getLocalName in interface org.w3c.dom.Node
- Overrides:
- getLocalName in interface NodeImpl
- Since:
- WD-DOM-Level-2-19990923
public String getNamespaceURI()
Introduced in DOM Level 2. The namespace URI of this node, or null if it is unspecified. This is not a computed value that is the result of a namespace lookup based on an examination of the namespace declarations in scope. It is merely the namespace URI given at creation time. For nodes created with a DOM Level 1 method, such as createElement from the Document interface, this is null.
- Specified by:
- getNamespaceURI in interface org.w3c.dom.Node
- Overrides:
- getNamespaceURI in interface NodeImpl
- Since:
- WD-DOM-Level-2-19990923
public String getPrefix()
Introduced in DOM Level 2. The namespace prefix of this node, or null if it is unspecified. For nodes created with a DOM Level 1 method, such as createElement from the Document interface, this is null.
- Specified by:
- getPrefix in interface org.w3c.dom.Node
- Overrides:
- getPrefix in interface NodeImpl
- Since:
- WD-DOM-Level-2-19990923
public String getTypeName()
- Overrides:
- getTypeName in interface ElementImpl
- See Also:
org.apache.xerces.dom3.TypeInfo.getTypeName()
public String getTypeNamespace()
- Overrides:
- getTypeNamespace in interface ElementImpl
- See Also:
org.apache.xerces.dom3.TypeInfo.getTypeNamespace()
public boolean isDerivedFrom(String typeNamespaceArg, String typeNameArg, int derivationMethod)
DOM Level 3 CR - Experimental
- Overrides:
- isDerivedFrom in interface ElementImpl
- See Also:
org.apache.xerces.dom3.TypeInfo.isDerivedFrom()
public void setPrefix(String prefix) throws org.w3c.dom.DOMException
Introduced in DOM Level 2. Note that setting this attribute changes the nodeName attribute, which holds the qualified name, as well as the tagName and name attributes of the Element and Attr interfaces, when applicable.
- Specified by:
- setPrefix in interface org.w3c.dom.Node
- Overrides:
- setPrefix in interface NodeImpl
- Parameters:
prefix
- The namespace prefix of this node, or null(empty string) if it is unspecified.
- Throws:
org.w3c.dom.DOMException
-
- Since:
- WD-DOM-Level-2-19990923
public void setType(org.apache.xerces.xs.XSTypeDefinition type)
NON-DOM: setting type used by the DOM parser
protected void setValues(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName, String localName)
NON-DOM: resets this node and sets specified values for the node
- Parameters:
ownerDocument
-namespaceURI
-qualifiedName
-localName
-