Package org.jpmml.model.filters
Class ExtensionFilter
- java.lang.Object
-
- org.xml.sax.helpers.XMLFilterImpl
-
- org.jpmml.model.filters.ElementFilter
-
- org.jpmml.model.filters.SkipFilter
-
- org.jpmml.model.filters.ExtensionFilter
-
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler,XMLFilter,XMLReader
public class ExtensionFilter extends SkipFilter
A SAX filter that skips "old-style" PMML extension elements and attributes.
-
-
Constructor Summary
Constructors Constructor Description ExtensionFilter()ExtensionFilter(String namespaceURI)ExtensionFilter(XMLReader reader)ExtensionFilter(XMLReader reader, String namespaceURI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributesfilterAttributes(String namespaceURI, String localName, Attributes attributes)booleanmatches(String namespaceURI, String localName)-
Methods inherited from class org.jpmml.model.filters.SkipFilter
characters, endElement, startElement
-
Methods inherited from class org.jpmml.model.filters.ElementFilter
getLocalName, getNamespaceURI, getQualifiedName
-
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
endDocument, endPrefixMapping, 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, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
matches
public boolean matches(String namespaceURI, String localName)
- Overrides:
matchesin classElementFilter
-
filterAttributes
public Attributes filterAttributes(String namespaceURI, String localName, Attributes attributes)
- Overrides:
filterAttributesin classSkipFilter
-
-