public class StyleNodeFactoryPE extends StyleNodeFactory implements NodeFactory
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowExtensions |
config, namePool
Constructor and Description |
---|
StyleNodeFactoryPE(Configuration config,
Compilation compilation)
Create the node factory for representing an XSLT stylesheet as a tree structure
|
Modifier and Type | Method and Description |
---|---|
boolean |
isElementAvailable(java.lang.String uri,
java.lang.String localName,
boolean instructionsOnly)
Method to support the element-available() function
|
AccumulatorRegistry |
makeAccumulatorManager() |
ElementImpl |
makeElementNode(NodeInfo parent,
NodeName elementName,
SchemaType elementType,
boolean isNilled,
AttributeMap attlist,
NamespaceMap namespaces,
PipelineConfiguration pipe,
Location location,
int sequence)
Create an Element node.
|
getCompilation, getConfiguration, isTopLevelModule, makeStyleElement, makeTextNode, makeXSLElement, newPrincipalModule, setTopLevelModule
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeTextNode
public StyleNodeFactoryPE(Configuration config, Compilation compilation)
config
- the Saxon configurationcompilation
- the compilation episode (compiling one package)public ElementImpl makeElementNode(NodeInfo parent, NodeName elementName, SchemaType elementType, boolean isNilled, AttributeMap attlist, NamespaceMap namespaces, PipelineConfiguration pipe, Location location, int sequence)
makeElementNode
in interface NodeFactory
makeElementNode
in class StyleNodeFactory
parent
- The parent elementelementName
- 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)location
- Indicates the source document and line number containing the nodesequence
- Sequence number to be assigned to represent document order.public boolean isElementAvailable(java.lang.String uri, java.lang.String localName, boolean instructionsOnly)
isElementAvailable
in class StyleNodeFactory
uri
- the namespace URIlocalName
- the local NameinstructionsOnly
- true if only instructions qualifypublic AccumulatorRegistry makeAccumulatorManager()
makeAccumulatorManager
in class StyleNodeFactory
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.