public interface NodeFactory
Modifier and Type | Method and Description |
---|---|
ElementImpl |
makeElementNode(NodeInfo parent,
NodeName nameCode,
SchemaType elementType,
boolean isNilled,
AttributeMap attlist,
NamespaceMap namespaces,
PipelineConfiguration pipe,
Location locationId,
int sequenceNumber)
Create an Element node
|
TextImpl |
makeTextNode(NodeInfo parent,
UnicodeString content)
Make a text node
|
ElementImpl makeElementNode(NodeInfo parent, NodeName nameCode, SchemaType elementType, boolean isNilled, AttributeMap attlist, NamespaceMap namespaces, 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
- in-scope namespace declarations for this elementpipe
- 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, UnicodeString content)
parent
- the parent elementcontent
- the content of the text nodeCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.