org.apache.xalan.templates
Class ElemLiteralResult.Attribute
java.lang.Object
org.apache.xalan.templates.ElemLiteralResult.Attribute
- All Implemented Interfaces:
- Attr, Node
- Enclosing class:
- ElemLiteralResult
- public class ElemLiteralResult.Attribute
- extends Object
- implements Attr
| 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 |
ElemLiteralResult.Attribute
public ElemLiteralResult.Attribute(AVT avt,
Element elem)
- Construct a Attr.
appendChild
public Node appendChild(Node newChild)
throws DOMException
- Specified by:
appendChild in interface Node
- Parameters:
newChild - New node to append to the list of this node's
children
- Throws:
DOMException- See Also:
Node
cloneNode
public Node cloneNode(boolean deep)
- Specified by:
cloneNode in interface Node
- Parameters:
deep - Flag indicating whether to clone deep
(clone member variables)
- Returns:
- Returns a duplicate of this node
- See Also:
Node
getAttributes
public NamedNodeMap getAttributes()
- Specified by:
getAttributes in interface Node
- Returns:
- null
- See Also:
Node
getChildNodes
public NodeList getChildNodes()
- Specified by:
getChildNodes in interface Node
- Returns:
- a NodeList containing no nodes.
- See Also:
Node
getFirstChild
public Node getFirstChild()
- Specified by:
getFirstChild in interface Node
- Returns:
- null
- See Also:
Node
getLastChild
public Node getLastChild()
- Specified by:
getLastChild in interface Node
- Returns:
- null
- See Also:
Node
getLocalName
public String getLocalName()
- Specified by:
getLocalName in interface Node
- Returns:
- the local part of the qualified name of this node
- See Also:
Node
getNamespaceURI
public String getNamespaceURI()
- Specified by:
getNamespaceURI in interface Node
- Returns:
- The namespace URI of this node, or null if it is
unspecified
- See Also:
Node
getNextSibling
public Node getNextSibling()
- Specified by:
getNextSibling in interface Node
- Returns:
- null
- See Also:
Node
getNodeName
public String getNodeName()
- Specified by:
getNodeName in interface Node
- Returns:
- The name of the attribute
- See Also:
Node
getNodeType
public short getNodeType()
- Specified by:
getNodeType in interface Node
- Returns:
- The node is an Attr
- See Also:
Node
getNodeValue
public String getNodeValue()
throws DOMException
- Specified by:
getNodeValue in interface Node
- Returns:
- The value of the attribute
- Throws:
DOMException- See Also:
Node
getOwnerDocument
public Document getOwnerDocument()
- Specified by:
getOwnerDocument in interface Node
- Returns:
- null
- See Also:
Node
getParentNode
public Node getParentNode()
- Specified by:
getParentNode in interface Node
- Returns:
- the containing element node
- See Also:
Node
getPrefix
public String getPrefix()
- Specified by:
getPrefix in interface Node
- Returns:
- The namespace prefix of this node, or null if it is
unspecified
- See Also:
Node
getPreviousSibling
public Node getPreviousSibling()
- Specified by:
getPreviousSibling in interface Node
- Returns:
- null
- See Also:
Node
hasAttributes
public boolean hasAttributes()
- Specified by:
hasAttributes in interface Node
- Returns:
- false
- See Also:
Node
hasChildNodes
public boolean hasChildNodes()
- Specified by:
hasChildNodes in interface Node
- Returns:
- false
- See Also:
Node
insertBefore
public Node insertBefore(Node newChild,
Node refChild)
throws DOMException
- Specified by:
insertBefore in interface Node
- Parameters:
newChild - New child node to insertrefChild - Insert in front of this child
- Returns:
- null
- Throws:
DOMException- See Also:
Node
isSupported
public boolean isSupported(String feature,
String version)
- Specified by:
isSupported in interface Node
- Returns:
- Returns
false - Since:
- DOM Level 2
- See Also:
Node
normalize
public void normalize()
- Specified by:
normalize in interface Node
- See Also:
Node
removeChild
public Node removeChild(Node oldChild)
throws DOMException
- Specified by:
removeChild in interface Node
- Parameters:
oldChild - Child to be removed
- Returns:
- null
- Throws:
DOMException- See Also:
Node
replaceChild
public Node replaceChild(Node newChild,
Node oldChild)
throws DOMException
- Specified by:
replaceChild in interface Node
- Parameters:
newChild - Replace existing child with this oneoldChild - Existing child to be replaced
- Returns:
- null
- Throws:
DOMException- See Also:
Node
setNodeValue
public void setNodeValue(String nodeValue)
throws DOMException
- Specified by:
setNodeValue in interface Node
- Parameters:
nodeValue - Value to set this node to
- Throws:
DOMException- See Also:
Node
setPrefix
public void setPrefix(String prefix)
throws DOMException
- Specified by:
setPrefix in interface Node
- Parameters:
prefix - Prefix to set for this node
- Throws:
DOMException- See Also:
Node
getName
public String getName()
- Specified by:
getName in interface Attr
- Returns:
- The name of this attribute
getValue
public String getValue()
- Specified by:
getValue in interface Attr
- Returns:
- The value of this attribute returned as string
getOwnerElement
public Element getOwnerElement()
- Specified by:
getOwnerElement in interface Attr
- Returns:
- The Element node this attribute is attached to
or null if this attribute is not in use
getSpecified
public boolean getSpecified()
- Specified by:
getSpecified in interface Attr
- Returns:
- true
setValue
public void setValue(String value)
throws DOMException
- Specified by:
setValue in interface Attr
- Parameters:
value - Value to set this node to
- Throws:
DOMException- See Also:
Attr
getSchemaTypeInfo
public TypeInfo getSchemaTypeInfo()
isId
public boolean isId()
setUserData
public Object setUserData(String key,
Object data,
UserDataHandler handler)
getUserData
public Object getUserData(String key)
getFeature
public Object getFeature(String feature,
String version)
isEqualNode
public boolean isEqualNode(Node arg)
lookupNamespaceURI
public String lookupNamespaceURI(String specifiedPrefix)
isDefaultNamespace
public boolean isDefaultNamespace(String namespaceURI)
lookupPrefix
public String lookupPrefix(String namespaceURI)
isSameNode
public boolean isSameNode(Node other)
setTextContent
public void setTextContent(String textContent)
throws DOMException
- Throws:
DOMException
getTextContent
public String getTextContent()
throws DOMException
- Throws:
DOMException
compareDocumentPosition
public short compareDocumentPosition(Node other)
throws DOMException
- Throws:
DOMException
getBaseURI
public String getBaseURI()
Copyright ? 2005 Apache XML Project. All Rights Reserved.