|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.response.sax.TSAXDispatchingDeclHandler
public class TSAXDispatchingDeclHandler
TSAXDispatchingDeclHandler implements the DeclHandler interface. An instance of this class is responsible to dispatch all decl events to either a info bases decl handler or a query content based decl handler.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_ID
The property id according to which a concrete DeclHandler instance is set on an XMLReader instance. |
Constructor Summary | |
---|---|
TSAXDispatchingDeclHandler(TSAXDispatchingDefaultHandler dispatchingDefaultHandler,
org.xml.sax.ext.DeclHandler infoDeclHandler,
org.xml.sax.ext.DeclHandler queryDeclHandler)
Initialzes the handler with the given dispatching default handler and the information and query content specific decl handlers. |
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. |
void |
internalEntityDecl(java.lang.String name,
java.lang.String value)
Report an internal entity declaration. |
void |
setInfoDeclHandler(org.xml.sax.ext.DeclHandler infoDeclHandler)
Sets the information specific decl handler to which events might be dispatched. |
void |
setQueryDeclHandler(org.xml.sax.ext.DeclHandler queryDeclHandler)
Sets the query content specific decl handler to which events might be dispatched. |
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 TSAXDispatchingDeclHandler(TSAXDispatchingDefaultHandler dispatchingDefaultHandler, org.xml.sax.ext.DeclHandler infoDeclHandler, org.xml.sax.ext.DeclHandler queryDeclHandler)
Method Detail |
---|
public void setInfoDeclHandler(org.xml.sax.ext.DeclHandler infoDeclHandler)
public void setQueryDeclHandler(org.xml.sax.ext.DeclHandler queryDeclHandler)
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |