org.apache.tapestry.parse
Interface IDocumentRule

All Known Implementing Classes:
BaseDocumentRule, ValidatePublicIdRule

public interface IDocumentRule

A SpecificationDigester rule that executes at the start and end of the document.

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

Method Summary
 void endDocument()
           
 void finish()
           
 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.
 

Method Detail

setDigester

void setDigester(SpecificationDigester digester)

startDocument

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

Throws:
Exception

endDocument

void endDocument()
                 throws Exception
Throws:
Exception

finish

void finish()
            throws Exception
Throws:
Exception