de.ispsoft.jaxme.generator.dtd
Class DTDSchemaHandler

java.lang.Object
  extended byde.ispsoft.jaxme.generator.dtd.DTDSchemaHandler
All Implemented Interfaces:
org.xml.sax.ext.DeclHandler

public class DTDSchemaHandler
extends java.lang.Object
implements org.xml.sax.ext.DeclHandler

A SAX handler for receiving the schema declarations.

Version:
$Id: DTDSchemaHandler.java,v 1.2 2003/03/28 01:46:41 joe Exp $
Author:
Jochen Wiedmann

Constructor Summary
DTDSchemaHandler()
          Constructor for DTDSchemaHandler.
 
Method Summary
 void attributeDecl(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4)
           
 void elementDecl(java.lang.String arg0, java.lang.String arg1)
           
 void externalEntityDecl(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2)
           
 java.util.List getDeclarations()
          Returns a list of DTDElement and DTDAttribute objects that have been parsed from the DTD.
 void internalEntityDecl(java.lang.String arg0, java.lang.String arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTDSchemaHandler

public DTDSchemaHandler()
Constructor for DTDSchemaHandler.

Method Detail

elementDecl

public void elementDecl(java.lang.String arg0,
                        java.lang.String arg1)
                 throws org.xml.sax.SAXException
Specified by:
elementDecl in interface org.xml.sax.ext.DeclHandler
Throws:
org.xml.sax.SAXException
See Also:
DeclHandler.elementDecl(String, String)

attributeDecl

public void attributeDecl(java.lang.String arg0,
                          java.lang.String arg1,
                          java.lang.String arg2,
                          java.lang.String arg3,
                          java.lang.String arg4)
                   throws org.xml.sax.SAXException
Specified by:
attributeDecl in interface org.xml.sax.ext.DeclHandler
Throws:
org.xml.sax.SAXException
See Also:
DeclHandler.attributeDecl(String, String, String, String, String)

internalEntityDecl

public void internalEntityDecl(java.lang.String arg0,
                               java.lang.String arg1)
                        throws org.xml.sax.SAXException
Specified by:
internalEntityDecl in interface org.xml.sax.ext.DeclHandler
Throws:
org.xml.sax.SAXException
See Also:
DeclHandler.internalEntityDecl(String, String)

externalEntityDecl

public void externalEntityDecl(java.lang.String arg0,
                               java.lang.String arg1,
                               java.lang.String arg2)
                        throws org.xml.sax.SAXException
Specified by:
externalEntityDecl in interface org.xml.sax.ext.DeclHandler
Throws:
org.xml.sax.SAXException
See Also:
DeclHandler.externalEntityDecl(String, String, String)

getDeclarations

public java.util.List getDeclarations()

Returns a list of DTDElement and DTDAttribute objects that have been parsed from the DTD.