net.sf.saxon.om
Class StrippedDocument
- DocumentInfo, Item, NodeInfo, Source, Item, NodeInfo, PullEvent, ValueRepresentation, VirtualNode
public class StrippedDocument
A StrippedDocument represents a view of a real Document in which selected
whitespace text nodes are treated as having been stripped.
atomize, compareOrder, copy, equals, generateId, getAttributeValue, getBaseURI, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getNodeKind, getParent, getPrefix, getRoot, getStringValue, getStringValueCS, getSystemId, getTypeAnnotation, getTypedValue, getURI, getUnderlyingNode, hasChildNodes, hashCode, isSameNodeInfo, iterateAxis, iterateAxis, makeWrapper, setSystemId |
containsPreserveSpace
public boolean containsPreserveSpace()
Does the stripped document contain any xml:space="preserve" attributes?
getStripper
public Stripper getStripper()
Get the document's stripper
getUnparsedEntity
public String[] getUnparsedEntity(String name)
Get the unparsed entity with a given name
- getUnparsedEntity in interface DocumentInfo
name - the name of the entity
selectID
public NodeInfo selectID(String id)
Get the element with a given ID, if any
- selectID in interface DocumentInfo
id - the required ID value
- the element with the given ID value, or null if there is none.