|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetaHandler
The MetaHandler interface allows a small measure of interaction between the XML document being parsed and the parent process. <meta> tags can be placed in the document head, and many are already defined - title to set the title of the document, password to encrypt the document and so on.
Any meta tags that aren't recognised can be passed to an implementation of this class. This allows custom actions to be performed - for example, you could add <meta name="outputfilename" value="report.pdf"> to your documents to control the destination of the file.
Method Summary | |
---|---|
void |
handleMetaTag(String name,
String value)
Called when an unknown meta tag is encountered. |
Method Detail |
---|
void handleMetaTag(String name, String value) throws SAXException
name
- the value of the name attributevalue
- the value of the value attribute
SAXException
- if an error is encountered. This will halt the parsing process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |