|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.objectModel.stream.TStreamWritingLexicalHandler
public class TStreamWritingLexicalHandler
TSAXWritingLexicalHandler implements the LexicalHandler interface. An instance of this class is responsible to write lexical SAX events thrown by an associated parser to a given data sunk.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_ID
The property id according to which a concrete LexicalHandler instance is set on an XMLReader instance. |
Constructor Summary | |
---|---|
TStreamWritingLexicalHandler(java.io.Writer writer,
TStreamWritingDeclHandler streamWritingDeclHandler)
Initialzes the handler with the given character output stream.. |
Method Summary | |
---|---|
void |
comment(char[] ch,
int start,
int length)
Report an XML comment anywhere in the document. |
void |
endCDATA()
Report the end of a CDATA section. |
void |
endDTD()
Report the end of DTD declarations. |
void |
endEntity(java.lang.String name)
Report the end of an entity. |
void |
setDelegateHandler(org.xml.sax.ext.LexicalHandler lexicalHandlerDelegate)
Sets a lexical handler to delegate the (currently only required!!) events (CDATA). |
void |
setWriter(TStreamWriterHelper writerHelper)
Sets a new character output stream to which events can be written to. |
void |
setWriter(java.io.Writer writer)
Sets a new character output stream to which events can be written to. |
void |
startCDATA()
Report the start of a CDATA section. |
void |
startDTD(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Report the start of DTD declarations, if any. |
void |
startEntity(java.lang.String name)
Report the beginning of an entity in content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_ID
xmlReader.setProperty( TSAXWritingLexicalHandler.PROPERTY_ID , lexicalHandler );
Constructor Detail |
---|
public TStreamWritingLexicalHandler(java.io.Writer writer, TStreamWritingDeclHandler streamWritingDeclHandler)
Method Detail |
---|
public void setWriter(TStreamWriterHelper writerHelper)
public void setDelegateHandler(org.xml.sax.ext.LexicalHandler lexicalHandlerDelegate)
public void setWriter(java.io.Writer writer)
public void comment(char[] ch, int start, int length) throws org.xml.sax.SAXException
comment
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
public void startCDATA() throws org.xml.sax.SAXException
startCDATA
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
public void endCDATA() throws org.xml.sax.SAXException
endCDATA
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
public void startDTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException
startDTD
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
public void endDTD() throws org.xml.sax.SAXException
endDTD
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
public void endEntity(java.lang.String name) throws org.xml.sax.SAXException
endEntity
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
public void startEntity(java.lang.String name) throws org.xml.sax.SAXException
startEntity
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |