public class XSLTCDTMManager extends DTMManagerDefault
m_defaultHandler, m_dtms, m_readerManager
IDENT_DTM_DEFAULT, IDENT_DTM_NODE_BITS, IDENT_MAX_DTMS, IDENT_NODE_DEFAULT, m_incremental, m_source_location, m_xsf
Constructor and Description |
---|
XSLTCDTMManager()
Constructor DTMManagerDefault
|
Modifier and Type | Method and Description |
---|---|
DTM |
getDTM(Source source,
boolean unique,
DTMWSFilter whiteSpaceFilter,
boolean incremental,
boolean doIndexing)
Get an instance of a DTM, loaded with the content from the
specified source.
|
DTM |
getDTM(Source source,
boolean unique,
DTMWSFilter whiteSpaceFilter,
boolean incremental,
boolean doIndexing,
boolean buildIdIndex)
Get an instance of a DTM, loaded with the content from the
specified source.
|
DTM |
getDTM(Source source,
boolean unique,
DTMWSFilter whiteSpaceFilter,
boolean incremental,
boolean doIndexing,
boolean buildIdIndex,
boolean newNameTable)
Get an instance of a DTM, loaded with the content from the
specified source.
|
DTM |
getDTM(Source source,
boolean unique,
DTMWSFilter whiteSpaceFilter,
boolean incremental,
boolean doIndexing,
boolean hasUserReader,
int size,
boolean buildIdIndex)
Get an instance of a DTM, loaded with the content from the
specified source.
|
DTM |
getDTM(Source source,
boolean unique,
DTMWSFilter whiteSpaceFilter,
boolean incremental,
boolean doIndexing,
boolean hasUserReader,
int size,
boolean buildIdIndex,
boolean newNameTable)
Get an instance of a DTM, loaded with the content from the
specified source.
|
static Class |
getDTMManagerClass()
Look up the class that provides the XSLTC DTM Manager service.
|
static XSLTCDTMManager |
newInstance()
Obtain a new instance of a
DTMManager . |
addDTM, addDTM, createDocumentFragment, createDTMIterator, createDTMIterator, createDTMIterator, createDTMIterator, getDTM, getDTMHandleFromNode, getDTMIdentity, getExpandedNameTable, getFirstFreeDTMID, getXMLReader, release, releaseXMLReader
getDTMIdentityMask, getIncremental, getNodeIdentityMask, getSource_location, getXMLStringFactory, newInstance, setIncremental, setSource_location, setXMLStringFactory
public static XSLTCDTMManager newInstance()
DTMManager
.
This static method creates a new factory instance.
The current implementation just returns a new XSLTCDTMManager instance.public static Class getDTMManagerClass()
org.apache.xalan.xsltc.dom.XSLTCDTMManager
property, is
checked.xalan.propeties
file is checked for a property
of the same name.META-INF/services/org.apache.xalan.xsltc.dom.XSLTCDTMManager
file is checked.
org.apache.xalan.xsltc.dom.XSLTCDTMManager
.public DTM getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing)
getDTM
in class DTMManagerDefault
source
- the specification of the source object.unique
- true if the returned DTM must be unique, probably because it
is going to be mutated.whiteSpaceFilter
- Enables filtering of whitespace nodes, and may
be null.incremental
- true if the DTM should be built incrementally, if
possible.doIndexing
- true if the caller considers it worth it to use
indexing schemes.public DTM getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing, boolean buildIdIndex)
source
- the specification of the source object.unique
- true if the returned DTM must be unique, probably because it
is going to be mutated.whiteSpaceFilter
- Enables filtering of whitespace nodes, and may
be null.incremental
- true if the DTM should be built incrementally, if
possible.doIndexing
- true if the caller considers it worth it to use
indexing schemes.buildIdIndex
- true if the id index table should be built.public DTM getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing, boolean buildIdIndex, boolean newNameTable)
source
- the specification of the source object.unique
- true if the returned DTM must be unique, probably because it
is going to be mutated.whiteSpaceFilter
- Enables filtering of whitespace nodes, and may
be null.incremental
- true if the DTM should be built incrementally, if
possible.doIndexing
- true if the caller considers it worth it to use
indexing schemes.buildIdIndex
- true if the id index table should be built.newNameTable
- true if we want to use a separate ExpandedNameTable
for this DTM.public DTM getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing, boolean hasUserReader, int size, boolean buildIdIndex)
source
- the specification of the source object.unique
- true if the returned DTM must be unique, probably because it
is going to be mutated.whiteSpaceFilter
- Enables filtering of whitespace nodes, and may
be null.incremental
- true if the DTM should be built incrementally, if
possible.doIndexing
- true if the caller considers it worth it to use
indexing schemes.hasUserReader
- true if source
is a
SAXSource
object that has an
XMLReader
, that was specified by the
user.size
- Specifies initial size of tables that represent the DTMbuildIdIndex
- true if the id index table should be built.public DTM getDTM(Source source, boolean unique, DTMWSFilter whiteSpaceFilter, boolean incremental, boolean doIndexing, boolean hasUserReader, int size, boolean buildIdIndex, boolean newNameTable)
source
- the specification of the source object.unique
- true if the returned DTM must be unique, probably because it
is going to be mutated.whiteSpaceFilter
- Enables filtering of whitespace nodes, and may
be null.incremental
- true if the DTM should be built incrementally, if
possible.doIndexing
- true if the caller considers it worth it to use
indexing schemes.hasUserReader
- true if source
is a
SAXSource
object that has an
XMLReader
, that was specified by the
user.size
- Specifies initial size of tables that represent the DTMbuildIdIndex
- true if the id index table should be built.newNameTable
- true if we want to use a separate ExpandedNameTable
for this DTM.Copyright © 2018 JBoss by Red Hat. All rights reserved.