APIdia Launch Partner
Top Methods
com.sun.org.apache.xalan.internal.xsltc

public Interface DOMCache

Known Direct Implementers
com.sun.org.apache.xalan.internal.xsltc.dom.DocumentCache, com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl

Author
Morten Jorgensen

Method Summary

Modifier and TypeMethod and Description
public DOM
retrieveDocument(String
The base URI used by the document call.
baseURI
,
String
The href argument passed to the document function.
href
,
Translet
A reference to the translet requesting the document
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);

Method Detail

retrieveDocumentback to summary
public DOM 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);

Parameters
baseURI:String

The base URI used by the document call.

href:String

The href argument passed to the document function.

translet:Translet

A reference to the translet requesting the document