|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jclark.xsl.sax.XSLProcessorImpl
An XSLT Processor
Constructor Summary | |
XSLProcessorImpl()
|
Method Summary | |
java.lang.Object |
clone()
clone after loadStylesheet() enables us to re-use a transformer, without recompiling the stylesheet |
java.lang.Object |
getParameter(Name name)
|
void |
loadStylesheet(org.xml.sax.InputSource sheetSource)
load (and compile) the stylesheet |
void |
parse(org.xml.sax.InputSource source)
load the input document into a (xslt) object model, and run the transform |
void |
parse(java.lang.String systemId)
run the transform |
void |
setDocumentHandler(org.xml.sax.DocumentHandler handler)
we can have either an OutputMethodHandler, or a DocumentHandler, not both |
void |
setDTDHandler(org.xml.sax.DTDHandler handler)
SAX 1 Parser API |
void |
setEntityResolver(org.xml.sax.EntityResolver resolver)
SAX 1 PArser API |
void |
setErrorHandler(org.xml.sax.ErrorHandler handler)
SAX 1 PArser API |
void |
setLocale(java.util.Locale locale)
SAX 1 Parser API |
void |
setOutputMethodHandler(OutputMethodHandler handler)
we can have either an OutputMethodHandler, or a DocumentHandler, not both |
void |
setParameter(java.lang.String name,
java.lang.Object obj)
set the run-time parameters for the stylesheet |
void |
setParser(org.xml.sax.Parser parser)
use same parser for input and styleSheet |
void |
setParser(org.xml.sax.Parser sourceParser,
org.xml.sax.Parser sheetParser)
set one parser for the stylesheet, and another for the input |
void |
setParser(XMLProcessorEx loader)
|
void |
setSaxExtensionFilter(java.lang.String name,
SaxFilterMaker xrap)
sets an extension element processor for XRAP |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XSLProcessorImpl()
Method Detail |
public void setParser(org.xml.sax.Parser sourceParser, org.xml.sax.Parser sheetParser)
XSLProcessor
setParser
in interface XSLProcessor
public void setParser(XMLProcessorEx loader)
public void setParser(org.xml.sax.Parser parser)
setParser
in interface XSLProcessor
public void setLocale(java.util.Locale locale) throws org.xml.sax.SAXException
setLocale
in interface org.xml.sax.Parser
public void setDTDHandler(org.xml.sax.DTDHandler handler)
setDTDHandler
in interface org.xml.sax.Parser
public void setEntityResolver(org.xml.sax.EntityResolver resolver)
setEntityResolver
in interface org.xml.sax.Parser
public void setOutputMethodHandler(OutputMethodHandler handler)
setOutputMethodHandler
in interface XSLProcessor
public void setDocumentHandler(org.xml.sax.DocumentHandler handler)
setDocumentHandler
in interface org.xml.sax.Parser
public void parse(java.lang.String systemId) throws org.xml.sax.SAXException, java.io.IOException
parse
in interface org.xml.sax.Parser
public void setErrorHandler(org.xml.sax.ErrorHandler handler)
setErrorHandler
in interface org.xml.sax.Parser
public void loadStylesheet(org.xml.sax.InputSource sheetSource) throws org.xml.sax.SAXException, java.io.IOException
loadStylesheet
in interface XSLProcessor
public void setSaxExtensionFilter(java.lang.String name, SaxFilterMaker xrap)
setSaxExtensionFilter
in interface XSLProcessor
public void parse(org.xml.sax.InputSource source) throws org.xml.sax.SAXException, java.io.IOException
parse
in interface org.xml.sax.Parser
public java.lang.Object clone()
XSLProcessor
clone
in interface XSLProcessor
clone
in class java.lang.Object
public java.lang.Object getParameter(Name name)
getParameter
in interface ParameterSet
public void setParameter(java.lang.String name, java.lang.Object obj)
XSLProcessor
setParameter
in interface XSLProcessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |