javax.xml.transform.Source
, PullEvent
, DocumentInfo
, Item
, NodeInfo
, ValueRepresentation
, VirtualNode
public class StrippedDocument extends StrippedNode implements DocumentInfo
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES
docWrapper, node, parent
EMPTY_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, getTypedValue
atomize, 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, iterateAxis
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
atomize, 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, setSystemId
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.util.Iterator getUnparsedEntityNames()
getUnparsedEntityNames
in interface DocumentInfo
public java.lang.String[] getUnparsedEntity(java.lang.String name)
getUnparsedEntity
in interface DocumentInfo
name
- the name of the entitypublic boolean containsPreserveSpace()