| net.sf.saxon.tree.NodeFactory
All known Subclasses: net.sf.saxon.style.StyleNodeFactory,
NodeFactory | public interface NodeFactory (Code) | | Interface NodeFactory.
A Factory for nodes used to build a tree.
Currently only allows Element nodes to be user-constructed.
author: Michael H. Kay version: 25 February 2000 |
makeElementNode | public ElementImpl makeElementNode(NodeInfo parent, int nameCode, AttributeCollectionImpl attlist, int[] namespaces, int namespacesUsed, LocationProvider locator, int locationId, int sequenceNumber)(Code) | | Create an Element node
Parameters: parent - The parent element Parameters: nameCode - The element name Parameters: attlist - The attribute collection, excluding any namespace attributes Parameters: namespaces - List of new namespace declarations for this element, as a sequenceof namespace codes representing pairs of strings: (prefix1, uri1), (prefix2, uri2)... Parameters: namespacesUsed - the number of elemnts of the namespaces array actually used Parameters: locator - Indicates the source document and line number containing the node Parameters: locationId - Indicates the source document and line number containing the node Parameters: sequenceNumber - Sequence number to be assigned to represent document order. |
|
|