| Modifier and Type | Field and Description |
|---|---|
| protected int | _flagMods
Bitset that indicates all explicit changes to on/off values; clear bits indicate settings that are unmodified default values. |
| protected int | _flags
Bitset for all on/off values for this configuration object. |
| protected static final String | |
| protected static final String | IMPL_VERSION
This is "major.minor" version used for purposes of determining the feature set. |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final HashMap | sStdProperties
Map to use for converting from String property ids to enumeration (ints). |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract String | |
| public abstract String | Returns: Encoding that has been passed externally by the applicationThis method returns name of encoding that has been passed explicitly to the reader or writer, from outside. |
| public Object | getProperty(String propName, boolean
If true, unrecognized property should
result in isMandatory)IllegalArgumentException
|
| protected final boolean | |
| protected final boolean | |
| protected final boolean | Returns: False, if flag in question has its default value, true if a call has been made that could have changed it.Method for checking whether specific configuration flag has been explicitly modified (set, clear; regardless of whether state actually changed), or is it the default value. |
| public boolean | |
| public abstract boolean | Returns: True, if the processing will be done according to Xml 1.1 rules; false if according to xml 1.0
|
| protected final void | |
| public boolean | Returns: True, if the specified property was succesfully set to specified value; false if its value was not changed
|
| _flagMods | back to summary |
|---|---|
| protected int _flagMods Bitset that indicates all explicit changes to on/off values; clear bits indicate settings that are unmodified default values. | |
| _flags | back to summary |
|---|---|
| protected int _flags Bitset for all on/off values for this configuration object. | |
| IMPL_NAME | back to summary |
|---|---|
| protected static final String IMPL_NAME | |
| IMPL_VERSION | back to summary |
|---|---|
| protected static final String IMPL_VERSION This is "major.minor" version used for purposes of determining the feature set. Patch level is not included, since those should not affect API or feature set. Using applications should be prepared to take additional levels, however, just not depend on those being available. | |
| PROP_IMPL_NAME | back to summary |
|---|---|
| pack-priv static final int PROP_IMPL_NAME | |
| PROP_IMPL_VERSION | back to summary |
|---|---|
| pack-priv static final int PROP_IMPL_VERSION | |
| PROP_SUPPORTS_XML11 | back to summary |
|---|---|
| pack-priv static final int PROP_SUPPORTS_XML11 | |
| PROP_SUPPORTS_XMLID | back to summary |
|---|---|
| pack-priv static final int PROP_SUPPORTS_XMLID | |
| sStdProperties | back to summary |
|---|---|
| pack-priv static final HashMap<String, Integer> sStdProperties Map to use for converting from String property ids to enumeration (ints). Used for faster dispatching. | |
| CommonConfig | back to summary |
|---|---|
| protected CommonConfig(int flags, int flagMods) | |
| getActualEncoding | back to summary |
|---|---|
public abstract String getActualEncoding()
| |
| getExternalEncoding | back to summary |
|---|---|
| public abstract String getExternalEncoding() This method returns name of encoding that has been passed explicitly to the reader or writer, from outside. An example is that HTTP server may pass encoding as declared in HTTP headers. This should either be null (if none passed), or the same as actual encoding (which is determined from physical stream contents [for readers], or from encoder properties / configuration [for writers]
| |
| getProperty | back to summary |
|---|---|
public Object getProperty(String propName, boolean isMandatory)
| |
| hasExplicitFlag | back to summary |
|---|---|
| protected final boolean hasExplicitFlag(int flagMask) | |
| hasFlag | back to summary |
|---|---|
| protected final boolean hasFlag(int flagMask) | |
| hasFlagBeenModified | back to summary |
|---|---|
| protected final boolean hasFlagBeenModified(int flagMask) Method for checking whether specific configuration flag has been explicitly modified (set, clear; regardless of whether state actually changed), or is it the default value.
| |
| isPropertySupported | back to summary |
|---|---|
| public boolean isPropertySupported(String propName) | |
| isXml11 | back to summary |
|---|---|
public abstract boolean isXml11()
| |
| setFlag | back to summary |
|---|---|
| protected final void setFlag(int flagMask, boolean state) | |
| setProperty | back to summary |
|---|---|
public boolean setProperty(String propName, Object value)
| |