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 |
|---|---|
boolean |
isTyped()
Ask whether the document contains any nodes whose type annotation is anything other than
UNTYPED
|
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)
public boolean isTyped()
isTyped in interface TreeInfoisTyped in class GenericTreeInfopublic NodeInfo selectID(java.lang.String id, boolean getParent)
selectID in interface TreeInfoselectID in class GenericTreeInfoid - the required ID valuegetParent - Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.