Package | Description |
---|---|
org.apache.xalan.xsltc | |
org.apache.xalan.xsltc.dom | |
org.apache.xalan.xsltc.runtime | |
org.apache.xalan.xsltc.trax |
Modifier and Type | Interface and Description |
---|---|
interface |
DOMEnhancedForDTM
Interface for SAXImpl which adds methods used at run-time, over and above
those provided by the XSLTC DOM interface.
|
Modifier and Type | Method and Description |
---|---|
DOM |
DOM.getResultTreeFrag(int initialSize,
int rtfType) |
DOM |
DOM.getResultTreeFrag(int initialSize,
int rtfType,
boolean addToDTMManager) |
DOM |
DOMCache.retrieveDocument(String baseURI,
String href,
Translet translet)
This method is responsible for:
(1) building the DOMImpl tree
Parser _parser = new Parser();
DOMImpl _dom = new DOMImpl();
_parser.setDocumentHandler(_dom.getBuilder());
_parser.setDTDHandler(_dom.getBuilder());
_parser.parse(uri);
(2) giving the translet an early opportunity to extract anything from
the DOMImpl that it would like
translet.documentPrepass(_dom);
(3) setting the document URI:
_dom.setDocumentURI(uri);
|
Modifier and Type | Method and Description |
---|---|
void |
Translet.buildKeys(DOM document,
DTMAxisIterator iterator,
SerializationHandler handler,
int root) |
boolean |
StripFilter.stripSpace(DOM dom,
int node,
int type) |
void |
Translet.transform(DOM document,
DTMAxisIterator iterator,
SerializationHandler handler) |
void |
Translet.transform(DOM document,
SerializationHandler handler) |
void |
Translet.transform(DOM document,
SerializationHandler[] handlers) |
Modifier and Type | Class and Description |
---|---|
class |
AdaptiveResultTreeImpl
AdaptiveResultTreeImpl is a adaptive DOM model for result tree fragments (RTF).
|
class |
DOMAdapter |
class |
MultiDOM |
class |
SAXImpl
SAXImpl is the core model for SAX input source.
|
class |
SimpleResultTreeImpl
This class represents a light-weight DOM model for simple result tree fragment(RTF).
|
Modifier and Type | Field and Description |
---|---|
DOM |
NodeCounter._document |
Modifier and Type | Method and Description |
---|---|
DOM |
DocumentCache.CachedDocument.getDocument() |
DOM |
MultiDOM.getDOMAdapter(String uri) |
DOM |
DOMAdapter.getDOMImpl() |
DOM |
MultiDOM.getMain() |
DOM |
AdaptiveResultTreeImpl.getNestedDOM() |
DOM |
SimpleResultTreeImpl.getResultTreeFrag(int initialSize,
int rtfType) |
DOM |
SAXImpl.getResultTreeFrag(int initSize,
int rtfType)
Return a instance of a DOM class to be used as an RTF
|
DOM |
MultiDOM.getResultTreeFrag(int initSize,
int rtfType) |
DOM |
DOMAdapter.getResultTreeFrag(int initSize,
int rtfType)
Return a instance of a DOM class to be used as an RTF
|
DOM |
AdaptiveResultTreeImpl.getResultTreeFrag(int initialSize,
int rtfType) |
DOM |
SimpleResultTreeImpl.getResultTreeFrag(int initialSize,
int rtfType,
boolean addToManager) |
DOM |
SAXImpl.getResultTreeFrag(int initSize,
int rtfType,
boolean addToManager)
Return a instance of a DOM class to be used as an RTF
|
DOM |
MultiDOM.getResultTreeFrag(int initSize,
int rtfType,
boolean addToManager) |
DOM |
DOMAdapter.getResultTreeFrag(int initSize,
int rtfType,
boolean addToManager)
Return a instance of a DOM class to be used as an RTF
|
DOM |
DocumentCache.retrieveDocument(String baseURI,
String href,
Translet trs)
Returns a document either by finding it in the cache or
downloading it and putting it in the cache.
|
Modifier and Type | Method and Description |
---|---|
static DTMAxisIterator |
LoadDocument.documentF(Object arg1,
DTMAxisIterator arg2,
String xslURI,
AbstractTranslet translet,
DOM dom)
Interprets the arguments passed from the document() function (see
org/apache/xalan/xsltc/compiler/DocumentCall.java) and returns an
iterator containing the requested nodes.
|
static DTMAxisIterator |
LoadDocument.documentF(Object arg,
String xslURI,
AbstractTranslet translet,
DOM dom)
Interprets the arguments passed from the document() function (see
org/apache/xalan/xsltc/compiler/DocumentCall.java) and returns an
iterator containing the requested nodes.
|
abstract String |
NodeSortRecord.extractValueFromDOM(DOM dom,
int current,
int level,
AbstractTranslet translet,
int last)
Extract the sort value for a level of this key.
|
static NodeCounter |
SingleNodeCounter.getDefaultNodeCounter(Translet translet,
DOM document,
DTMAxisIterator iterator) |
static NodeCounter |
MultipleNodeCounter.getDefaultNodeCounter(Translet translet,
DOM document,
DTMAxisIterator iterator) |
static NodeCounter |
AnyNodeCounter.getDefaultNodeCounter(Translet translet,
DOM document,
DTMAxisIterator iterator) |
void |
NodeSortRecord.initialize(int node,
int last,
DOM dom,
org.apache.xalan.xsltc.dom.SortSettings settings)
This method allows the caller to set the values that could not be passed
to the default constructor.
|
void |
KeyIndex.setDom(DOM dom) |
boolean |
StripWhitespaceFilter.stripSpace(DOM dom,
int node,
int type) |
Constructor and Description |
---|
AnyNodeCounter(Translet translet,
DOM document,
DTMAxisIterator iterator) |
DOMAdapter(DOM dom,
String[] namesArray,
String[] urisArray,
int[] typesArray,
String[] namespaceArray) |
MultiDOM(DOM main) |
MultipleNodeCounter(Translet translet,
DOM document,
DTMAxisIterator iterator) |
NodeCounter(Translet translet,
DOM document,
DTMAxisIterator iterator) |
NodeSortRecordFactory(DOM dom,
String className,
Translet translet,
String[] order,
String[] type)
Deprecated.
This constructor is no longer used in generated code. It
exists only for backwards compatibility.
|
NodeSortRecordFactory(DOM dom,
String className,
Translet translet,
String[] order,
String[] type,
String[] lang,
String[] caseOrder)
Creates a NodeSortRecord producing object.
|
SingleNodeCounter(Translet translet,
DOM document,
DTMAxisIterator iterator) |
UnionIterator(DOM dom) |
Modifier and Type | Method and Description |
---|---|
static DOM |
BasisLibrary.referenceToResultTree(Object obj)
Utility function used to convert references to DOMs.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTranslet.buildKeyIndex(String name,
DOM dom)
Create an empty KeyIndex in the DOM case
|
void |
AbstractTranslet.buildKeys(DOM document,
DTMAxisIterator iterator,
SerializationHandler handler,
int root)
This method builds key indexes - it is overridden in the compiled
translet in cases where the
|
static boolean |
BasisLibrary.compare(DTMAxisIterator left,
double rnumber,
int op,
DOM dom)
Utility function: node-set/number compare.
|
static boolean |
BasisLibrary.compare(DTMAxisIterator left,
DTMAxisIterator right,
int op,
DOM dom)
Utility function: node-set/node-set compare.
|
static boolean |
BasisLibrary.compare(DTMAxisIterator left,
String rstring,
int op,
DOM dom)
Utility function: node-set/string comparison.
|
static boolean |
BasisLibrary.compare(int node,
DTMAxisIterator iterator,
int op,
DOM dom) |
static boolean |
BasisLibrary.compare(Object left,
Object right,
int op,
DOM dom) |
static void |
BasisLibrary.copy(Object obj,
SerializationHandler handler,
int node,
DOM dom) |
DOMAdapter |
AbstractTranslet.makeDOMAdapter(DOM dom)
Wrap the initial input DOM in a dom adapter.
|
static String |
BasisLibrary.namespace_uriF(DTMAxisIterator iter,
DOM dom)
XSLT Standard function namespace-uri(node-set).
|
static String |
BasisLibrary.namespace_uriF(int node,
DOM dom)
XSLT Standard function namespace-uri().
|
static DTMAxisIterator |
BasisLibrary.node2Iterator(Node node,
Translet translet,
DOM dom)
Utility function used to convert a w3c Node into an internal DOM iterator.
|
static DTMAxisIterator |
BasisLibrary.nodeList2Iterator(NodeList nodeList,
Translet translet,
DOM dom)
Utility function used to convert a w3c NodeList into a internal
DOM iterator.
|
static String |
BasisLibrary.normalize_spaceF(int node,
DOM dom)
XSLT Standard function normalize-space().
|
static double |
BasisLibrary.numberF(int node,
DOM dom)
XSLT Standard function number()
|
static double |
BasisLibrary.numberF(Object obj,
DOM dom)
XSLT Standard function number(value)
|
void |
AbstractTranslet.prepassDocument(DOM document)
Give the translet an opportunity to perform a prepass on the document
to extract any information that it can store in an optimized form.
|
static Node |
BasisLibrary.referenceToNode(Object obj,
DOM dom)
Utility function: used to convert reference to org.w3c.dom.Node.
|
static NodeList |
BasisLibrary.referenceToNodeList(Object obj,
DOM dom)
Utility function: used to convert reference to org.w3c.dom.NodeList.
|
static String |
BasisLibrary.referenceToString(Object obj,
DOM dom)
Utility function: used to convert reference to String.
|
void |
AbstractTranslet.setKeyIndexDom(String name,
DOM document)
This method builds key indexes - it is overridden in the compiled
translet in cases where the
|
static String |
BasisLibrary.startXslElement(String qname,
String namespace,
SerializationHandler handler,
DOM dom,
int node)
Utility function for the implementation of xsl:element.
|
static String |
BasisLibrary.stringF(int node,
DOM dom)
XSLT Standard function string()
|
static String |
BasisLibrary.stringF(Object obj,
DOM dom)
XSLT Standard function string(value)
|
static String |
BasisLibrary.stringF(Object obj,
int node,
DOM dom)
XSLT Standard function string(value)
|
static double |
BasisLibrary.sumF(DTMAxisIterator iterator,
DOM dom)
XSLT Standard function sum(node-set).
|
static boolean |
BasisLibrary.testLanguage(String testLang,
DOM dom,
int node)
Utility function: used to test context node's language
|
abstract void |
AbstractTranslet.transform(DOM document,
DTMAxisIterator iterator,
SerializationHandler handler)
Main transform() method - this is overridden by the compiled translet
|
void |
AbstractTranslet.transform(DOM document,
SerializationHandler handler)
Calls transform() with a given output handler
|
Constructor and Description |
---|
Attributes(DOM document,
int element) |
Modifier and Type | Method and Description |
---|---|
protected DOM |
XSLTCSource.getDOM(XSLTCDTMManager dtmManager,
AbstractTranslet translet)
Internal interface which returns a DOM for a given DTMManager and translet.
|
DOM |
TemplatesImpl.getStylesheetDOM()
Return the thread local copy of the stylesheet DOM.
|
DOM |
TransformerImpl.retrieveDocument(String baseURI,
String href,
Translet translet)
This class should only be used as a DOMCache for the translet if the
URIResolver has been set.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TransformerImpl.setDOM(DOM dom)
Set the internal DOM that will be used for the next transformation
|
void |
TemplatesImpl.setStylesheetDOM(DOM sdom)
Set the thread local copy of the stylesheet DOM.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.