javax.xml.stream.XMLInputFactory ,
javax.xml.stream.XMLOutputFactory and
org.codehaus.stax2.validation.XMLValidationSchemaFactory .
Implements basic settings for some shared settings, defined by the
shared property interface XMLStreamProperties.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| protected static final String | |
| protected static final String | IMPL_VERSION
This is "major.minor" version used for purposes of determining the feature set. |
| protected boolean | mReturnNullForDefaultNamespace
As per [WSTX-277], can specify whether prefix for the "default namespace" is return as null (true) or empty String (false) |
| pack-priv static final HashMap | sStdProperties
Map to use for converting from String property ids to enumeration (ints). |
| Access | Constructor and Description |
|---|---|
| protected | CommonConfig(CommonConfig
Base instance to copy settings from, if any; null for
'root' configuration objects. base)Constructor used by sub-classes |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| protected abstract int | Returns: Internal enumerated int matching the String name of the property, if one found: -1 to indicate no match was found.
|
| protected int | |
| public static String | getImplName()
Method used to figure out the official implementation name for input/output/validation factories. |
| public static String | getImplVersion()
Method used to figure out the official implementation version for input/output/validation factories. |
| public Object | |
| protected abstract Object | |
| protected Object | |
| public boolean | |
| protected void | |
| public boolean | |
| public final Object | |
| public boolean | Returns: True, if the specified property was successfully set to specified value; false if its value was not changed
|
| protected abstract boolean | |
| protected boolean | setStdProperty(String
Name of standard property to set propName, int Internal id matching the name id, Object Value to set the standard property to value)
|
| CPROP_IMPL_NAME | back to summary |
|---|---|
| pack-priv static final int CPROP_IMPL_NAME | |
| CPROP_IMPL_VERSION | back to summary |
|---|---|
| pack-priv static final int CPROP_IMPL_VERSION | |
| CPROP_RETURN_NULL_FOR_DEFAULT_NAMESPACE | back to summary |
|---|---|
| pack-priv static final int CPROP_RETURN_NULL_FOR_DEFAULT_NAMESPACE | |
| CPROP_SUPPORT_XMLID | back to summary |
|---|---|
| pack-priv static final int CPROP_SUPPORT_XMLID | |
| CPROP_SUPPORTS_XML11 | back to summary |
|---|---|
| pack-priv static final int CPROP_SUPPORTS_XML11 | |
| 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. | |
| mReturnNullForDefaultNamespace | back to summary |
|---|---|
| protected boolean mReturnNullForDefaultNamespace As per [WSTX-277], can specify whether prefix for the "default namespace" is return as null (true) or empty String (false) | |
| 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(CommonConfig base) Constructor used by sub-classes
| |
| doesSupportXml11 | back to summary |
|---|---|
| public boolean doesSupportXml11() | |
| doesSupportXmlId | back to summary |
|---|---|
| public boolean doesSupportXmlId() | |
| findPropertyId | back to summary |
|---|---|
protected abstract int findPropertyId(String propName)
| |
| findStdPropertyId | back to summary |
|---|---|
| protected int findStdPropertyId(String propName) | |
| getImplName | back to summary |
|---|---|
| public static String getImplName() Method used to figure out the official implementation name for input/output/validation factories. | |
| getImplVersion | back to summary |
|---|---|
| public static String getImplVersion() Method used to figure out the official implementation version for input/output/validation factories. | |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String propName) | |
| getProperty | back to summary |
|---|---|
| protected abstract Object getProperty(int id) | |
| getStdProperty | back to summary |
|---|---|
| protected Object getStdProperty(int id) | |
| isPropertySupported | back to summary |
|---|---|
| public boolean isPropertySupported(String propName) | |
| reportUnknownProperty | back to summary |
|---|---|
| protected void reportUnknownProperty(String propName) | |
| returnNullForDefaultNamespace | back to summary |
|---|---|
| public boolean returnNullForDefaultNamespace() | |
| safeGetProperty | back to summary |
|---|---|
| public final Object safeGetProperty(String propName) | |
| setProperty | back to summary |
|---|---|
public boolean setProperty(String propName, Object value)
| |
| setProperty | back to summary |
|---|---|
| protected abstract boolean setProperty(String propName, int id, Object value) | |
| setStdProperty | back to summary |
|---|---|
| protected boolean setStdProperty(String propName, int id, Object value) | |