Package org.apache.xalan.templates
Class ElemLiteralResult.Attribute
java.lang.Object
org.apache.xalan.templates.ElemLiteralResult.Attribute
- Enclosing class:
ElemLiteralResult
-
Field Summary
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendChild
(Node newChild) cloneNode
(boolean deep) short
compareDocumentPosition
(Node other) getFeature
(String feature, String version) getName()
short
boolean
getUserData
(String key) getValue()
boolean
boolean
insertBefore
(Node newChild, Node refChild) boolean
isDefaultNamespace
(String namespaceURI) boolean
isEqualNode
(Node arg) boolean
isId()
boolean
isSameNode
(Node other) boolean
isSupported
(String feature, String version) lookupNamespaceURI
(String specifiedPrefix) lookupPrefix
(String namespaceURI) void
removeChild
(Node oldChild) replaceChild
(Node newChild, Node oldChild) void
setNodeValue
(String nodeValue) void
void
setTextContent
(String textContent) setUserData
(String key, Object data, UserDataHandler handler) void
-
Constructor Details
-
Attribute
Construct a Attr.
-
-
Method Details
-
appendChild
- Specified by:
appendChild
in interfaceNode
- Parameters:
newChild
- New node to append to the list of this node's children- Throws:
DOMException
- See Also:
-
cloneNode
-
getAttributes
- Specified by:
getAttributes
in interfaceNode
- Returns:
- null
- See Also:
-
getChildNodes
- Specified by:
getChildNodes
in interfaceNode
- Returns:
- a NodeList containing no nodes.
- See Also:
-
getFirstChild
- Specified by:
getFirstChild
in interfaceNode
- Returns:
- null
- See Also:
-
getLastChild
- Specified by:
getLastChild
in interfaceNode
- Returns:
- null
- See Also:
-
getLocalName
- Specified by:
getLocalName
in interfaceNode
- Returns:
- the local part of the qualified name of this node
- See Also:
-
getNamespaceURI
- Specified by:
getNamespaceURI
in interfaceNode
- Returns:
- The namespace URI of this node, or null if it is unspecified
- See Also:
-
getNextSibling
- Specified by:
getNextSibling
in interfaceNode
- Returns:
- null
- See Also:
-
getNodeName
- Specified by:
getNodeName
in interfaceNode
- Returns:
- The name of the attribute
- See Also:
-
getNodeType
public short getNodeType()- Specified by:
getNodeType
in interfaceNode
- Returns:
- The node is an Attr
- See Also:
-
getNodeValue
- Specified by:
getNodeValue
in interfaceNode
- Returns:
- The value of the attribute
- Throws:
DOMException
- See Also:
-
getOwnerDocument
- Specified by:
getOwnerDocument
in interfaceNode
- Returns:
- null
- See Also:
-
getParentNode
- Specified by:
getParentNode
in interfaceNode
- Returns:
- the containing element node
- See Also:
-
getPrefix
-
getPreviousSibling
- Specified by:
getPreviousSibling
in interfaceNode
- Returns:
- null
- See Also:
-
hasAttributes
public boolean hasAttributes()- Specified by:
hasAttributes
in interfaceNode
- Returns:
- false
- See Also:
-
hasChildNodes
public boolean hasChildNodes()- Specified by:
hasChildNodes
in interfaceNode
- Returns:
- false
- See Also:
-
insertBefore
- Specified by:
insertBefore
in interfaceNode
- Parameters:
newChild
- New child node to insertrefChild
- Insert in front of this child- Returns:
- null
- Throws:
DOMException
- See Also:
-
isSupported
- Specified by:
isSupported
in interfaceNode
- Returns:
- Returns
false
- Since:
- DOM Level 2
- See Also:
-
normalize
public void normalize() -
removeChild
- Specified by:
removeChild
in interfaceNode
- Parameters:
oldChild
- Child to be removed- Returns:
- null
- Throws:
DOMException
- See Also:
-
replaceChild
- Specified by:
replaceChild
in interfaceNode
- Parameters:
newChild
- Replace existing child with this oneoldChild
- Existing child to be replaced- Returns:
- null
- Throws:
DOMException
- See Also:
-
setNodeValue
- Specified by:
setNodeValue
in interfaceNode
- Parameters:
nodeValue
- Value to set this node to- Throws:
DOMException
- See Also:
-
setPrefix
- Specified by:
setPrefix
in interfaceNode
- Parameters:
prefix
- Prefix to set for this node- Throws:
DOMException
- See Also:
-
getName
-
getValue
-
getOwnerElement
- Specified by:
getOwnerElement
in interfaceAttr
- 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 interfaceAttr
- Returns:
- true
-
setValue
- Specified by:
setValue
in interfaceAttr
- Parameters:
value
- Value to set this node to- Throws:
DOMException
- See Also:
-
getSchemaTypeInfo
- Specified by:
getSchemaTypeInfo
in interfaceAttr
-
isId
public boolean isId() -
setUserData
- Specified by:
setUserData
in interfaceNode
-
getUserData
- Specified by:
getUserData
in interfaceNode
-
getFeature
- Specified by:
getFeature
in interfaceNode
-
isEqualNode
- Specified by:
isEqualNode
in interfaceNode
-
lookupNamespaceURI
- Specified by:
lookupNamespaceURI
in interfaceNode
-
isDefaultNamespace
- Specified by:
isDefaultNamespace
in interfaceNode
-
lookupPrefix
- Specified by:
lookupPrefix
in interfaceNode
-
isSameNode
- Specified by:
isSameNode
in interfaceNode
-
setTextContent
- Specified by:
setTextContent
in interfaceNode
- Throws:
DOMException
-
getTextContent
- Specified by:
getTextContent
in interfaceNode
- Throws:
DOMException
-
compareDocumentPosition
- Specified by:
compareDocumentPosition
in interfaceNode
- Throws:
DOMException
-
getBaseURI
- Specified by:
getBaseURI
in interfaceNode
-