public class StrippedDocument extends StrippedNode implements DocumentInfo
docWrapper, node, parent
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES
EMPTY_VALUE_ARRAY
Constructor and Description |
---|
StrippedDocument(DocumentInfo doc,
Stripper stripper) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPreserveSpace()
Does the stripped document contain any xml:space="preserve" attributes?
|
Configuration |
getConfiguration()
Get the configuration previously set using setConfiguration
|
int |
getDocumentNumber()
Get the unique document number
|
NamePool |
getNamePool()
Get the name pool used for the names in this document
|
Stripper |
getStripper()
Get the document's stripper
|
java.lang.String[] |
getUnparsedEntity(java.lang.String name)
Get the unparsed entity with a given name
|
NodeInfo |
selectID(java.lang.String id)
Get the element with a given ID, if any
|
StrippedNode |
wrap(NodeInfo node)
Create a wrapped node within this document
|
atomize, compareOrder, copy, equals, generateId, getAttributeValue, getBaseURI, getDeclaredNamespaces, getDisplayName, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNodeKind, getParent, getPrefix, getRoot, getStringValue, getStringValueCS, getSystemId, getTypeAnnotation, getTypedValue, getUnderlyingNode, getURI, hasChildNodes, hashCode, isSameNodeInfo, iterateAxis, iterateAxis, makeWrapper, sendNamespaceDeclarations, setSystemId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
atomize, compareOrder, copy, equals, generateId, getAttributeValue, getBaseURI, getDeclaredNamespaces, getDisplayName, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNodeKind, getParent, getPrefix, getRoot, getStringValue, getSystemId, getTypeAnnotation, getURI, hasChildNodes, hashCode, isSameNodeInfo, iterateAxis, iterateAxis, sendNamespaceDeclarations
getStringValueCS, getTypedValue
public StrippedDocument(DocumentInfo doc, Stripper stripper)
public StrippedNode wrap(NodeInfo node)
public Stripper getStripper()
public Configuration getConfiguration()
getConfiguration
in interface NodeInfo
getConfiguration
in class StrippedNode
public NamePool getNamePool()
getNamePool
in interface NodeInfo
getNamePool
in class StrippedNode
public int getDocumentNumber()
getDocumentNumber
in interface NodeInfo
getDocumentNumber
in class StrippedNode
public NodeInfo selectID(java.lang.String id)
selectID
in interface DocumentInfo
id
- the required ID valuepublic java.lang.String[] getUnparsedEntity(java.lang.String name)
getUnparsedEntity
in interface DocumentInfo
name
- the name of the entitypublic boolean containsPreserveSpace()