|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.om.AbstractNode
net.sf.saxon.tinytree.TinyNodeImpl
net.sf.saxon.tinytree.TinyAttributeImpl
final class TinyAttributeImpl
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 net.sf.saxon.tinytree.TinyNodeImpl |
|---|
document, nodeNr, parent |
| Fields inherited from class net.sf.saxon.om.AbstractNode |
|---|
NODE_LETTER |
| Fields inherited from interface net.sf.saxon.om.NodeInfo |
|---|
ALL_NAMESPACES, LOCAL_NAMESPACES, NO_NAMESPACES |
| Constructor Summary | |
|---|---|
TinyAttributeImpl(TinyDocumentImpl doc,
int nodeNr)
|
|
| Method Summary | |
|---|---|
void |
copy(Receiver out,
int whichNamespaces,
boolean copyAnnotations)
Copy this node to a given outputter |
String |
generateId()
Generate id. |
String |
getDisplayName()
Get the display name of this node. |
int |
getFingerprint()
Get the fingerprint of the node, used for matching names |
int |
getLineNumber()
Get the line number of the node within its source document entity |
String |
getLocalPart()
Get the local name of this node. |
int |
getNameCode()
Get the name code of the node, used for finding names in the name pool |
int |
getNodeKind()
Return the type of node. |
NodeInfo |
getParent()
Get the parent node |
String |
getPrefix()
Get the prefix part of the name of this node. |
protected long |
getSequenceNumber()
Get the node sequence number (in document order). |
String |
getStringValue()
Return the character value of the node. |
int |
getTypeAnnotation()
Get the type annotation of this node, if any Returns 0 if there is no type annotation |
String |
getURI()
Get the URI part of the name of this node. |
| Methods inherited from class net.sf.saxon.tinytree.TinyNodeImpl |
|---|
compareOrder, getAttributeValue, getBaseURI, getDocumentNumber, getDocumentRoot, getNamePool, getOriginatingNode, getRoot, getSystemId, hasAttributes, hasChildNodes, isSameNode, iterateAxis, iterateAxis, outputNamespaceNodes, setParentNode, 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, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Constructor Detail |
|---|
public TinyAttributeImpl(TinyDocumentImpl doc,
int nodeNr)
| Method Detail |
|---|
public NodeInfo getParent()
getParent in interface NodeInfogetParent in class TinyNodeImplprotected long getSequenceNumber()
getSequenceNumber in class TinyNodeImplpublic final int getNodeKind()
getNodeKind in interface NodeInfoTypepublic String getStringValue()
getStringValue in interface ItemgetStringValue in interface NodeInfogetStringValue in class AbstractNodepublic int getFingerprint()
getFingerprint in interface NodeInfogetFingerprint in class TinyNodeImplpublic int getNameCode()
getNameCode in interface NodeInfogetNameCode in class TinyNodeImplallocate,
getFingerprintpublic String getPrefix()
getPrefix in interface NodegetPrefix in class TinyNodeImplpublic String getDisplayName()
getDisplayName in interface NodeInfogetDisplayName in class TinyNodeImplpublic String getLocalPart()
getLocalPart in interface NodeInfogetLocalPart in class TinyNodeImplpublic final String getURI()
getURI in interface NodeInfogetURI in class TinyNodeImplpublic int getTypeAnnotation()
getTypeAnnotation in interface NodeInfogetTypeAnnotation in class AbstractNodeTypepublic String generateId()
generateId in interface NodeInfogenerateId in class TinyNodeImpl
public void copy(Receiver out,
int whichNamespaces,
boolean copyAnnotations)
throws TransformerException
copy in interface NodeInfoout - the Receiver to which the node should be copiedwhichNamespaces - in the case of an element, controls
which namespace nodes should be copied. Values are NO_NAMESPACES,
LOCAL_NAMESPACES, ALL_NAMESPACEScopyAnnotations - indicates whether the type annotations
of element and attribute nodes should be copied
TransformerExceptionpublic int getLineNumber()
getLineNumber in interface SourceLocatorgetLineNumber in interface NodeInfogetLineNumber in class TinyNodeImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||