public class VirtualDocumentCopy extends VirtualCopy implements DocumentInfo
VirtualCopy.VirtualCopier
documentNumber, original, parent, root, systemId
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES
EMPTY_VALUE_ARRAY
Constructor and Description |
---|
VirtualDocumentCopy(DocumentInfo base) |
Modifier and Type | Method and Description |
---|---|
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
|
void |
setConfiguration(Configuration config)
Set the configuration, which defines the name pool used for all names in this document.
|
atomize, compareOrder, copy, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getNodeKind, getParent, getPrefix, getPublicId, getRoot, getStringValue, getStringValueCS, getSystemId, getTypeAnnotation, getTypedValue, getURI, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis, makeCopier, makeVirtualCopy, setDocumentNumber, setSystemId, wrap
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
atomize, compareOrder, copy, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getNodeKind, getParent, getPrefix, getRoot, getStringValue, getSystemId, getTypeAnnotation, getURI, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis
getStringValueCS, getTypedValue
public VirtualDocumentCopy(DocumentInfo base)
public void setConfiguration(Configuration config)
config
- The configuration to be usedpublic 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 entity