javax.xml.transform.Source, PullEvent, DocumentInfo, Item, NodeInfo, ValueRepresentation, VirtualNodepublic class StrippedDocument extends StrippedNode implements DocumentInfo
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACESdocWrapper, node, parentEMPTY_VALUE_ARRAY| Constructor | Description |
|---|---|
StrippedDocument(DocumentInfo doc,
Stripper stripper) |
| Modifier and Type | Method | 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
|
java.util.Iterator |
getUnparsedEntityNames() |
Get the list of unparsed entities defined in this document
|
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
|
getStringValueCS, getTypedValueatomize, compareOrder, copy, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getDeclaredNamespaces, getDisplayName, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNodeKind, getParent, getPrefix, getRoot, getStringValue, getSystemId, getTypeAnnotation, getURI, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxisclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitatomize, compareOrder, copy, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getDeclaredNamespaces, getDisplayName, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNodeKind, getParent, getPrefix, getRoot, getStringValue, getStringValueCS, getSystemId, getTypeAnnotation, getTypedValue, getUnderlyingNode, getURI, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis, makeWrapper, setSystemIdpublic StrippedDocument(DocumentInfo doc, Stripper stripper)
public StrippedNode wrap(NodeInfo node)
public Stripper getStripper()
public Configuration getConfiguration()
getConfiguration in interface NodeInfogetConfiguration in class StrippedNodepublic NamePool getNamePool()
getNamePool in interface NodeInfogetNamePool in class StrippedNodepublic int getDocumentNumber()
getDocumentNumber in interface NodeInfogetDocumentNumber in class StrippedNodepublic NodeInfo selectID(java.lang.String id)
selectID in interface DocumentInfoid - the required ID valuepublic java.util.Iterator getUnparsedEntityNames()
getUnparsedEntityNames in interface DocumentInfopublic java.lang.String[] getUnparsedEntity(java.lang.String name)
getUnparsedEntity in interface DocumentInfoname - the name of the entitypublic boolean containsPreserveSpace()