com.servingxml.components.inverserecordmapping
Class ShredXmlPrefilter

java.lang.Object
  extended by com.servingxml.components.inverserecordmapping.ShredXmlPrefilter
All Implemented Interfaces:
ShredXml

public class ShredXmlPrefilter
extends java.lang.Object
implements ShredXml


Constructor Summary
ShredXmlPrefilter(ShredXml flattener, ParameterDescriptor[] parameterDescriptors)
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endElement(ServiceContext context, Flow flow, java.lang.String namespaceUri, java.lang.String localName, java.lang.String qname, RecordWriter recordWriter)
           
 boolean isMatched()
           
 void mapRecord(ServiceContext context, Flow flow, RecordWriter recordWriter)
           
 void matchPath(ServiceContext context, Flow flow, SaxPath path)
           
 void startElement(ServiceContext context, Flow flow, SaxPath path, RecordWriter recordWriter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShredXmlPrefilter

public ShredXmlPrefilter(ShredXml flattener,
                         ParameterDescriptor[] parameterDescriptors)
Method Detail

isMatched

public boolean isMatched()
Specified by:
isMatched in interface ShredXml

matchPath

public void matchPath(ServiceContext context,
                      Flow flow,
                      SaxPath path)
               throws org.xml.sax.SAXException
Specified by:
matchPath in interface ShredXml
Throws:
org.xml.sax.SAXException

startElement

public void startElement(ServiceContext context,
                         Flow flow,
                         SaxPath path,
                         RecordWriter recordWriter)
                  throws org.xml.sax.SAXException
Specified by:
startElement in interface ShredXml
Throws:
org.xml.sax.SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Specified by:
characters in interface ShredXml
Throws:
org.xml.sax.SAXException

endElement

public void endElement(ServiceContext context,
                       Flow flow,
                       java.lang.String namespaceUri,
                       java.lang.String localName,
                       java.lang.String qname,
                       RecordWriter recordWriter)
                throws org.xml.sax.SAXException
Specified by:
endElement in interface ShredXml
Throws:
org.xml.sax.SAXException

mapRecord

public void mapRecord(ServiceContext context,
                      Flow flow,
                      RecordWriter recordWriter)
               throws org.xml.sax.SAXException
Specified by:
mapRecord in interface ShredXml
Throws:
org.xml.sax.SAXException