public class VirtualUntypedCopy extends VirtualCopy
VirtualCopy.VirtualCopieroriginal, parent, root, systemId, treeIS_DTD_TYPE, IS_NILLED| Modifier | Constructor and Description |
|---|---|
protected |
VirtualUntypedCopy(NodeInfo base,
NodeInfo root)
Protected constructor: create a virtual copy of a node
|
| Modifier and Type | Method and Description |
|---|---|
AtomicSequence |
atomize()
Get the typed value.
|
void |
copy(Receiver out,
int copyOptions,
Location locationId)
Copy this node to a given outputter
|
SchemaType |
getSchemaType()
Get the type annotation of this node, if any.
|
boolean |
isNilled()
Determine whether the node has the is-nilled property
|
static VirtualCopy |
makeVirtualUntypedTree(NodeInfo original,
NodeInfo root)
Public factory method: create a new untyped virtual tree as a copy of a node
|
protected VirtualCopy |
wrap(NodeInfo node)
Method to create the virtual copy of a node encountered when navigating.
|
compareOrder, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getFingerprint, getGraftingHost, getLineNumber, getLocalPart, getNodeKind, getOriginalNode, getParent, getPrefix, getPublicId, getRoot, getStringValue, getStringValueCS, getSystemId, getTreeInfo, getURI, hasChildNodes, hasFingerprint, hashCode, isId, isIdref, isIncludedInCopy, iterateAxis, makeCopier, makeVirtualCopy, makeVirtualCopy, saveLocation, setDropNamespaces, setSystemIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetGenre, isSameNodeInfo, isStreamed, iterateAxis, toShortStringgetLength, head, itemAt, iterate, iterator, reduce, subsequence, toGroundedValueasIterable, effectiveBooleanValue, materializemakeRepeatablepublic static VirtualCopy makeVirtualUntypedTree(NodeInfo original, NodeInfo root)
original - the node (in the original tree) to be copiedroot - the node in the original tree corresponding to the root node of the virtual copypublic SchemaType getSchemaType()
Types derived from a DTD are not reflected in the result of this method.
getSchemaType in interface NodeInfogetSchemaType in class VirtualCopypublic AtomicSequence atomize() throws XPathException
atomize in interface Item<NodeInfo>atomize in interface NodeInfoatomize in class VirtualCopyXPathException - if the node has no typed value, for example if
it is an element node with element-only contentpublic void copy(Receiver out, int copyOptions, Location locationId) throws XPathException
VirtualCopycopy in interface NodeInfocopy in class VirtualCopyout - the Receiver to which the node should be copiedcopyOptions - a selection of the options defined in CopyOptionslocationId - Identifies the location of the instructionXPathException - if any downstream error occursprotected VirtualCopy wrap(NodeInfo node)
wrap in class VirtualCopynode - the node to be wrappedpublic boolean isNilled()
isNilled in interface NodeInfoisNilled in class VirtualCopyCopyright (c) 2004-2019 Saxonica Limited. All rights reserved.