NodeFactory
public class StyleNodeFactory extends java.lang.Object implements NodeFactory
Constructor | Description |
---|---|
StyleNodeFactory(NamePool pool) |
Modifier and Type | Method | Description |
---|---|---|
StandardNames |
getStandardNames() |
|
boolean |
isElementAvailable(java.lang.String uri,
java.lang.String localName) |
Method to support the element-available() function
|
ElementImpl |
makeElementNode(NodeInfo parent,
int nameCode,
AttributeCollection attlist,
int[] namespaces,
int namespacesUsed,
org.xml.sax.Locator locator,
int sequence) |
Create an Element node.
|
public StyleNodeFactory(NamePool pool)
public StandardNames getStandardNames()
public ElementImpl makeElementNode(NodeInfo parent, int nameCode, AttributeCollection attlist, int[] namespaces, int namespacesUsed, org.xml.sax.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 elementpublic boolean isElementAvailable(java.lang.String uri, java.lang.String localName)