public class TSAXDispatchingDeclHandler
extends java.lang.Object
implements org.xml.sax.ext.DeclHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_ID
The property id according to which a concrete DeclHandler instance is set on
an XMLReader instance.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.lang.String PROPERTY_ID
xmlReader.setProperty( TSAXWritingLexicalHandler.PROPERTY_ID , lexicalHandler );
public TSAXDispatchingDeclHandler(TSAXDispatchingDefaultHandler dispatchingDefaultHandler, org.xml.sax.ext.DeclHandler infoDeclHandler, org.xml.sax.ext.DeclHandler queryDeclHandler)
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
Copyright (c) 2017 Software AG. All Rights Reserved.