org.apache.crimson.tree
Class AttributeNode1

java.lang.Object
  extended byorg.apache.crimson.tree.NodeBase
      extended byorg.apache.crimson.tree.ParentNode
          extended byorg.apache.crimson.tree.NamespacedNode
              extended byorg.apache.crimson.tree.AttributeNode
                  extended byorg.apache.crimson.tree.AttributeNode1
All Implemented Interfaces:
org.w3c.dom.Attr, org.w3c.dom.Node, NodeEx, org.w3c.dom.NodeList, XmlWritable

public class AttributeNode1
extends AttributeNode

A DOM Attr that was created with a Level 1 create method.


Nested Class Summary
 
Nested classes inherited from class org.apache.crimson.tree.NamespacedNode
ParentNode.TagList, ParentNode.TagListNS
 
Field Summary
 
Fields inherited from class org.apache.crimson.tree.AttributeNode
 
Fields inherited from class org.apache.crimson.tree.NamespacedNode
namespaceURI, ownerDocument, qName, readonly
 
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
AttributeNode1(String name, String value, boolean specified, String defaultValue)
           
 
Method Summary
 String getLocalName()
          Returns the local part of the qualified name of this node.
 String getPrefix()
          The namespace prefix of this node, or null if it is unspecified.
(package private)  AttributeNode makeClone()
          Make a clone of this node and return it.
 
Methods inherited from class org.apache.crimson.tree.AttributeNode
checkArguments, checkChildType, cloneAttributeNode, cloneNode, getDefaultValue, getName, getNextSibling, getNodeType, getNodeValue, getOwnerElement, getParentNode, getPreviousSibling, getSpecified, getValue, setNodeValue, setOwnerElement, setSpecified, setValue, writeChildrenXml, writeXml
 
Methods inherited from class org.apache.crimson.tree.NamespacedNode
appendChild, getAttributes, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getIndexOf, getInheritedAttribute, getLanguage, getLastChild, getLength, getMessage, getMessage, getNamespaceURI, getNodeName, getOwnerDocument, getParentImpl, hasAttributes, hasChildNodes, insertBefore, isReadonly, isSupported, item, normalize, reduceWaste, removeChild, removeWhiteSpaces, replaceChild, setOwnerDocument, setParentNode, setPrefix, setReadonly, trimToSize
 
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, getAttributes, getChildNodes, getFirstChild, getLastChild, getNamespaceURI, getNodeName, getOwnerDocument, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setPrefix
 

Constructor Detail

AttributeNode1

public AttributeNode1(String name,
                      String value,
                      boolean specified,
                      String defaultValue)
Method Detail

makeClone

AttributeNode makeClone()
Make a clone of this node and return it. Used for cloneNode().

Overrides:
makeClone in class AttributeNode

getPrefix

public String getPrefix()
The namespace prefix of this node, or null if it is unspecified.

Specified by:
getPrefix in interface org.w3c.dom.Node
Overrides:
getPrefix in class NamespacedNode
Since:
DOM Level 2

getLocalName

public String getLocalName()
Returns the local part of the qualified name of this node.

Specified by:
getLocalName in interface org.w3c.dom.Node
Overrides:
getLocalName in class NamespacedNode
Since:
DOM Level 2