FileDocCategorySizeDatePackage
MyDeclHandler.javaAPI DocExample5939Thu Aug 16 16:37:02 BST 2001javaxml2

MyDeclHandler

public class MyDeclHandler extends Object implements DeclHandler
MyDeclHandler is a "default" implementation of the SAX DeclHandler interface, and simply provides empty implementations of all defined methods.

Fields Summary
Constructors Summary
Methods Summary
public voidattributeDecl(java.lang.String eltName, java.lang.String attName, java.lang.String type, java.lang.String defaultValue, java.lang.String value)

Reports an attribute declaration.

param
eltName element the attribute is on.
param
attName attribute name declared.
param
type the attribute type.
param
defaultValue default value for attribute, if defined.
param
value value for attribute, if #FIXED.
throws
SAXException - when things go wrong.

        
    
public voidelementDecl(java.lang.String name, java.lang.String model)

Reports an element declaration.

param
name the element's name.
param
model the textual element model.
throws
SAXException - when things go wrong.

    
public voidexternalEntityDecl(java.lang.String name, java.lang.String publicID, java.lang.String systemID)

Reports an (external) entity declaration.

param
name the entity name
param
publicID public ID for the entity
param
systemID system ID for the entity
throws
SAXException - when things go wrong.

    
public voidinternalEntityDecl(java.lang.String name, java.lang.String value)

Reports an (internal) entity declaration.

param
name the entity name
param
value value for entity
throws
SAXException - when things go wrong.