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) shortcompareDocumentPosition(Node other) getFeature(String feature, String version) getName()shortbooleangetUserData(String key) getValue()booleanbooleaninsertBefore(Node newChild, Node refChild) booleanisDefaultNamespace(String namespaceURI) booleanisEqualNode(Node arg) booleanisId()booleanisSameNode(Node other) booleanisSupported(String feature, String version) lookupNamespaceURI(String specifiedPrefix) lookupPrefix(String namespaceURI) voidremoveChild(Node oldChild) replaceChild(Node newChild, Node oldChild) voidsetNodeValue(String nodeValue) voidvoidsetTextContent(String textContent) setUserData(String key, Object data, UserDataHandler handler) void
-
Constructor Details
-
Attribute
Construct a Attr.
-
-
Method Details
-
appendChild
- Specified by:
appendChildin interfaceNode- Parameters:
newChild- New node to append to the list of this node's children- Throws:
DOMException- See Also:
-
cloneNode
-
getAttributes
- Specified by:
getAttributesin interfaceNode- Returns:
- null
- See Also:
-
getChildNodes
- Specified by:
getChildNodesin interfaceNode- Returns:
- a NodeList containing no nodes.
- See Also:
-
getFirstChild
- Specified by:
getFirstChildin interfaceNode- Returns:
- null
- See Also:
-
getLastChild
- Specified by:
getLastChildin interfaceNode- Returns:
- null
- See Also:
-
getLocalName
- Specified by:
getLocalNamein interfaceNode- Returns:
- the local part of the qualified name of this node
- See Also:
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNode- Returns:
- The namespace URI of this node, or null if it is unspecified
- See Also:
-
getNextSibling
- Specified by:
getNextSiblingin interfaceNode- Returns:
- null
- See Also:
-
getNodeName
- Specified by:
getNodeNamein interfaceNode- Returns:
- The name of the attribute
- See Also:
-
getNodeType
public short getNodeType()- Specified by:
getNodeTypein interfaceNode- Returns:
- The node is an Attr
- See Also:
-
getNodeValue
- Specified by:
getNodeValuein interfaceNode- Returns:
- The value of the attribute
- Throws:
DOMException- See Also:
-
getOwnerDocument
- Specified by:
getOwnerDocumentin interfaceNode- Returns:
- null
- See Also:
-
getParentNode
- Specified by:
getParentNodein interfaceNode- Returns:
- the containing element node
- See Also:
-
getPrefix
-
getPreviousSibling
- Specified by:
getPreviousSiblingin interfaceNode- Returns:
- null
- See Also:
-
hasAttributes
public boolean hasAttributes()- Specified by:
hasAttributesin interfaceNode- Returns:
- false
- See Also:
-
hasChildNodes
public boolean hasChildNodes()- Specified by:
hasChildNodesin interfaceNode- Returns:
- false
- See Also:
-
insertBefore
- Specified by:
insertBeforein interfaceNode- Parameters:
newChild- New child node to insertrefChild- Insert in front of this child- Returns:
- null
- Throws:
DOMException- See Also:
-
isSupported
- Specified by:
isSupportedin interfaceNode- Returns:
- Returns
false - Since:
- DOM Level 2
- See Also:
-
normalize
public void normalize() -
removeChild
- Specified by:
removeChildin interfaceNode- Parameters:
oldChild- Child to be removed- Returns:
- null
- Throws:
DOMException- See Also:
-
replaceChild
- Specified by:
replaceChildin interfaceNode- Parameters:
newChild- Replace existing child with this oneoldChild- Existing child to be replaced- Returns:
- null
- Throws:
DOMException- See Also:
-
setNodeValue
- Specified by:
setNodeValuein interfaceNode- Parameters:
nodeValue- Value to set this node to- Throws:
DOMException- See Also:
-
setPrefix
- Specified by:
setPrefixin interfaceNode- Parameters:
prefix- Prefix to set for this node- Throws:
DOMException- See Also:
-
getName
-
getValue
-
getOwnerElement
- Specified by:
getOwnerElementin 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:
getSpecifiedin interfaceAttr- Returns:
- true
-
setValue
- Specified by:
setValuein interfaceAttr- Parameters:
value- Value to set this node to- Throws:
DOMException- See Also:
-
getSchemaTypeInfo
- Specified by:
getSchemaTypeInfoin interfaceAttr
-
isId
public boolean isId() -
setUserData
- Specified by:
setUserDatain interfaceNode
-
getUserData
- Specified by:
getUserDatain interfaceNode
-
getFeature
- Specified by:
getFeaturein interfaceNode
-
isEqualNode
- Specified by:
isEqualNodein interfaceNode
-
lookupNamespaceURI
- Specified by:
lookupNamespaceURIin interfaceNode
-
isDefaultNamespace
- Specified by:
isDefaultNamespacein interfaceNode
-
lookupPrefix
- Specified by:
lookupPrefixin interfaceNode
-
isSameNode
- Specified by:
isSameNodein interfaceNode
-
setTextContent
- Specified by:
setTextContentin interfaceNode- Throws:
DOMException
-
getTextContent
- Specified by:
getTextContentin interfaceNode- Throws:
DOMException
-
compareDocumentPosition
- Specified by:
compareDocumentPositionin interfaceNode- Throws:
DOMException
-
getBaseURI
- Specified by:
getBaseURIin interfaceNode
-