|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SAXParserFactory
An interface to JAXP XML SAX parser factories.
Field Summary | |
---|---|
static String |
SAX_PARSER_FACTORY_PROPERTY
The SAX parser factory system property. |
Method Summary | |
---|---|
boolean |
getFeature(String name)
Gets the particular property requested for in the underlying implementation of org.xml.sax.XMLReader. |
String |
getSaxParserFactory()
Gets the class name of the implemention of the factory. |
boolean |
isNamespaceAware()
Indicates whether or not the factory is configured to produce parsers which are namespace aware. |
boolean |
isValidating()
Indicates whether or not the factory is configured to produce parsers which validate the XML content during parse. |
void |
setFeature(String name,
boolean value)
Sets the particular feature in the underlying implementation of org.xml.sax.XMLReader. |
void |
setNamespaceAware(boolean flag)
Specifies that the parser produced by this code will provide support for XML namespaces. |
void |
setSaxParserFactory(String factory)
Sets the class name of the implemention of the factory. |
void |
setValidating(boolean flag)
Specifies that the parser produced by this code will validate documents as they are parsed. |
Methods inherited from interface org.norther.tammi.core.base.ObjectFactory |
---|
getInstance, getInstance, getInstance, getInstance, isLoaderSupported |
Field Detail |
---|
static final String SAX_PARSER_FACTORY_PROPERTY
Method Detail |
---|
String getSaxParserFactory()
void setSaxParserFactory(String factory) throws LogException
factory
- the class name.
LogException
- if the factory is already initialized.boolean isNamespaceAware()
void setNamespaceAware(boolean flag)
flag
- true to support XML namespaces, false otherwise.boolean isValidating()
void setValidating(boolean flag)
flag
- true to validate documents, false otherwise.boolean getFeature(String name) throws LogException
name
- the name of the feature to get.
LogException
- on errors.void setFeature(String name, boolean value) throws LogException
name
- the name of the feature to be set.value
- the value of the feature to be set.
LogException
- on errors.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |