|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.teamkonzept.dom4jb.dom.NodeList | +--com.teamkonzept.dom4jb.dom.Node | +--com.teamkonzept.dom4jb.dom.NamedNode | +--com.teamkonzept.dom4jb.dom.Element | +--com.teamkonzept.dom4jb.saxon.Element
Field Summary |
Fields inherited from class com.teamkonzept.dom4jb.dom.Node |
document |
Fields inherited from class com.teamkonzept.dom4jb.dom.NodeList |
EMPTY, initialCapacity, nodeData, nodeIterator, parent, size |
Fields inherited from interface com.icl.saxon.om.NodeInfo |
ATTRIBUTE, COMMENT, ELEMENT, NAMESPACE, NODE, NONE, NUMBER_OF_TYPES, PI, ROOT, TEXT |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
Element(Document document,
ElementDescriptor descriptor,
Object bean)
|
|
Element(Document document,
String qualifiedName,
Object bean)
Creates new Element |
Method Summary | |
void |
attachAxis(int position,
DescendantAxis axis)
|
int |
compareOrder(com.icl.saxon.om.NodeInfo other)
Determine the relative position of this node and another node, in document order. |
void |
copy(com.icl.saxon.output.Outputter out)
Copy this node to a given outputter (deep copy) |
void |
copyStringValue(com.icl.saxon.output.Outputter out)
Copy the string-value of this node to a given outputter |
void |
expandStringValue(StringBuffer sb)
|
String |
generateId()
Get a character string that uniquely identifies this node. |
String |
getAttributeValue(int fingerprint)
Get the value of a given attribute of this node |
String |
getAttributeValue(String uri,
String localName)
Find the value of a given attribute of this node. |
DescendantAxis |
getAxis()
|
String |
getBaseURI()
Get the Base URI for the node, that is, the URI used for resolving a relative URI contained in the node. |
String |
getDisplayName()
Get the display name of this node. |
com.icl.saxon.om.DocumentInfo |
getDocumentRoot()
Get the root (document) node |
com.icl.saxon.om.AxisEnumeration |
getEnumeration(byte axisNumber,
com.icl.saxon.pattern.NodeTest nodeTest)
Return an enumeration over the nodes reached by the given axis from this node |
int |
getFingerprint()
Get fingerprint. |
int |
getLineNumber()
Get line number |
String |
getLocalName()
Get the prefix part of the name of this node. |
int |
getNameCode()
Get name code. |
Namespace[] |
getNamespaces()
|
com.icl.saxon.om.NodeInfo |
getParent()
Get the NodeInfo object representing the parent of this node |
int |
getPosition()
|
String |
getPrefix()
Get the prefix part of the name of this node. |
String |
getStringValue()
Return the string value of the node. |
String |
getSystemId()
Get the System ID for the node. |
String |
getURI()
Get the URI part of the name of this node. |
boolean |
isSameNode(com.icl.saxon.om.NodeInfo other)
Determine whether this is the same node as another node. |
void |
outputNamespaceNodes(com.icl.saxon.output.Outputter out,
boolean includeAncestors)
Output all namespace nodes associated with this element. |
void |
setSystemId(String uri)
|
Methods inherited from class com.teamkonzept.dom4jb.dom.Element |
_getChildNodes, accept, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getNodeType, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
Methods inherited from class com.teamkonzept.dom4jb.dom.NamedNode |
getNamespaceURI, getNamingItem, getNodeName, setPrefix |
Methods inherited from class com.teamkonzept.dom4jb.dom.Node |
appendChild, attach, cloneNode, getChildIndex, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue |
Methods inherited from class com.teamkonzept.dom4jb.dom.NodeList |
add, clear, ensureCapacity, get, getLength, getParentNode, isEmpty, item, setIterator, setParentNode, size, trimToSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.icl.saxon.om.NodeInfo |
getNodeType, hasChildNodes |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Constructor Detail |
public Element(Document document, ElementDescriptor descriptor, Object bean)
public Element(Document document, String qualifiedName, Object bean)
Method Detail |
public void attachAxis(int position, DescendantAxis axis)
attachAxis
in interface AxisNode
public DescendantAxis getAxis()
getAxis
in interface AxisNode
public int getPosition()
getPosition
in interface AxisNode
public String getStringValue()
getStringValue
in interface com.icl.saxon.om.NodeInfo
public void expandStringValue(StringBuffer sb)
expandStringValue
in interface AxisNode
public String getDisplayName()
getDisplayName
in interface com.icl.saxon.om.NodeInfo
public String getAttributeValue(int fingerprint)
getAttributeValue
in interface com.icl.saxon.om.NodeInfo
fingerprint
- The fingerprint of the attribute name
public Namespace[] getNamespaces()
getNamespaces
in interface AxisNode
public String getAttributeValue(String uri, String localName)
getAttributeValue
in interface com.icl.saxon.om.NodeInfo
uri
- the namespace uri of an attribute ("" if no namespace)localName
- the local name of the attribute
public String generateId()
generateId
in interface com.icl.saxon.om.NodeInfo
public void copy(com.icl.saxon.output.Outputter out) throws TransformerException
copy
in interface com.icl.saxon.om.NodeInfo
TransformerException
public void outputNamespaceNodes(com.icl.saxon.output.Outputter out, boolean includeAncestors) throws TransformerException
outputNamespaceNodes
in interface com.icl.saxon.om.NodeInfo
out
- The relevant outputterincludeAncestors
- True if namespaces declared on ancestor
elements must be output; false if it is known that these are already
on the result tree
TransformerException
public String getSystemId()
getSystemId
in interface com.icl.saxon.om.NodeInfo
public void setSystemId(String uri)
setSystemId
in interface Source
public String getBaseURI()
getBaseURI
in interface com.icl.saxon.om.NodeInfo
public int getLineNumber()
getLineNumber
in interface com.icl.saxon.om.NodeInfo
public int getNameCode()
getNameCode
in interface com.icl.saxon.om.NodeInfo
allocate
public String getPrefix()
getPrefix
in interface com.icl.saxon.om.NodeInfo
getPrefix
in class NamedNode
public int getFingerprint()
getFingerprint
in interface com.icl.saxon.om.NodeInfo
public String getURI()
getURI
in interface com.icl.saxon.om.NodeInfo
public String getLocalName()
getLocalName
in interface com.icl.saxon.om.NodeInfo
getLocalName
in class NamedNode
public com.icl.saxon.om.NodeInfo getParent()
getParent
in interface com.icl.saxon.om.NodeInfo
public com.icl.saxon.om.DocumentInfo getDocumentRoot()
getDocumentRoot
in interface com.icl.saxon.om.NodeInfo
public void copyStringValue(com.icl.saxon.output.Outputter out) throws TransformerException
copyStringValue
in interface com.icl.saxon.om.NodeInfo
TransformerException
public com.icl.saxon.om.AxisEnumeration getEnumeration(byte axisNumber, com.icl.saxon.pattern.NodeTest nodeTest)
getEnumeration
in interface com.icl.saxon.om.NodeInfo
nodeTest
- A pattern to be matched by the returned nodes
public int compareOrder(com.icl.saxon.om.NodeInfo other)
compareOrder
in interface com.icl.saxon.om.NodeInfo
other
- The other node, whose position is to be compared with this
node
public boolean isSameNode(com.icl.saxon.om.NodeInfo other)
isSameNode
in interface com.icl.saxon.om.NodeInfo
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |