public class ValidatingXMLInputFactory extends XMLInputFactory
Kind of a hack, until StAX with proper validation is available.
ALLOCATOR, IS_COALESCING, IS_NAMESPACE_AWARE, IS_REPLACING_ENTITY_REFERENCES, IS_SUPPORTING_EXTERNAL_ENTITIES, IS_VALIDATING, REPORTER, RESOLVER, SUPPORT_DTD| Constructor and Description |
|---|
ValidatingXMLInputFactory(LSResourceResolver resolver) |
ValidatingXMLInputFactory(XMLInputFactory inputFactory,
SchemaFactory schemaFactory) |
newFactory, newFactory, newInstance, newInstancepublic ValidatingXMLInputFactory(LSResourceResolver resolver)
public ValidatingXMLInputFactory(XMLInputFactory inputFactory, SchemaFactory schemaFactory)
public XMLStreamReader createXMLStreamReader(Reader reader) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(Source source) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(InputStream stream) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(InputStream stream, String encoding) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(String systemId, InputStream stream) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryXMLStreamExceptionpublic XMLStreamReader createXMLStreamReader(String systemId, Reader reader) throws XMLStreamException
createXMLStreamReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(Reader reader) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(String systemId, Reader reader) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(XMLStreamReader reader) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(Source source) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(InputStream stream) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(InputStream stream, String encoding) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createXMLEventReader(String systemId, InputStream stream) throws XMLStreamException
createXMLEventReader in class XMLInputFactoryXMLStreamExceptionpublic XMLStreamReader createFilteredReader(XMLStreamReader reader, StreamFilter filter) throws XMLStreamException
createFilteredReader in class XMLInputFactoryXMLStreamExceptionpublic XMLEventReader createFilteredReader(XMLEventReader reader, EventFilter filter) throws XMLStreamException
createFilteredReader in class XMLInputFactoryXMLStreamExceptionpublic XMLResolver getXMLResolver()
getXMLResolver in class XMLInputFactorypublic void setXMLResolver(XMLResolver resolver)
setXMLResolver in class XMLInputFactorypublic XMLReporter getXMLReporter()
getXMLReporter in class XMLInputFactorypublic void setXMLReporter(XMLReporter reporter)
setXMLReporter in class XMLInputFactorypublic void setProperty(String name, Object value) throws IllegalArgumentException
setProperty in class XMLInputFactoryIllegalArgumentExceptionpublic Object getProperty(String name) throws IllegalArgumentException
getProperty in class XMLInputFactoryIllegalArgumentExceptionpublic boolean isPropertySupported(String name)
isPropertySupported in class XMLInputFactorypublic void setEventAllocator(XMLEventAllocator allocator)
setEventAllocator in class XMLInputFactorypublic XMLEventAllocator getEventAllocator()
getEventAllocator in class XMLInputFactorypublic XMLStreamReader createXMLStreamReader(File f) throws IOException, XMLStreamException
IOExceptionXMLStreamExceptionpublic XMLEventReader createXMLEventReader(File f) throws IOException, XMLStreamException
IOExceptionXMLStreamExceptionCopyright © 2015. All rights reserved.