Contents | Package | Class | Tree | Deprecated | Index | Help | XML for Java 1.0.4 | ||
PREV | NEXT | SHOW LISTS | HIDE LISTS |
This interface is implemented by application programs which want to modify the specifics of the DTD that the XML document might be validated against.
For example, an application program may want to tune its standardized API description,
which is expressed in the form of a DTD, in order to accomodate platform-specific limitations.
In this case, the application is registered with the XML4J parser instance, prior to
parsing the input stream, by using the addPreRootHandler
method. Subsequently,
the implemented handlePreRoot
method will be invoked by the XML4J parser
instance when the input stream is read; the implemented handlePreRoot
method
is responsible for manipulating the DTD.
Method Summary | |
void | handlePreRoot(TXDocument document,
java.lang.String rootName)
|
Method Detail |
public void handlePreRoot(TXDocument document, java.lang.String rootName)
document
- Root Node of this Document.
rootName
- The name of this document's DTD. This value is also known as
the DOCTYPE
and the root Element Name.
Contents | Package | Class | Tree | Deprecated | Index | Help | |||
PREV | NEXT | SHOW LISTS | HIDE LISTS |