Package org.jpmml.model.filters
Class PMMLFilter
- java.lang.Object
-
- org.xml.sax.helpers.XMLFilterImpl
-
- org.jpmml.model.filters.PMMLFilter
-
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler,XMLFilter,XMLReader
- Direct Known Subclasses:
ExportFilter,ImportFilter
public abstract class PMMLFilter extends XMLFilterImpl
-
-
Constructor Summary
Constructors Constructor Description PMMLFilter(Version target)PMMLFilter(XMLReader reader, Version target)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidendElement(String namespaceURI, String localName, String qualifiedName)voidendPrefixMapping(String prefix)abstract AttributesfilterAttributes(String localName, Attributes attributes)abstract StringfilterLocalName(String localName)VersiongetSource()VersiongetTarget()voidstartElement(String namespaceURI, String localName, String qualifiedName, Attributes attributes)voidstartPrefixMapping(String prefix, String namespaceURI)-
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endDocument, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
filterAttributes
public abstract Attributes filterAttributes(String localName, Attributes attributes)
-
startPrefixMapping
public void startPrefixMapping(String prefix, String namespaceURI) throws SAXException
- Specified by:
startPrefixMappingin interfaceContentHandler- Overrides:
startPrefixMappingin classXMLFilterImpl- Throws:
SAXException
-
endPrefixMapping
public void endPrefixMapping(String prefix) throws SAXException
- Specified by:
endPrefixMappingin interfaceContentHandler- Overrides:
endPrefixMappingin classXMLFilterImpl- Throws:
SAXException
-
startElement
public void startElement(String namespaceURI, String localName, String qualifiedName, Attributes attributes) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classXMLFilterImpl- Throws:
SAXException
-
endElement
public void endElement(String namespaceURI, String localName, String qualifiedName) throws SAXException
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classXMLFilterImpl- Throws:
SAXException
-
getSource
public Version getSource()
-
getTarget
public Version getTarget()
-
-