Package org.jpmml.model.filters
Class SkipFilter
- java.lang.Object
-
- org.xml.sax.helpers.XMLFilterImpl
-
- org.jpmml.model.filters.ElementFilter
-
- org.jpmml.model.filters.SkipFilter
-
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler,XMLFilter,XMLReader
- Direct Known Subclasses:
ExtensionFilter
public class SkipFilter extends ElementFilter
A SAX filter that skips an element.
-
-
Constructor Summary
Constructors Constructor Description SkipFilter(Class<? extends PMMLObject> clazz)SkipFilter(String localName)SkipFilter(String namespaceURI, String localName)SkipFilter(XMLReader reader, Class<? extends PMMLObject> clazz)SkipFilter(XMLReader reader, String localName)SkipFilter(XMLReader reader, String namespaceURI, String localName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcharacters(char[] buffer, int index, int length)voidendElement(String namespaceURI, String localName, String qualifiedName)AttributesfilterAttributes(String namespaceURI, String localName, Attributes attributes)voidstartElement(String namespaceURI, String localName, String qualifiedName, Attributes attributes)-
Methods inherited from class org.jpmml.model.filters.ElementFilter
getLocalName, getNamespaceURI, getQualifiedName, matches
-
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
-
-
-
-
Constructor Detail
-
SkipFilter
public SkipFilter(String localName)
-
SkipFilter
public SkipFilter(Class<? extends PMMLObject> clazz)
-
SkipFilter
public SkipFilter(XMLReader reader, Class<? extends PMMLObject> clazz)
-
-
Method Detail
-
filterAttributes
public Attributes filterAttributes(String namespaceURI, String localName, Attributes attributes)
-
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
-
characters
public void characters(char[] buffer, int index, int length) throws SAXException- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classXMLFilterImpl- Throws:
SAXException
-
-