gnu.xml.aelfred2

Class JAXPFactory

public final class JAXPFactory extends SAXParserFactory

Configurable factory to create an Ælfred2 JAXP parser; required to bootstrap using JAXP. You should use SAX2 directly where possible, rather than through JAXP, since that gives you better control. This class would normally be configured as a platform default factory.

Author: David Brownell

Constructor Summary
JAXPFactory()
Constructs a factory which normally returns a non-validating parser.
Method Summary
booleangetFeature(String name)
SAXParsernewSAXParser()
voidsetFeature(String name, boolean value)

Constructor Detail

JAXPFactory

public JAXPFactory()
Constructs a factory which normally returns a non-validating parser.

Method Detail

getFeature

public boolean getFeature(String name)

newSAXParser

public SAXParser newSAXParser()

setFeature

public void setFeature(String name, boolean value)

Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2011-08-26.