org.apache.tapestry.parse
Class BaseDocumentRule

java.lang.Object
  extended by org.apache.tapestry.parse.BaseDocumentRule
All Implemented Interfaces:
IDocumentRule
Direct Known Subclasses:
ValidatePublicIdRule

public class BaseDocumentRule
extends Object
implements IDocumentRule

Base implementation of IDocumentRule.

Since:
3.0
Version:
$Id: BaseDocumentRule.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Constructor Summary
BaseDocumentRule()
           
 
Method Summary
 void endDocument()
           
 void finish()
           
 SpecificationDigester getDigester()
           
 void setDigester(SpecificationDigester digester)
           
 void startDocument(String namespace, String name, org.xml.sax.Attributes attributes)
          Invoked at the time the first element in the document is parsed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDocumentRule

public BaseDocumentRule()
Method Detail

getDigester

public SpecificationDigester getDigester()

setDigester

public void setDigester(SpecificationDigester digester)
Specified by:
setDigester in interface IDocumentRule

startDocument

public void startDocument(String namespace,
                          String name,
                          org.xml.sax.Attributes attributes)
                   throws Exception
Description copied from interface: IDocumentRule
Invoked at the time the first element in the document is parsed. By this time, the publicId will be known.

Specified by:
startDocument in interface IDocumentRule
Throws:
Exception

endDocument

public void endDocument()
                 throws Exception
Specified by:
endDocument in interface IDocumentRule
Throws:
Exception

finish

public void finish()
            throws Exception
Specified by:
finish in interface IDocumentRule
Throws:
Exception