public interface NodeFactory
Modifier and Type | Method and Description |
---|---|
ElementImpl |
makeElementNode(NodeInfo parent,
int nameCode,
AttributeCollectionImpl attlist,
int[] namespaces,
int namespacesUsed,
LocationProvider locator,
int locationId,
int sequenceNumber)
Create an Element node
|
ElementImpl makeElementNode(NodeInfo parent, int nameCode, AttributeCollectionImpl attlist, int[] namespaces, int namespacesUsed, LocationProvider locator, int locationId, int sequenceNumber)
parent
- The parent elementnameCode
- The element nameattlist
- 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 usedlocator
- Indicates the source document and line number containing the nodelocationId
- Indicates the source document and line number containing the nodesequenceNumber
- Sequence number to be assigned to represent document order.