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 act on processing instructions imbedded in XML documents.
For example, an application program may want to resolve a PI's public ID to a locally
defined resource in order prevent the overhead of retrieving the external resource
using the system identifier. In this case, the application is registered with the XML4J
parser instance, prior to parsing the input stream, by using
the addPIHandler
method. Subsequently, the implemented handlePI
method will be invoked by the XML4J parser instance when the input stream is read; the
implemented handlePI
method is responsible for manipulating the passed data.
Method Summary | |
void | handlePI(java.lang.String name,
java.lang.String data)
|
Method Detail |
public void handlePI(java.lang.String name, java.lang.String data)
name
- The first token following the markup.
data
- From the character immediately after name to the
character immediately preceding the ?>
.
Contents | Package | Class | Tree | Deprecated | Index | Help | |||
PREV | NEXT | SHOW LISTS | HIDE LISTS |