|
|||||||||
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 NodeInfo
getParent
in class TinyNodeImpl
protected long getSequenceNumber()
getSequenceNumber
in class TinyNodeImpl
public final int getNodeKind()
getNodeKind
in interface NodeInfo
Type
public String getStringValue()
getStringValue
in interface Item
getStringValue
in interface NodeInfo
getStringValue
in class AbstractNode
public int getFingerprint()
getFingerprint
in interface NodeInfo
getFingerprint
in class TinyNodeImpl
public int getNameCode()
getNameCode
in interface NodeInfo
getNameCode
in class TinyNodeImpl
allocate
,
getFingerprint
public String getPrefix()
getPrefix
in interface Node
getPrefix
in class TinyNodeImpl
public String getDisplayName()
getDisplayName
in interface NodeInfo
getDisplayName
in class TinyNodeImpl
public String getLocalPart()
getLocalPart
in interface NodeInfo
getLocalPart
in class TinyNodeImpl
public final String getURI()
getURI
in interface NodeInfo
getURI
in class TinyNodeImpl
public int getTypeAnnotation()
getTypeAnnotation
in interface NodeInfo
getTypeAnnotation
in class AbstractNode
Type
public String generateId()
generateId
in interface NodeInfo
generateId
in class TinyNodeImpl
public void copy(Receiver out, int whichNamespaces, boolean copyAnnotations) throws TransformerException
copy
in interface NodeInfo
out
- 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
TransformerException
public int getLineNumber()
getLineNumber
in interface SourceLocator
getLineNumber
in interface NodeInfo
getLineNumber
in class TinyNodeImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |