public interface NodeFactory
Modifier and Type | Method and Description |
---|---|
ElementImpl |
makeElementNode(NodeInfo parent,
NodeName nameCode,
SchemaType elementType,
boolean isNilled,
AttributeCollectionImpl attlist,
NamespaceBinding[] namespaces,
int namespacesUsed,
PipelineConfiguration pipe,
Location locationId,
int sequenceNumber)
Create an Element node
|
TextImpl |
makeTextNode(NodeInfo parent,
CharSequence content)
Make a text node
|
ElementImpl makeElementNode(NodeInfo parent, NodeName nameCode, SchemaType elementType, boolean isNilled, AttributeCollectionImpl attlist, NamespaceBinding[] namespaces, int namespacesUsed, PipelineConfiguration pipe, Location locationId, int sequenceNumber)
parent
- The parent elementnameCode
- The element nameelementType
- The type annotation of the elementisNilled
- true if the element is to be marked as nilledattlist
- The attribute collection, excluding any namespace attributesnamespaces
- List of new namespace declarations for this element, as a sequence
of namespace codes representing pairs of strings: (prefix1, uri1), (prefix2, uri2)...namespacesUsed
- the number of elemnts of the namespaces array actually usedpipe
- The pipeline configuration (provides access to the error listener and the
location provider)locationId
- Indicates the source document and line number containing the nodesequenceNumber
- Sequence number to be assigned to represent document order.TextImpl makeTextNode(NodeInfo parent, CharSequence content)
content
- the content of the text nodeCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.