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,
AttributeCollectionImpl attlist,
NamespaceBinding[] namespaces,
int namespacesUsed,
PipelineConfiguration pipe,
Location location,
int sequence)
Create an Element node.
|
getCompilation, getConfiguration, isTopLevelModule, 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, AttributeCollectionImpl attlist, NamespaceBinding[] namespaces, int namespacesUsed, 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
- 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 usedpipe
- 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-2020 Saxonica Limited. All rights reserved.