JDOM
2.0.5

org.jdom2.input.sax
Interface XMLReaderJDOMFactory

All Known Implementing Classes:
AbstractReaderSchemaFactory, AbstractReaderXSDFactory, XMLReaderJAXPFactory, XMLReaders, XMLReaderSAX2Factory, XMLReaderSchemaFactory, XMLReaderXSDFactory

public interface XMLReaderJDOMFactory

This interface can be used to supply custom XMLReaders to SAXBuilder.

See the package documentation for details on what XMLReaderJDOMFactory implementations are available and when they are recommended.

Author:
Rolf Lear
See Also:
org.jdom2.input.sax

Method Summary
 org.xml.sax.XMLReader createXMLReader()
          Return a new XMLReader according to the implementation of this XMLReaderJDOMFactory instance.
 boolean isValidating()
          Does an XMLReader from this factory do more than just well-formed checks.
 

Method Detail

createXMLReader

org.xml.sax.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 by SAXBuilder.

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

JDOM
2.0.5

Copyright � 2013 Jason Hunter, Brett McLaughlin. All Rights Reserved.