org.apache.tapestry.parse
Class ValidatePublicIdRule
java.lang.Object
|
+--org.apache.tapestry.parse.BaseDocumentRule
|
+--org.apache.tapestry.parse.ValidatePublicIdRule
- All Implemented Interfaces:
- IDocumentRule
- public class ValidatePublicIdRule
- extends BaseDocumentRule
Rule used to validate the public id of the document, ensuring that
it is not null, and that it matches an expected value.
- Since:
- 3.0
- Version:
- $Id: ValidatePublicIdRule.java,v 1.6 2004/02/19 17:37:41 hlship Exp $
- Author:
- Howard Lewis Ship
Method Summary |
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 |
ValidatePublicIdRule
public ValidatePublicIdRule(String[] publicIds,
String rootElement)
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
- Overrides:
startDocument
in class BaseDocumentRule
Exception