public class MyFilter extends com.ibm.com.ibm.trl.acf.api.Filter {
public MyFilter(
org.xml.sax.ContentHandler next, com.ibm.trl.acf.impl.FilterRule filterRule,
Boolean isProcess
) {
// Call the constructor of the super class
super(next, filterRule, isProcess);
}
public void startElement2(
String uri, String localName, String qName, org.xml.sax.Attributes attributeList,
java.util.List applicableRules
) throws org.xml.sax.SAXException {
// Write the actual process for the start element.
// The following example shows how to pass the SAX event to the next handler.
if (next != null) {
next.startElement(uri, localName, qName, newAttributeList);
}
}
public void endElement2(
String uri, String localName, String qName
) throws org.xml.sax.SAXException {
// Write the actual process for the start element.
// The following example shows how to pass the SAX event to the next handler.
if (next != null) {
next.endElement(uri, localName, qName);
}
}
public void characters(
char[] ch, int offset, int length
) throws org.xml.sax.SAXException {
// Write the actual process for the start element.
// The following example shows how to pass the SAX event to the next handler.
if (next != null) {
next.characters(ch, offset, length);
}
}
// Need to implement the other methods.
}