org.apache.xalan.templates

Class ElemLiteralResult.Attribute

public class ElemLiteralResult.Attribute extends Object implements Attr

Constructor Summary
Attribute(AVT avt, Element elem)
Construct a Attr.
Method Summary
NodeappendChild(Node newChild)
NodecloneNode(boolean deep)
shortcompareDocumentPosition(Node other)
NamedNodeMapgetAttributes()
StringgetBaseURI()
NodeListgetChildNodes()
ObjectgetFeature(String feature, String version)
NodegetFirstChild()
NodegetLastChild()
StringgetLocalName()
StringgetName()
StringgetNamespaceURI()
NodegetNextSibling()
StringgetNodeName()
shortgetNodeType()
StringgetNodeValue()
DocumentgetOwnerDocument()
ElementgetOwnerElement()
NodegetParentNode()
StringgetPrefix()
NodegetPreviousSibling()
TypeInfogetSchemaTypeInfo()
booleangetSpecified()
StringgetTextContent()
ObjectgetUserData(String key)
StringgetValue()
booleanhasAttributes()
booleanhasChildNodes()
NodeinsertBefore(Node newChild, Node refChild)
booleanisDefaultNamespace(String namespaceURI)
booleanisEqualNode(Node arg)
booleanisId()
booleanisSameNode(Node other)
booleanisSupported(String feature, String version)
StringlookupNamespaceURI(String specifiedPrefix)
StringlookupPrefix(String namespaceURI)
voidnormalize()
NoderemoveChild(Node oldChild)
NodereplaceChild(Node newChild, Node oldChild)
voidsetNodeValue(String nodeValue)
voidsetPrefix(String prefix)
voidsetTextContent(String textContent)
ObjectsetUserData(String key, Object data, UserDataHandler handler)
voidsetValue(String value)

Constructor Detail

Attribute

public Attribute(AVT avt, Element elem)
Construct a Attr.

Method Detail

appendChild

public Node appendChild(Node newChild)

Parameters: newChild New node to append to the list of this node's children

Throws: DOMException

See Also: org.w3c.dom.Node

cloneNode

public Node cloneNode(boolean deep)

Parameters: deep Flag indicating whether to clone deep (clone member variables)

Returns: Returns a duplicate of this node

See Also: org.w3c.dom.Node

compareDocumentPosition

public short compareDocumentPosition(Node other)

getAttributes

public NamedNodeMap getAttributes()

Returns: null

See Also: org.w3c.dom.Node

getBaseURI

public String getBaseURI()

getChildNodes

public NodeList getChildNodes()

Returns: a NodeList containing no nodes.

See Also: org.w3c.dom.Node

getFeature

public Object getFeature(String feature, String version)

getFirstChild

public Node getFirstChild()

Returns: null

See Also: org.w3c.dom.Node

getLastChild

public Node getLastChild()

Returns: null

See Also: org.w3c.dom.Node

getLocalName

public String getLocalName()

Returns: the local part of the qualified name of this node

See Also: org.w3c.dom.Node

getName

public String getName()

Returns: The name of this attribute

getNamespaceURI

public String getNamespaceURI()

Returns: The namespace URI of this node, or null if it is unspecified

See Also: org.w3c.dom.Node

getNextSibling

public Node getNextSibling()

Returns: null

See Also: org.w3c.dom.Node

getNodeName

public String getNodeName()

Returns: The name of the attribute

See Also: org.w3c.dom.Node

getNodeType

public short getNodeType()

Returns: The node is an Attr

See Also: org.w3c.dom.Node

getNodeValue

public String getNodeValue()

Returns: The value of the attribute

Throws: DOMException

See Also: org.w3c.dom.Node

getOwnerDocument

public Document getOwnerDocument()

Returns: null

See Also: org.w3c.dom.Node

getOwnerElement

public Element getOwnerElement()

Returns: The Element node this attribute is attached to or null if this attribute is not in use

getParentNode

public Node getParentNode()

Returns: the containing element node

See Also: org.w3c.dom.Node

getPrefix

public String getPrefix()

Returns: The namespace prefix of this node, or null if it is unspecified

See Also: org.w3c.dom.Node

getPreviousSibling

public Node getPreviousSibling()

Returns: null

See Also: org.w3c.dom.Node

getSchemaTypeInfo

public TypeInfo getSchemaTypeInfo()

getSpecified

public boolean getSpecified()

Returns: true

getTextContent

public String getTextContent()

getUserData

public Object getUserData(String key)

getValue

public String getValue()

Returns: The value of this attribute returned as string

hasAttributes

public boolean hasAttributes()

Returns: false

See Also: org.w3c.dom.Node

hasChildNodes

public boolean hasChildNodes()

Returns: false

See Also: org.w3c.dom.Node

insertBefore

public Node insertBefore(Node newChild, Node refChild)

Parameters: newChild New child node to insert refChild Insert in front of this child

Returns: null

Throws: DOMException

See Also: org.w3c.dom.Node

isDefaultNamespace

public boolean isDefaultNamespace(String namespaceURI)

isEqualNode

public boolean isEqualNode(Node arg)

isId

public boolean isId()

isSameNode

public boolean isSameNode(Node other)

isSupported

public boolean isSupported(String feature, String version)

Returns: Returns false

Since: DOM Level 2

See Also: org.w3c.dom.Node

lookupNamespaceURI

public String lookupNamespaceURI(String specifiedPrefix)

lookupPrefix

public String lookupPrefix(String namespaceURI)

normalize

public void normalize()

See Also: org.w3c.dom.Node

removeChild

public Node removeChild(Node oldChild)

Parameters: oldChild Child to be removed

Returns: null

Throws: DOMException

See Also: org.w3c.dom.Node

replaceChild

public Node replaceChild(Node newChild, Node oldChild)

Parameters: newChild Replace existing child with this one oldChild Existing child to be replaced

Returns: null

Throws: DOMException

See Also: org.w3c.dom.Node

setNodeValue

public void setNodeValue(String nodeValue)

Parameters: nodeValue Value to set this node to

Throws: DOMException

See Also: org.w3c.dom.Node

setPrefix

public void setPrefix(String prefix)

Parameters: prefix Prefix to set for this node

Throws: DOMException

See Also: org.w3c.dom.Node

setTextContent

public void setTextContent(String textContent)

setUserData

public Object setUserData(String key, Object data, UserDataHandler handler)

setValue

public void setValue(String value)

Parameters: value Value to set this node to

Throws: DOMException

See Also: org.w3c.dom.Attr

Copyright © 2005 Apache XML Project. All Rights Reserved.