com.itmill.toolkit.terminal.web
Class XSLReader
java.lang.Object
com.itmill.toolkit.terminal.web.XSLReader
- All Implemented Interfaces:
- ContentHandler, XMLReader
public class XSLReader
- extends Object
- implements XMLReader, ContentHandler
Class implementing XMLReader for the UIDLTransformer.
- Since:
- 3.0
- Version:
- 4.1.4
- Author:
- IT Mill Ltd.
|
Method Summary |
void |
characters(char[] ch,
int start,
int length)
|
void |
endDocument()
|
void |
endElement(String namespaceURI,
String localName,
String qName)
|
void |
endPrefixMapping(String prefix)
|
ContentHandler |
getContentHandler()
Overrides the default content handler. |
DTDHandler |
getDTDHandler()
|
EntityResolver |
getEntityResolver()
|
ErrorHandler |
getErrorHandler()
|
boolean |
getFeature(String name)
|
Object |
getProperty(String name)
|
void |
ignorableWhitespace(char[] ch,
int start,
int length)
|
void |
parse(InputSource input)
Parses all streams given for constructor parameter. |
void |
parse(String systemId)
Overrides the parse. |
void |
processingInstruction(String target,
String data)
|
void |
setContentHandler(ContentHandler handler)
Overrides the default content handler. |
void |
setDocumentLocator(Locator locator)
|
void |
setDTDHandler(DTDHandler handler)
|
void |
setEntityResolver(EntityResolver resolver)
|
void |
setErrorHandler(ErrorHandler handler)
|
void |
setFeature(String name,
boolean value)
|
void |
setProperty(String name,
Object value)
|
void |
skippedEntity(String name)
|
void |
startDocument()
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
|
void |
startPrefixMapping(String prefix,
String uri)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSLT_UNKNOWN
protected static final int XSLT_UNKNOWN
- See Also:
- Constant Field Values
XSLT_XALAN
protected static final int XSLT_XALAN
- See Also:
- Constant Field Values
XSLT_SAXON6
protected static final int XSLT_SAXON6
- See Also:
- Constant Field Values
XSLT_SAXON7
protected static final int XSLT_SAXON7
- See Also:
- Constant Field Values
XSLT_RESIN
protected static final int XSLT_RESIN
- See Also:
- Constant Field Values
XSLT_WEBLOGIC
protected static final int XSLT_WEBLOGIC
- See Also:
- Constant Field Values
xsltProcessor
protected static int xsltProcessor
XSLReader
public XSLReader(XMLReader reader,
Collection streams)
parse
public void parse(InputSource input)
throws IOException,
SAXException
- Parses all streams given for constructor parameter. The input parameter
is ignored.
- Specified by:
parse in interface XMLReader
- Throws:
IOException
SAXException- See Also:
XMLReader.parse(InputSource)
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
- Specified by:
endElement in interface ContentHandler
- Throws:
SAXException- See Also:
ContentHandler.endElement(String, String, String)
processingInstruction
public void processingInstruction(String target,
String data)
throws SAXException
- Specified by:
processingInstruction in interface ContentHandler
- Throws:
SAXException- See Also:
ContentHandler.processingInstruction(String, String)
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
- Specified by:
startElement in interface ContentHandler
- Throws:
SAXException- See Also:
ContentHandler.startElement(String, String, String,
Attributes)
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
characters in interface ContentHandler
- Throws:
SAXException- See Also:
ContentHandler.characters(char[], int, int)
startDocument
public void startDocument()
throws SAXException
- Specified by:
startDocument in interface ContentHandler
- Throws:
SAXException- See Also:
ContentHandler.startDocument()
endDocument
public void endDocument()
throws SAXException
- Specified by:
endDocument in interface ContentHandler
- Throws:
SAXException- See Also:
ContentHandler.endDocument()
endPrefixMapping
public void endPrefixMapping(String prefix)
throws SAXException
- Specified by:
endPrefixMapping in interface ContentHandler
- Throws:
SAXException- See Also:
ContentHandler.endPrefixMapping(String)
ignorableWhitespace
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
ignorableWhitespace in interface ContentHandler
- Throws:
SAXException- See Also:
ContentHandler.ignorableWhitespace(char[], int, int)
setDocumentLocator
public void setDocumentLocator(Locator locator)
- Specified by:
setDocumentLocator in interface ContentHandler
- See Also:
ContentHandler.setDocumentLocator(Locator)
skippedEntity
public void skippedEntity(String name)
throws SAXException
- Specified by:
skippedEntity in interface ContentHandler
- Throws:
SAXException- See Also:
ContentHandler.skippedEntity(String)
startPrefixMapping
public void startPrefixMapping(String prefix,
String uri)
throws SAXException
- Specified by:
startPrefixMapping in interface ContentHandler
- Throws:
SAXException- See Also:
ContentHandler.startPrefixMapping(String, String)
getContentHandler
public ContentHandler getContentHandler()
- Overrides the default content handler.
- Specified by:
getContentHandler in interface XMLReader
- See Also:
XMLReader.getContentHandler()
setContentHandler
public void setContentHandler(ContentHandler handler)
- Overrides the default content handler.
- Specified by:
setContentHandler in interface XMLReader
- See Also:
XMLReader.setContentHandler(ContentHandler)
getDTDHandler
public DTDHandler getDTDHandler()
- Specified by:
getDTDHandler in interface XMLReader
- See Also:
XMLReader.getDTDHandler()
getEntityResolver
public EntityResolver getEntityResolver()
- Specified by:
getEntityResolver in interface XMLReader
- See Also:
XMLReader.getEntityResolver()
getErrorHandler
public ErrorHandler getErrorHandler()
- Specified by:
getErrorHandler in interface XMLReader
- See Also:
XMLReader.getErrorHandler()
getFeature
public boolean getFeature(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
getFeature in interface XMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException- See Also:
XMLReader.getFeature(String)
getProperty
public Object getProperty(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
getProperty in interface XMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException- See Also:
XMLReader.getProperty(String)
parse
public void parse(String systemId)
throws IOException,
SAXException
- Overrides the parse.
- Specified by:
parse in interface XMLReader
- Throws:
IOException
SAXException- See Also:
XMLReader.parse(String)
setDTDHandler
public void setDTDHandler(DTDHandler handler)
- Specified by:
setDTDHandler in interface XMLReader
- See Also:
XMLReader.setDTDHandler(DTDHandler)
setEntityResolver
public void setEntityResolver(EntityResolver resolver)
- Specified by:
setEntityResolver in interface XMLReader
- See Also:
XMLReader.setEntityResolver(EntityResolver)
setErrorHandler
public void setErrorHandler(ErrorHandler handler)
- Specified by:
setErrorHandler in interface XMLReader
- See Also:
XMLReader.setErrorHandler(ErrorHandler)
setFeature
public void setFeature(String name,
boolean value)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
setFeature in interface XMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException- See Also:
XMLReader.setFeature(String, boolean)
setProperty
public void setProperty(String name,
Object value)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
setProperty in interface XMLReader
- Throws:
SAXNotRecognizedException
SAXNotSupportedException- See Also:
XMLReader.setProperty(String, Object)
Copyright © 2000-2008 IT Mill Ltd. All Rights Reserved.