org.w3c.domts
public final class DocumentBuilderSetting extends Object
| Constructor Summary | |
|---|---|
| protected | DocumentBuilderSetting(String property, boolean value, DocumentBuilderSettingStrategy strategy)
Protected constructor, use static members for supported settings. |
| Method Summary | |
|---|---|
| void | applySetting(DocumentBuilderFactory factory)
Attempts to change builder to have this setting. |
| String | getProperty()
Gets the property name. |
| boolean | getValue()
Gets the property value. |
| boolean | hasConflict(DocumentBuilderSetting other)
Returns true if the settings have a conflict or are identical.
|
| boolean | hasSetting(DOMTestDocumentBuilderFactory factory)
Determines current value of setting. |
| String | toString()
Gets a string representation of the setting. |
Parameters: property property name, follows JAXP. value property value strategy strategy, may not be null
Parameters: factory DocumentBuilderFactory Factory for DOM builders
Throws: DOMTestIncompatibleException if factory does not support the setting
Returns: property name
Returns: property value
Parameters: other other setting, may not be null.
Returns: true if this setting and the specified setting conflict
Parameters: factory DOMTestDocumentBuilderFactory factory
Returns: boolean true if property enabled.
Returns: string representation