Package org.apache.openejb.jee
Class JaxbJavaee.NoSourceFilter
- java.lang.Object
-
- org.xml.sax.helpers.XMLFilterImpl
-
- org.apache.openejb.jee.JaxbJavaee.NoSourceFilter
-
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler,XMLFilter,XMLReader
- Direct Known Subclasses:
JaxbPersistenceFactory.PersistenceFilter
- Enclosing class:
- JaxbJavaee
public static class JaxbJavaee.NoSourceFilter extends XMLFilterImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected static InputSourceEMPTY_INPUT_SOURCE
-
Constructor Summary
Constructors Constructor Description NoSourceFilter(XMLReader xmlReader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringeeUri(String uri)voidendElement(String uri, String localName, String qName)InputSourceresolveEntity(String publicId, String systemId)voidstartElement(String uri, String localName, String qName, Attributes atts)-
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endDocument, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Field Detail
-
EMPTY_INPUT_SOURCE
protected static final InputSource EMPTY_INPUT_SOURCE
-
-
Constructor Detail
-
NoSourceFilter
public NoSourceFilter(XMLReader xmlReader)
-
-
Method Detail
-
startElement
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classXMLFilterImpl- Throws:
SAXException
-
endElement
public void endElement(String uri, String localName, String qName) throws SAXException
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classXMLFilterImpl- Throws:
SAXException
-
resolveEntity
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
- Specified by:
resolveEntityin interfaceEntityResolver- Overrides:
resolveEntityin classXMLFilterImpl- Throws:
SAXExceptionIOException
-
-