Package org.faceless.report
Interface MetaHandler
-
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleMetaTag(java.lang.String name, java.lang.String value)
Called when an unknown meta tag is encountered.
-
-
-
Method Detail
-
handleMetaTag
void handleMetaTag(java.lang.String name, java.lang.String value) throws org.xml.sax.SAXException
Called when an unknown meta tag is encountered.- Parameters:
name
- the value of the name attributevalue
- the value of the value attribute- Throws:
SAXException
- if an error is encountered. This will halt the parsing process
-
-