| java.lang.Object org.jasig.portal.utils.SAX2FilterImpl org.jasig.portal.utils.SAX2BufferImpl
All known Subclasses: org.jasig.portal.ChannelRenderingBuffer,
Method Summary | |
public void | characters(char ch, int start, int length) | public synchronized void | clearBuffer() | public void | comment(char ch, int start, int length) | public void | endCDATA() | public void | endDTD() | public void | endDocument() | public void | endElement(String uri, String localName, String qName) | public void | endEntity(String name) | public void | endPrefixMapping(String prefix) | public void | error(SAXParseException e) | public void | fatalError(SAXParseException e) | public void | ignorableWhitespace(char ch, int start, int length) | public synchronized boolean | isEmpty() | public void | notationDecl(String name, String publicId, String systemId) | public void | outputBuffer() Outputs buffer's content to a current set of handlers. | public void | outputBuffer(ContentHandler ch) Outputs buffer's content to a specified content handler. | public void | processingInstruction(String target, String data) | public void | setDocumentLocator(Locator locator) | public void | setOutputAtDocumentEnd(boolean setting) Tells buffer to automatically output itself once
an end of a document is reached. | public void | skippedEntity(String name) | public synchronized void | startBuffering() | public void | startCDATA() | public void | startDTD(String name, String publicId, String systemId) | public void | startDocument() | public void | startElement(String uri, String localName, String qName, Attributes atts) | public void | startEntity(String name) | public void | startPrefixMapping(String prefix, String uri) | public synchronized void | stopBuffering() | public void | unparsedEntityDecl(String name, String publicId, String systemId, String notationName) | public void | warning(SAXParseException e) |
ENDPREFIXMAPPING | final public static Integer ENDPREFIXMAPPING(Code) | | |
IGNORABLEWHITESPACE | final public static Integer IGNORABLEWHITESPACE(Code) | | |
PROCESSINGINSTRUCTION | final public static Integer PROCESSINGINSTRUCTION(Code) | | |
STARTPREFIXMAPPING | final public static Integer STARTPREFIXMAPPING(Code) | | |
UNPARSEDENTITYDECL | final public static Integer UNPARSEDENTITYDECL(Code) | | |
buffering | protected boolean buffering(Code) | | |
copyCharBlock | protected boolean copyCharBlock(Code) | | |
outputAtDocumentEnd | protected boolean outputAtDocumentEnd(Code) | | |
SAX2BufferImpl | public SAX2BufferImpl()(Code) | | Construct an empty XML buffer, with no parent.
This filter will have no parent: you must assign a parent
before you start a parse or do any configuration with
setFeature or setProperty.
By default, buffering is on, outputAtDocumentEnd is off.
See Also: org.xml.sax.XMLReader.setFeature See Also: org.xml.sax.XMLReader.setProperty |
SAX2BufferImpl | public SAX2BufferImpl(ContentHandler ch)(Code) | | Construct an XML filter based on a unified handler.
Same default flag settings as with empty constructor.
|
characters | public void characters(char ch, int start, int length) throws SAXException(Code) | | |
clearBuffer | public synchronized void clearBuffer()(Code) | | |
ignorableWhitespace | public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code) | | |
isEmpty | public synchronized boolean isEmpty()(Code) | | |
outputBuffer | public void outputBuffer() throws SAXException(Code) | | Outputs buffer's content to a current set of handlers.
Please note that this method is not thread-safe if
handlers are being reset by different threads.
Use the other outputBuffer(ContentHandler) method in such cases.
exception: SAXException - if an error occurs |
outputBuffer | public void outputBuffer(ContentHandler ch) throws SAXException(Code) | | Outputs buffer's content to a specified content handler.
Please note that the content handler can also represent
lexical handler, dtd handler and error handler.
This method is thread-safe.
Parameters: ch - a ContenteHandler value exception: SAXException - if an error occurs |
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | |
setOutputAtDocumentEnd | public void setOutputAtDocumentEnd(boolean setting)(Code) | | Tells buffer to automatically output itself once
an end of a document is reached.
Parameters: setting - a boolean value |
startBuffering | public synchronized void startBuffering()(Code) | | |
Methods inherited from org.jasig.portal.utils.SAX2FilterImpl | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void comment(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endCDATA() throws SAXException(Code)(Java Doc) public void endDTD() throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endEntity(String name) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public ContentHandler getContentHandler()(Code)(Java Doc) public DTDHandler getDTDHandler()(Code)(Java Doc) public EntityResolver getEntityResolver()(Code)(Java Doc) public ErrorHandler getErrorHandler()(Code)(Java Doc) public boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException(Code)(Java Doc) public XMLReader getParent()(Code)(Java Doc) public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void parse(InputSource input) throws SAXException, IOException(Code)(Java Doc) public void parse(String systemId) throws SAXException, IOException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException(Code)(Java Doc) public void setAllHandlers(ContentHandler ch)(Code)(Java Doc) public void setContentHandler(ContentHandler handler)(Code)(Java Doc) public void setDTDHandler(DTDHandler handler)(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void setEntityResolver(EntityResolver resolver)(Code)(Java Doc) public void setErrorHandler(ErrorHandler handler)(Code)(Java Doc) public void setFeature(String name, boolean state) throws SAXNotRecognizedException, SAXNotSupportedException(Code)(Java Doc) public void setLexicalHandler(LexicalHandler handler)(Code)(Java Doc) public void setParent(XMLReader parent)(Code)(Java Doc) public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startCDATA() throws SAXException(Code)(Java Doc) public void startDTD(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException(Code)(Java Doc) public void startEntity(String name) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|