|
|||||||||
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.TStreamWritingDeclHandler
public class TStreamWritingDeclHandler
TStreamWritingDeclHandler implements the DeclHandler interface. An instance of this class is responsible to write doctype declaration 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 | |
---|---|
TStreamWritingDeclHandler(java.io.Writer writer)
Initialzes the handler with the given character output stream.. |
Method Summary | |
---|---|
void |
attributeDecl(java.lang.String eName,
java.lang.String aName,
java.lang.String type,
java.lang.String valueDefault,
java.lang.String value)
Report an attribute type declaration. |
void |
elementDecl(java.lang.String name,
java.lang.String model)
Report an element type declaration. |
void |
externalEntityDecl(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Report a parsed external entity declaration. |
boolean |
hasWrittenDeclEvents()
|
void |
internalEntityDecl(java.lang.String name,
java.lang.String value)
Report an internal entity declaration. |
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. |
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 TStreamWritingDeclHandler(java.io.Writer writer)
Method Detail |
---|
public void setWriter(java.io.Writer writer)
public void setWriter(TStreamWriterHelper writerHelper)
public void attributeDecl(java.lang.String eName, java.lang.String aName, java.lang.String type, java.lang.String valueDefault, java.lang.String value) throws org.xml.sax.SAXException
attributeDecl
in interface org.xml.sax.ext.DeclHandler
org.xml.sax.SAXException
public void elementDecl(java.lang.String name, java.lang.String model) throws org.xml.sax.SAXException
elementDecl
in interface org.xml.sax.ext.DeclHandler
org.xml.sax.SAXException
public void externalEntityDecl(java.lang.String name, java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException
externalEntityDecl
in interface org.xml.sax.ext.DeclHandler
org.xml.sax.SAXException
public void internalEntityDecl(java.lang.String name, java.lang.String value) throws org.xml.sax.SAXException
internalEntityDecl
in interface org.xml.sax.ext.DeclHandler
org.xml.sax.SAXException
public boolean hasWrittenDeclEvents()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |