public class TypeStrippedDocument extends GenericTreeInfo
root| Constructor and Description |
|---|
TypeStrippedDocument(TreeInfo doc)
Create a type-stripped view of a document
|
| Modifier and Type | Method and Description |
|---|---|
NodeInfo |
selectID(java.lang.String id,
boolean getParent)
Get the element with a given ID, if any
|
TypeStrippedNode |
wrap(NodeInfo node)
Create a wrapped node within this document
|
getConfiguration, getDocumentNumber, getPublicId, getRootNode, getSpaceStrippingRule, getSystemId, getUnparsedEntity, getUnparsedEntityNames, getUserData, isStreamed, setConfiguration, setDocumentNumber, setRootNode, setSpaceStrippingRule, setSystemId, setUserDatapublic TypeStrippedDocument(TreeInfo doc)
doc - the underlying documentpublic TypeStrippedNode wrap(NodeInfo node)
node - the node to be wrappedpublic NodeInfo selectID(java.lang.String id, boolean getParent)
selectID in interface TreeInfoselectID in class GenericTreeInfoid - the required ID valuegetParent - true if running the element-with-id() function rather than the id()
function; the difference is that in the case of an element of type xs:ID, the parent of
the element should be returned, not the element itself.Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.