net.sf.saxon.om
public class TypeStrippedDocument extends TypeStrippedNode implements DocumentInfo
Constructor Summary | |
---|---|
TypeStrippedDocument(DocumentInfo doc)
Create a type-stripped view of a document |
Method Summary | |
---|---|
Configuration | getConfiguration()
Get the configuration |
long | getDocumentNumber()
Get the unique document number |
NamePool | getNamePool()
Get the name pool used for the names in this document |
int | getTypeAnnotation()
Get the type annotation of this node. |
String[] | getUnparsedEntity(String name)
Get the unparsed entity with a given name |
Iterator<String> | getUnparsedEntityNames()
Get the list of unparsed entities defined in this document |
NodeInfo | selectID(String id, boolean getParent)
Get the element with a given ID, if any |
TypeStrippedNode | wrap(NodeInfo node)
Create a wrapped node within this document |
Parameters: doc the underlying document
Returns: XS_UNTYPED
Parameters: name the name of the entity
Returns: an Iterator, whose items are of type String, containing the names of all unparsed entities defined in this document. If there are no unparsed entities or if the information is not available then an empty iterator is returned
Parameters: id the required ID value getParent
Returns: the element with the given ID value, or null if there is none.