org.apache.xalan.xsltc.dom
Class LoadDocument

java.lang.Object
  extended by org.apache.xalan.xsltc.dom.LoadDocument

public final class LoadDocument
extends java.lang.Object


Field Summary
private static java.lang.String NAMESPACE_FEATURE
           
 
Constructor Summary
LoadDocument()
           
 
Method Summary
private static DTMAxisIterator document(DOM newdom, AbstractTranslet translet, DOM dom)
          Create a DTMAxisIterator for the newdom.
private static DTMAxisIterator document(DTMAxisIterator arg1, java.lang.String baseURI, AbstractTranslet translet, DOM dom)
           
private static DTMAxisIterator document(java.lang.String uri, java.lang.String base, AbstractTranslet translet, DOM dom)
           
private static DTMAxisIterator document(java.lang.String uri, java.lang.String base, AbstractTranslet translet, DOM dom, boolean cacheDOM)
           
static DTMAxisIterator documentF(java.lang.Object arg1, DTMAxisIterator arg2, java.lang.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 documentF(java.lang.Object arg, java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE_FEATURE

private static final java.lang.String NAMESPACE_FEATURE
See Also:
Constant Field Values
Constructor Detail

LoadDocument

public LoadDocument()
Method Detail

documentF

public static DTMAxisIterator documentF(java.lang.Object arg1,
                                        DTMAxisIterator arg2,
                                        java.lang.String xslURI,
                                        AbstractTranslet translet,
                                        DOM dom)
                                 throws TransletException
Interprets the arguments passed from the document() function (see org/apache/xalan/xsltc/compiler/DocumentCall.java) and returns an iterator containing the requested nodes. Builds a union-iterator if several documents are requested. 2 arguments arg1 and arg2. document(Obj, node-set) call

Throws:
TransletException

documentF

public static DTMAxisIterator documentF(java.lang.Object arg,
                                        java.lang.String xslURI,
                                        AbstractTranslet translet,
                                        DOM dom)
                                 throws TransletException
Interprets the arguments passed from the document() function (see org/apache/xalan/xsltc/compiler/DocumentCall.java) and returns an iterator containing the requested nodes. Builds a union-iterator if several documents are requested. 1 arguments arg. document(Obj) call

Throws:
TransletException

document

private static DTMAxisIterator document(java.lang.String uri,
                                        java.lang.String base,
                                        AbstractTranslet translet,
                                        DOM dom)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

document

private static DTMAxisIterator document(java.lang.String uri,
                                        java.lang.String base,
                                        AbstractTranslet translet,
                                        DOM dom,
                                        boolean cacheDOM)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

document

private static DTMAxisIterator document(DTMAxisIterator arg1,
                                        java.lang.String baseURI,
                                        AbstractTranslet translet,
                                        DOM dom)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

document

private static DTMAxisIterator document(DOM newdom,
                                        AbstractTranslet translet,
                                        DOM dom)
                                 throws java.lang.Exception
Create a DTMAxisIterator for the newdom. This is currently only used to create an iterator for the cached stylesheet DOM.

Parameters:
newdom - the cached stylesheet DOM
translet - the translet
the - main dom (should be a MultiDOM)
Returns:
a DTMAxisIterator from the document root
Throws:
java.lang.Exception