|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.taursys.dom.DocumentAdapterBuilderFactory
DocumentAdapterBuilderFactory is used to create DocumentAdapterBuilders based on the factory configuration.
Field Summary | |
static java.lang.String |
JAXP_BUILDER
|
static java.lang.String |
SYSTEM_PROPERTY_BUILDER_NAME
|
static java.lang.String |
TIDY_BUILDER
|
static java.lang.String |
XERCES_BUILDER
|
Method Summary | |
boolean |
getFeature(java.lang.String featureName)
Returns true if given featureName is enabled, otherwise false See the Specific DocumentAdapterBuilder, DocumentBuilder and/or Parser for the specific Features and Properties. |
static DocumentAdapterBuilderFactory |
getInstance()
Gets singleton shared instance of DocumentAdapterBuilderFactory |
java.lang.Object |
getProperty(java.lang.String propertyName)
Gets the given property. |
boolean |
isValidating()
Indicates whether or not the factory is configured to produce parsers which validate the XML content during parse. |
DocumentAdapterBuilder |
newDocumentAdapterBuilder()
Creates a new DocumentAdapterBuilder and initializes it based on this factory's settings. |
static DocumentAdapterBuilderFactory |
newInstance()
Gets a new, private instance of DocumentAdapterBuilderFactory |
void |
setFeature(java.lang.String featureName,
boolean value)
Enables the given featureName if value is true, otherwise disables feature. |
void |
setProperty(java.lang.String propertyName,
java.lang.Object value)
Sets the given property to the given value. |
void |
setValidating(boolean b)
Specifies that the parser produced by this code will validate documents as they are parsed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String TIDY_BUILDER
public static final java.lang.String JAXP_BUILDER
public static final java.lang.String XERCES_BUILDER
public static final java.lang.String SYSTEM_PROPERTY_BUILDER_NAME
Method Detail |
public static DocumentAdapterBuilderFactory newInstance()
public static DocumentAdapterBuilderFactory getInstance()
public DocumentAdapterBuilder newDocumentAdapterBuilder() throws DocumentAdapterBuilderException
DocumentAdapterBuilderException
- if cannot create and initialize a new DocumentAdapterBuilderpublic void setProperty(java.lang.String propertyName, java.lang.Object value)
propertyName
- name of the property to setvalue
- for the property or null to un-setpublic java.lang.Object getProperty(java.lang.String propertyName)
propertyName
- to retrieve
public void setFeature(java.lang.String featureName, boolean value)
featureName
- to enable/disablevalue
- true to enable, false to disablepublic boolean getFeature(java.lang.String featureName)
featureName
- to query
public boolean isValidating()
public void setValidating(boolean b)
b
- true if the parser produced will validate documents as they are
parsed; false otherwise.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |