com.icl.saxon.style
public class StyleNodeFactory extends Object implements NodeFactory
Modifier and Type | Field and Description |
---|---|
(package private) NamePool |
namePool |
(package private) StandardNames |
sn |
(package private) Hashtable |
userStyles |
Constructor and Description |
---|
StyleNodeFactory(NamePool pool) |
Modifier and Type | Method and Description |
---|---|
StandardNames |
getStandardNames() |
boolean |
isElementAvailable(String uri,
String localName)
Method to support the element-available() function
|
ElementImpl |
makeElementNode(NodeInfo parent,
int nameCode,
AttributeCollection attlist,
int[] namespaces,
int namespacesUsed,
Locator locator,
int sequence)
Create an Element node.
|
Hashtable userStyles
NamePool namePool
StandardNames sn
public StyleNodeFactory(NamePool pool)
public StandardNames getStandardNames()
public ElementImpl makeElementNode(NodeInfo parent, int nameCode, AttributeCollection attlist, int[] namespaces, int namespacesUsed, Locator locator, int sequence)
makeElementNode
in interface NodeFactory
parent
- The parent of the elementnameCode
- The element nameattlist
- the attribute listnamespaces
- the list of namespace codes representing namespace declarations for this elementnamespacesUsed
- the number of items in the namespaces array that are actually usedlocator
- the location of this element in the XML sourcesequence
- sequence number of this element