| java.lang.Object org.ozoneDB.xml.util.SAXChunkProducer
SAXChunkProducer | final public class SAXChunkProducer implements ContentHandler,LexicalHandler,Serializable(Code) | | This class produces a sequence of
SAXEventChunk s out of SAX events or
out of a DOM tree. These chunks are used to communicate between client and
server.
version: $Revision: 1.1 $ $Date: 2001/12/18 10:31:31 $ author: SMB |
Method Summary | |
final public void | characters(char[] ch, int start, int length) Receive notification of character data inside an element. | final protected void | checkChunk() | public ChunkOutputStream | chunkStream() | public void | comment(char[] ch, int start, int length) | final public void | createNextChunk() Converts a given DOM tree in multiple steps to SAX events.
Every call throws the specified number of events (or less, if the
conversion is finished).
Before calling this method the first time
SAXChunkProducer.nextNode nextNode has to
be set to the root node of the DOM tree to convert, and
SAXChunkProducer.chunkState has to be set to
SAXChunkProducer.CHUNK_STATE_INIT . | public void | endCDATA() | public void | endDTD() | final public void | endDocument() Received notification of the end of the document. | final public void | endElement(String _namespaceURI, String _localName, String _rawName) Receive notification of the end of an element. | public void | endEntity(String name) | final public void | endPrefixMapping(String prefix) End the scope of a prefix-URI mapping. | final public void | ignorableWhitespace(char[] ch, int start, int length) Receive notification of ignorable whitespace in element content. | final public void | processingInstruction(String target, String data) Receive notification of a processing instruction. | final public void | setDocumentLocator(Locator locator) Receive an object for locating the origin of SAX document events. | final public void | skippedEntity(java.lang.String name) Receive notification of a skipped entity. | public void | startCDATA() | public void | startDTD(String name, String publicId, String systemId) | final public void | startDocument() Received notification of the beginning of the document. | final public void | startElement(String namespaceURI, String localName, String rawName, Attributes atts) Receive notification of the start of an element. | public void | startEntity(String name) | final public void | startPrefixMapping(String prefix, String uri) Begin the scope of a prefix-URI Namespace mapping. |
dbConsumer | public SAXChunkConsumer dbConsumer(Code) | | Used for SAX storage. Because chunk processing is done using
SAXChunkProducerDelegate (which means consumer creation and
consumer usage happens in different methods) the consumer has to be
stored somewhere. I choose the corresponding producer.
|
characters | final public void characters(char[] ch, int start, int length) throws SAXException(Code) | | Receive notification of character data inside an element.
|
checkChunk | final protected void checkChunk()(Code) | | |
endDocument | final public void endDocument() throws SAXException(Code) | | Received notification of the end of the document.
|
endPrefixMapping | final public void endPrefixMapping(String prefix) throws SAXException(Code) | | End the scope of a prefix-URI mapping.
|
ignorableWhitespace | final public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException(Code) | | Receive notification of ignorable whitespace in element content.
|
processingInstruction | final public void processingInstruction(String target, String data) throws SAXException(Code) | | Receive notification of a processing instruction.
|
setDocumentLocator | final public void setDocumentLocator(Locator locator)(Code) | | Receive an object for locating the origin of SAX document events.
|
startDocument | final public void startDocument() throws SAXException(Code) | | Received notification of the beginning of the document.
|
startPrefixMapping | final public void startPrefixMapping(String prefix, String uri) throws SAXException(Code) | | Begin the scope of a prefix-URI Namespace mapping.
|
|
|