Package org.jdom.input.sax
Interface XMLReaderJDOMFactory
-
- All Known Implementing Classes:
AbstractReaderSchemaFactory,AbstractReaderXSDFactory,XMLReaderJAXPFactory,XMLReaders,XMLReaderSAX2Factory,XMLReaderSchemaFactory,XMLReaderXSDFactory
public interface XMLReaderJDOMFactoryThis interface can be used to supply custom XMLReaders toSAXBuilder.See the
package documentationfor details on what XMLReaderJDOMFactory implementations are available and when they are recommended.- See Also:
org.jdom.input.sax
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XMLReadercreateXMLReader()Return a new XMLReader according to the implementation of this XMLReaderJDOMFactory instance.booleanisValidating()Does an XMLReader from this factory do more than just well-formed checks.
-
-
-
Method Detail
-
createXMLReader
XMLReader createXMLReader() throws JDOMException
Return a new XMLReader according to the implementation of this XMLReaderJDOMFactory instance. The XMLReader is expected to be a new instance that is unrelated to any other XMLReaders, and can be reused at will bySAXBuilder.- Returns:
- a new XMLReader
- Throws:
JDOMException- if an XMLReader was not available.
-
isValidating
boolean isValidating()
Does an XMLReader from this factory do more than just well-formed checks.- Returns:
- true if the XMLReader validates
-
-