com.icl.saxon.tinytree

Class TinyParentNodeImpl

Implemented Interfaces:
DOMLocator, Node, NodeInfo, Source, SourceLocator
Known Direct Subclasses:
TinyDocumentImpl, TinyElementImpl

(package private) abstract class TinyParentNodeImpl
extends TinyNodeImpl

TinyParentNodeImpl is an implementation of a non-leaf node (specifically, an Element node or a Document node)
Author:
Michael H. Kay

Field Summary

Fields inherited from class com.icl.saxon.tinytree.TinyNodeImpl

document, nodeNr, parent

Fields inherited from class com.icl.saxon.om.AbstractNode

NODE_LETTER

Fields inherited from interface com.icl.saxon.om.NodeInfo

ATTRIBUTE, COMMENT, ELEMENT, NAMESPACE, NODE, NONE, NUMBER_OF_TYPES, PI, ROOT, TEXT

Method Summary

void
copyStringValue(Outputter out)
Copy the string-value of this node to a given outputter
String
getStringValue()
Return the string-value of the node, that is, the concatenation of the character content of all descendent elements and text nodes.
boolean
hasChildNodes()
Determine if the node has children.

Methods inherited from class com.icl.saxon.tinytree.TinyNodeImpl

compareOrder, generateId, getAttributeValue, getAttributeValue, getBaseURI, getDisplayName, getDocumentRoot, getEnumeration, getFingerprint, getLineNumber, getLocalName, getNameCode, getOriginatingNode, getParent, getPrefix, getSequenceNumber, getSystemId, getURI, hasAttributes, hasChildNodes, isSameNodeInfo, outputNamespaceNodes, setLineNumber, setParentNode, setSystemId

Methods inherited from class com.icl.saxon.om.AbstractNode

appendChild, appendData, cloneNode, compareDocumentPosition, compareOrder, copyStringValue, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, deleteData, disallowUpdate, generateId, getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getAttributeValue, getAttributeValue, getAttributes, getBaseURI, getChildNodes, getColumnNumber, getData, getDisplayName, getDoctype, getDocumentElement, getDocumentRoot, getElementById, getElementsByTagName, getElementsByTagNameNS, getEnumeration, getFeature, getFingerprint, getFirstChild, getImplementation, getLastChild, getLength, getLineNumber, getLocalName, getName, getNameCode, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOriginatingNode, getOwnerDocument, getOwnerElement, getParent, getParentNode, getPrefix, getPreviousSibling, getPublicId, getSchemaTypeInfo, getSpecified, getSystemId, getTagName, getTextContent, getURI, getUserData, getValue, getWholeText, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, importNode, insertBefore, insertData, isDefaultNamespace, isElementContentWhitespace, isEqualNode, isId, isSameNode, isSameNodeInfo, isSupported, lookupNamespaceURI, lookupPrefix, normalize, outputNamespaceNodes, removeAttribute, removeAttributeNS, removeAttributeNode, removeChild, replaceChild, replaceData, replaceWholeText, setAttributeNS, setAttributeNode, setAttributeNodeNS, setData, setIdAttribute, setIdAttributeNS, setIdAttributeNode, setNodeValue, setPrefix, setTextContent, setUserData, setValue, splitText, substringData, supports

Method Details

copyStringValue

public void copyStringValue(Outputter out)
            throws TransformerException
Copy the string-value of this node to a given outputter
Specified by:
copyStringValue in interface NodeInfo
Overrides:
copyStringValue in interface AbstractNode

getStringValue

public String getStringValue()
Return the string-value of the node, that is, the concatenation of the character content of all descendent elements and text nodes.
Specified by:
getStringValue in interface NodeInfo
Returns:
the accumulated character content of the element, including descendant elements.

hasChildNodes

public boolean hasChildNodes()
Determine if the node has children.
Specified by:
hasChildNodes in interface NodeInfo
Overrides:
hasChildNodes in interface TinyNodeImpl