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 |
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 DOMException
DOM2: Constructor for Namespace implementation.
protected ElementNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName, String localName) throws 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.
- 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.
- 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.
- Since:
- WD-DOM-Level-2-19990923
public String getTypeName()
- Overrides:
- getTypeName in interface ElementImpl
- See Also:
org.w3c.dom.TypeInfo.getTypeName()
public String getTypeNamespace()
- Overrides:
- getTypeNamespace in interface ElementImpl
- See Also:
org.w3c.dom.TypeInfo.getTypeNamespace()
public boolean isDerivedFrom(String typeNamespaceArg, String typeNameArg, int derivationMethod)
Introduced in DOM Level 2. Checks if a type is derived from another by restriction. See: http://www.w3.org/TR/DOM-Level-3-Core/core.html#TypeInfo-isDerivedFrom
- Overrides:
- isDerivedFrom in interface ElementImpl
- Parameters:
- Returns:
- boolean True if the type is derived by restriciton for the reference type
public void setPrefix(String prefix) throws 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.
- Parameters:
prefix
- The namespace prefix of this node, or null(empty string) if it is unspecified.
- 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
-