net.sf.saxon.om
public class StrippedDocument extends StrippedNode implements DocumentInfo
Constructor Summary | |
---|---|
StrippedDocument(DocumentInfo doc, Stripper stripper) |
Method Summary | |
---|---|
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 |
String[] | getUnparsedEntity(String name)
Get the unparsed entity with a given name |
NodeInfo | selectID(String id)
Get the element with a given ID, if any |
StrippedNode | wrap(NodeInfo node)
Create a wrapped node within this document |
Parameters: name the name of the entity
Parameters: id the required ID value
Returns: the element with the given ID value, or null if there is none.