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.AttrImpl
org.apache.xerces.dom.AttrNSImpl
public class AttrNSImpl
extends AttrImpl
Field Summary | |
protected String |
|
protected String |
|
Fields inherited from interface org.w3c.dom.TypeInfo | |
DERIVATION_EXTENSION , DERIVATION_LIST , DERIVATION_RESTRICTION , DERIVATION_UNION |
Constructor Summary | |
| |
| |
|
Method Summary | |
String |
|
String |
|
String |
|
String | |
String | |
boolean |
|
void |
|
void |
|
Methods inherited from class org.apache.xerces.dom.AttrImpl | |
cloneNode , getChildNodes , getElement , getFirstChild , getLastChild , getLength , getName , getNodeName , getNodeType , getNodeValue , getOwnerElement , getSchemaTypeInfo , getSpecified , getTypeName , getTypeNamespace , getValue , hasChildNodes , insertBefore , isDerivedFrom , isEqualNode , isId , item , makeChildNode , normalize , removeChild , replaceChild , setIdAttribute , setNodeValue , setOwnerDocument , setReadOnly , setSpecified , setType , setValue , synchronizeChildren , toString |
protected String localName
DOM2: localName.
protected String namespaceURI
DOM2: Namespace URI.
public AttrNSImpl()
protected AttrNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName)
DOM2: Constructor for Namespace implementation.
public AttrNSImpl(CoreDocumentImpl ownerDocument, String namespaceURI, String qualifiedName, String localName)
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
- Since:
- WD-DOM-Level-2-19990923
public String getTypeName()
- Specified by:
- getTypeName in interface org.w3c.dom.TypeInfo
- Overrides:
- getTypeName in interface AttrImpl
- See Also:
org.w3c.dom.TypeInfo.getTypeName()
public String getTypeNamespace()
- Specified by:
- getTypeNamespace in interface org.w3c.dom.TypeInfo
- Overrides:
- getTypeNamespace in interface AttrImpl
- See Also:
org.w3c.dom.TypeInfo.getTypeNamespace()
public boolean isDerivedFrom(String typeNamespaceArg, String typeNameArg, int derivationMethod)
Introduced in DOM Level 3. Checks if a type is derived from another by restriction. See: http://www.w3.org/TR/DOM-Level-3-Core/core.html#TypeInfo-isDerivedFrom
- Specified by:
- isDerivedFrom in interface org.w3c.dom.TypeInfo
- Overrides:
- isDerivedFrom in interface AttrImpl
- Parameters:
- Returns:
- boolean True if the type is derived by restriciton for the reference type
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
- 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 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
-