|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.icl.saxon.om.AbstractNode
com.icl.saxon.tree.NodeImpl
com.icl.saxon.tree.AttributeImpl
final class AttributeImpl
A node in the XML parse tree representing an attribute. Note that this is generated only "on demand", when the attribute is selected by a select pattern.
| Field Summary |
|---|
| Fields inherited from class com.icl.saxon.tree.NodeImpl |
|---|
emptyArray, index, parent |
| Fields inherited from class com.icl.saxon.om.AbstractNode |
|---|
NODE_LETTER |
| 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 |
| Fields inherited from interface com.icl.saxon.om.NodeInfo |
|---|
ATTRIBUTE, COMMENT, ELEMENT, NAMESPACE, NODE, NONE, NUMBER_OF_TYPES, PI, ROOT, TEXT |
| Constructor Summary | |
|---|---|
AttributeImpl(ElementImpl element,
int index)
Construct an Attribute node for the n'th attribute of a given element |
|
| Method Summary | |
|---|---|
void |
copy(Outputter out)
Copy this node to a given outputter |
java.lang.String |
generateId()
Get sequential key. |
int |
getNameCode()
Get the name code, which enables the name to be located in the name pool |
NodeImpl |
getNextInDocument(NodeImpl anchor)
Get the next node in document order (skipping attributes) |
org.w3c.dom.Node |
getNextSibling()
Get next sibling - not defined for attributes |
short |
getNodeType()
Return the type of node. |
NodeImpl |
getPreviousInDocument()
Get the previous node in document order (skipping attributes) |
org.w3c.dom.Node |
getPreviousSibling()
Get previous sibling - not defined for attributes |
protected long |
getSequenceNumber()
Get the node sequence number (in document order). |
java.lang.String |
getStringValue()
Return the character value of the node. |
boolean |
isSameNodeInfo(NodeInfo other)
Determine whether this is the same node as another node |
| Methods inherited from class com.icl.saxon.tree.NodeImpl |
|---|
compareOrder, getAttributes, getAttributeValue, getAttributeValue, getBaseURI, getChildNodes, getDisplayName, getDocumentElement, getDocumentRoot, getEnumeration, getFingerprint, getFirstChild, getLastChild, getLineNumber, getLocalName, getNamePool, getOriginatingNode, getParent, getPrefix, getSystemId, getURI, hasAttributes, hasChildNodes, outputNamespaceNodes, removeNode, setSystemId |
| 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.Attr |
|---|
getName, getOwnerElement, getSchemaTypeInfo, getSpecified, getValue, isId, setValue |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Constructor Detail |
|---|
public AttributeImpl(ElementImpl element,
int index)
element - The element containing the relevant attributeindex - The index position of the attribute starting at zero| Method Detail |
|---|
public int getNameCode()
getNameCode in interface NodeInfogetNameCode in class NodeImplallocate,
getFingerprintpublic boolean isSameNodeInfo(NodeInfo other)
isSameNodeInfo in interface NodeInfoisSameNodeInfo in class NodeImplprotected long getSequenceNumber()
getSequenceNumber in class NodeImplpublic final short getNodeType()
getNodeType in interface NodeInfogetNodeType in interface org.w3c.dom.Nodepublic java.lang.String getStringValue()
getStringValue in interface NodeInfopublic org.w3c.dom.Node getNextSibling()
getNextSibling in interface org.w3c.dom.NodegetNextSibling in class NodeImplpublic org.w3c.dom.Node getPreviousSibling()
getPreviousSibling in interface org.w3c.dom.NodegetPreviousSibling in class NodeImplpublic NodeImpl getPreviousInDocument()
getPreviousInDocument in class NodeImplpublic NodeImpl getNextInDocument(NodeImpl anchor)
getNextInDocument in class NodeImplpublic java.lang.String generateId()
generateId in interface NodeInfogenerateId in class NodeImpl
public void copy(Outputter out)
throws javax.xml.transform.TransformerException
copy in interface NodeInfojavax.xml.transform.TransformerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||