Package org.jorigin.lang.xml
Class LangResourceXMLFilter
- java.lang.Object
-
- org.xml.sax.helpers.XMLFilterImpl
-
- org.jorigin.lang.xml.LangResourceXMLFilter
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler,org.xml.sax.DTDHandler,org.xml.sax.EntityResolver,org.xml.sax.ErrorHandler,org.xml.sax.XMLFilter,org.xml.sax.XMLReader
public class LangResourceXMLFilter extends org.xml.sax.helpers.XMLFilterImplA simple override of theXMLFilterImpldedicated to the lang XML resource file parsing. Most of the methods simply delegate to super methods.- Since:
- 1.0.0
- Version:
- "1.0.8" - b201801141330L
- Author:
- Julien Seinturier - COMEX S.A. - contact@jorigin.org - https://github.com/jorigin/jeometry
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.event.EventListenerListidListenerList
-
Constructor Summary
Constructors Constructor Description LangResourceXMLFilter()Create a new XML resource filter.LangResourceXMLFilter(org.xml.sax.XMLReader parser)Create a new XML resource filter with an input parser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendDocument()voidendElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)voiderror(org.xml.sax.SAXParseException e)voidfatalError(org.xml.sax.SAXParseException e)voidparse(java.lang.String systemId)voidparse(org.xml.sax.InputSource input)voidstartDocument()voidstartElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts)voidwarning(org.xml.sax.SAXParseException e)-
Methods 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
-
-
-
-
Method Detail
-
parse
public void parse(org.xml.sax.InputSource input) throws org.xml.sax.SAXException, java.io.IOException- Specified by:
parsein interfaceorg.xml.sax.XMLReader- Overrides:
parsein classorg.xml.sax.helpers.XMLFilterImpl- Throws:
org.xml.sax.SAXExceptionjava.io.IOException
-
parse
public void parse(java.lang.String systemId) throws org.xml.sax.SAXException, java.io.IOException- Specified by:
parsein interfaceorg.xml.sax.XMLReader- Overrides:
parsein classorg.xml.sax.helpers.XMLFilterImpl- Throws:
org.xml.sax.SAXExceptionjava.io.IOException
-
startDocument
public void startDocument() throws org.xml.sax.SAXException- Specified by:
startDocumentin interfaceorg.xml.sax.ContentHandler- Overrides:
startDocumentin classorg.xml.sax.helpers.XMLFilterImpl- Throws:
org.xml.sax.SAXException
-
endDocument
public void endDocument() throws org.xml.sax.SAXException- Specified by:
endDocumentin interfaceorg.xml.sax.ContentHandler- Overrides:
endDocumentin classorg.xml.sax.helpers.XMLFilterImpl- Throws:
org.xml.sax.SAXException
-
startElement
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException- Specified by:
startElementin interfaceorg.xml.sax.ContentHandler- Overrides:
startElementin classorg.xml.sax.helpers.XMLFilterImpl- Throws:
org.xml.sax.SAXException
-
endElement
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException- Specified by:
endElementin interfaceorg.xml.sax.ContentHandler- Overrides:
endElementin classorg.xml.sax.helpers.XMLFilterImpl- Throws:
org.xml.sax.SAXException
-
warning
public void warning(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException- Specified by:
warningin interfaceorg.xml.sax.ErrorHandler- Overrides:
warningin classorg.xml.sax.helpers.XMLFilterImpl- Throws:
org.xml.sax.SAXException
-
error
public void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException- Specified by:
errorin interfaceorg.xml.sax.ErrorHandler- Overrides:
errorin classorg.xml.sax.helpers.XMLFilterImpl- Throws:
org.xml.sax.SAXException
-
fatalError
public void fatalError(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException- Specified by:
fatalErrorin interfaceorg.xml.sax.ErrorHandler- Overrides:
fatalErrorin classorg.xml.sax.helpers.XMLFilterImpl- Throws:
org.xml.sax.SAXException
-
-