java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
org.jorigin.lang.xml.LangResourceXMLFilter
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler,XMLFilter,XMLReader
A simple override of the
XMLFilterImpl dedicated to the lang XML resource file parsing.
Most of the methods simply delegate to super methods.- Since:
- 1.0.0
- Version:
- "1.0.14" - b202111241200L
- Author:
- Julien SEINTURIER - Université de Toulon / CNRS LIS umr 7020 - github.com/jorigin/jcommon (contact@jorigin.org)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new XML resource filter.LangResourceXMLFilter(XMLReader parser) Create a new XML resource filter with an input parser. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidendElement(String uri, String localName, String qName) voidvoidvoidvoidparse(InputSource input) voidvoidstartElement(String uri, String localName, String qName, Attributes atts) voidMethods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endPrefixMapping, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startPrefixMapping, unparsedEntityDecl
-
Field Details
-
idListenerList
The attached listeners.
-
-
Constructor Details
-
LangResourceXMLFilter
public LangResourceXMLFilter()Create a new XML resource filter. -
LangResourceXMLFilter
Create a new XML resource filter with an input parser.- Parameters:
parser- the parser to use.
-
-
Method Details
-
parse
- Specified by:
parsein interfaceXMLReader- Overrides:
parsein classXMLFilterImpl- Throws:
SAXExceptionIOException
-
parse
- Specified by:
parsein interfaceXMLReader- Overrides:
parsein classXMLFilterImpl- Throws:
SAXExceptionIOException
-
startDocument
- Specified by:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classXMLFilterImpl- Throws:
SAXException
-
endDocument
- Specified by:
endDocumentin interfaceContentHandler- Overrides:
endDocumentin classXMLFilterImpl- Throws:
SAXException
-
startElement
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classXMLFilterImpl- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classXMLFilterImpl- Throws:
SAXException
-
warning
- Specified by:
warningin interfaceErrorHandler- Overrides:
warningin classXMLFilterImpl- Throws:
SAXException
-
error
- Specified by:
errorin interfaceErrorHandler- Overrides:
errorin classXMLFilterImpl- Throws:
SAXException
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Overrides:
fatalErrorin classXMLFilterImpl- Throws:
SAXException
-