public class DepthFilter extends ElementFilter
A SAX filter that limits the nesting depth of elements.
| Constructor and Description |
|---|
DepthFilter(Class<? extends PMMLObject> clazz,
int limit) |
DepthFilter(String localName,
int limit) |
DepthFilter(String namespaceURI,
String localName,
int limit) |
DepthFilter(XMLReader reader,
Class<? extends PMMLObject> clazz,
int limit) |
DepthFilter(XMLReader reader,
String localName,
int limit) |
DepthFilter(XMLReader reader,
String namespaceURI,
String localName,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String namespaceURI,
String localName,
String qualifiedName) |
int |
getLimit() |
void |
startElement(String namespaceURI,
String localName,
String qualifiedName,
Attributes attributes) |
getLocalName, getNamespaceURI, getQualifiedName, matchescharacters, 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, warningpublic DepthFilter(String localName, int limit)
public DepthFilter(Class<? extends PMMLObject> clazz, int limit)
public DepthFilter(XMLReader reader, Class<? extends PMMLObject> clazz, int limit)
public void startElement(String namespaceURI, String localName, String qualifiedName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class XMLFilterImplSAXExceptionpublic void endElement(String namespaceURI, String localName, String qualifiedName) throws SAXException
endElement in interface ContentHandlerendElement in class XMLFilterImplSAXExceptionpublic int getLimit()
Copyright © 2024. All rights reserved.