|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectNodeImpl
ProxyAttributeImpl
class ProxyAttributeImpl
Represents an attribute node from a persistent XML document. Used by
ProxyElement to implement lazy attribute loading.
| Field Summary | |
|---|---|
(package private) ProxyElement |
element
|
(package private) int |
index
|
| Fields inherited from class NodeImpl |
|---|
document, nameCode, nextSibNum, NODE_LETTER, nodeNum, parentNum, prevSibNum |
| Fields inherited from interface NodeInfo |
|---|
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES |
| Fields inherited from interface ValueRepresentation |
|---|
EMPTY_VALUE_ARRAY |
| Constructor Summary | |
|---|---|
ProxyAttributeImpl(ProxyElement element,
int index)
Construct an Attribute node for the n'th attribute of a given element |
|
| Method Summary | |
|---|---|
void |
copy(Receiver out,
int whichNamespaces,
boolean copyAnnotations,
int locationId)
Copy this node to a given outputter |
void |
generateId(FastStringBuffer buffer)
Get sequential key. |
String |
getDisplayName()
Obtain the displayable name of this attribute. |
DocumentInfo |
getDocumentRoot()
Get the root (document) node |
int |
getNameCode()
Get the name code, which enables the name to be located in the name pool |
NamePool |
getNamePool()
Get the NamePool for the tree containing this node |
NodeInfo |
getNextSibling()
Get next sibling - not defined for attributes |
int |
getNodeKind()
Return the type of node. |
NodeImpl |
getPreviousInDocument()
Get the previous node in document order (skipping attributes) |
NodeInfo |
getPreviousSibling()
Get previous sibling - not defined for attributes |
NodeInfo |
getRoot()
Get the root node of the tree (not necessarily a document node) |
protected long |
getSequenceNumber()
Get the node sequence number (in document order). |
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 Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
ProxyElement element
int index
| Constructor Detail |
|---|
public ProxyAttributeImpl(ProxyElement 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 NodeImplpublic NodeInfo getRoot()
getRoot in interface NodeInfogetRoot in class NodeImplpublic DocumentInfo getDocumentRoot()
getDocumentRoot in interface NodeInfogetDocumentRoot in class NodeImplpublic NamePool getNamePool()
getNamePool in interface NodeInfogetNamePool in class NodeImplpublic boolean isSameNodeInfo(NodeInfo other)
isSameNodeInfo in interface NodeInfoisSameNodeInfo in class NodeImplprotected long getSequenceNumber()
getSequenceNumber in class NodeImplpublic final int getNodeKind()
public String getStringValue()
public NodeInfo getNextSibling()
getNextSibling in class NodeImplpublic NodeInfo getPreviousSibling()
getPreviousSibling in class NodeImplpublic NodeImpl getPreviousInDocument()
getPreviousInDocument in class NodeImplpublic void generateId(FastStringBuffer buffer)
generateId in interface NodeInfogenerateId in class NodeImplpublic String getDisplayName()
getDisplayName in interface NodeInfogetDisplayName in class NodeImpl
public void copy(Receiver out,
int whichNamespaces,
boolean copyAnnotations,
int locationId)
throws XPathException
XPathException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||