clearParameters
public void clearParameters()
configureResult
public void configureResult()
getContentHandler
public ContentHandler getContentHandler()
SAX 2 XMLReader API. .. return the content handler this is writing to
- null in no ContentHandler was set
getDTDHandler
public DTDHandler getDTDHandler()
SAX XMLReader API
getEntityResolver
public EntityResolver getEntityResolver()
SAX XMLReader API
getErrorHandler
public ErrorHandler getErrorHandler()
SAX API
- the error handler if one has been set, else
null
.
getFeature
public boolean getFeature(String featureURI)
throws SAXNotRecognizedException,
SAXNotSupportedException
SAX API
getParameter
public Object getParameter(String name)
recognizes names in the form "{namespace-part}local-part"
as used in TrAX
getProperty
public Object getProperty(java.lang.String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
SAX API
getSourceBuilder
public ContentHandler getSourceBuilder()
getSourceOMBuilder
public SAXTwoOMBuilder getSourceOMBuilder(String systemId)
handleXSLException
(package private) void handleXSLException(XSLException e)
throws SAXException,
IOException
rethrows an XSLException as a SAXException
loadStylesheet
public void loadStylesheet(InputSource sheetSource)
throws SAXException,
IOException
load (and compile) the stylesheet
- loadStylesheet in interface XSLProcessor
parse
public void parse(InputSource source)
throws SAXException,
IOException
load the input document into a (xslt) object model,
and run the transform
parse
public void parse(String sourceURI)
throws SAXException,
IOException
SAX XMLReader API
phase
(package private) void phase(int n)
setContentHandler
public void setContentHandler(ContentHandler handler)
SAX 2 XMLReader API.
we can have either an OutputMethodHandler,
or a ContentHandler, not both
- setContentHandler in interface XSLProcessor
setDTDHandler
public void setDTDHandler(DTDHandler handler)
SAX XMLReader API
setEntityResolver
public void setEntityResolver(EntityResolver resolver)
SAX XMLReader API
setErrorHandler
public void setErrorHandler(ErrorHandler handler)
SAX API
setFeature
public void setFeature(String featureURI,
boolean value)
throws SAXNotRecognizedException,
SAXNotSupportedException
SAX API
setParameter
public void setParameter(String name,
Object obj)
recognizes names in the form "{namespace-part}local-part"
as used in TrAX
- setParameter in interface XSLProcessor
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws SAXNotRecognizedException,
SAXNotSupportedException
SAX API
setReaders
public void setReaders(XMLReader sourceReader,
XMLReader sheetReader)
set two XMLReaders (may be the same XMLReader), #1 for
parsing the XML source to transform, #2 for parsing the stylesheeet.
- setReaders in interface XSLProcessor
setSourceReader
public void setSourceReader(XMLReader sourceReader)
prepare for parsing the input XML document
- setSourceReader in interface XSLProcessor