|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 |
setContentHandler(org.xml.sax.ContentHandler handler)
we can have either an OutputMethodHandler, a ContentHandler or DocumentHandler, not two or three |
void |
setDebugger(java.lang.String name,
ActionDebugTarget debugger)
sets a debugging target |
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 XSLProcessorpublic 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.Parserorg.xml.sax.SAXExceptionpublic void setDTDHandler(org.xml.sax.DTDHandler handler)
setDTDHandler in interface org.xml.sax.Parserpublic void setEntityResolver(org.xml.sax.EntityResolver resolver)
setEntityResolver in interface org.xml.sax.Parserpublic void setOutputMethodHandler(OutputMethodHandler handler)
setOutputMethodHandler in interface XSLProcessorpublic void setDocumentHandler(org.xml.sax.DocumentHandler handler)
setDocumentHandler in interface org.xml.sax.Parserpublic void setContentHandler(org.xml.sax.ContentHandler handler)
public void parse(java.lang.String systemId)
throws org.xml.sax.SAXException,
java.io.IOException
parse in interface org.xml.sax.Parserorg.xml.sax.SAXException
java.io.IOExceptionpublic 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 XSLProcessororg.xml.sax.SAXException
java.io.IOException
public void parse(org.xml.sax.InputSource source)
throws org.xml.sax.SAXException,
java.io.IOException
parse in interface org.xml.sax.Parserorg.xml.sax.SAXException
java.io.IOException
public void setSaxExtensionFilter(java.lang.String name,
SaxFilterMaker xrap)
setSaxExtensionFilter in interface XSLProcessor
public void setDebugger(java.lang.String name,
ActionDebugTarget debugger)
setDebugger in interface XSLProcessorpublic java.lang.Object clone()
XSLProcessor
clone in interface XSLProcessorpublic 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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||