|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--weblogic.apache.xerces.util.ParserConfigurationSettings
This class implements the basic operations for managing parser configuration features and properties. This utility class can be used as a base class for parser configurations or separately to encapsulate a number of parser settings as a component manager.
This class can be constructed with a "parent" settings object
(in the form of an XMLComponentManager) that allows
parser configuration settings to be "chained" together.
| Field Summary | |
protected java.util.Hashtable |
fFeatures
Features. |
protected XMLComponentManager |
fParentSettings
Parent parser configuration settings. |
protected java.util.Hashtable |
fProperties
Properties. |
protected java.util.Vector |
fRecognizedFeatures
Recognized features. |
protected java.util.Vector |
fRecognizedProperties
Recognized properties. |
| Constructor Summary | |
ParserConfigurationSettings()
Default Constructor. |
|
ParserConfigurationSettings(XMLComponentManager parent)
Constructs a parser configuration settings object with a parent settings object. |
|
| Method Summary | |
void |
addRecognizedFeatures(java.lang.String[] featureIds)
Allows a parser to add parser specific features to be recognized and managed by the parser configuration. |
void |
addRecognizedProperties(java.lang.String[] propertyIds)
Allows a parser to add parser specific properties to be recognized and managed by the parser configuration. |
protected void |
checkFeature(java.lang.String featureId)
Check a feature. |
protected void |
checkProperty(java.lang.String propertyId)
Check a property. |
boolean |
getFeature(java.lang.String featureId)
Returns the state of a feature. |
java.lang.Object |
getProperty(java.lang.String propertyId)
Returns the value of a property. |
void |
setFeature(java.lang.String featureId,
boolean state)
Set the state of a feature. |
void |
setProperty(java.lang.String propertyId,
java.lang.Object value)
setProperty |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected java.util.Vector fRecognizedProperties
protected java.util.Hashtable fProperties
protected java.util.Vector fRecognizedFeatures
protected java.util.Hashtable fFeatures
protected XMLComponentManager fParentSettings
| Constructor Detail |
public ParserConfigurationSettings()
public ParserConfigurationSettings(XMLComponentManager parent)
| Method Detail |
public void addRecognizedFeatures(java.lang.String[] featureIds)
featureIds - An array of the additional feature identifiers
to be recognized.
public void setFeature(java.lang.String featureId,
boolean state)
throws XMLConfigurationException
featureId - The unique identifier (URI) of the feature.state - The requested state of the feature (true or false).public void addRecognizedProperties(java.lang.String[] propertyIds)
propertyIds - An array of the additional property identifiers
to be recognized.
public void setProperty(java.lang.String propertyId,
java.lang.Object value)
throws XMLConfigurationException
propertyId - value -
public boolean getFeature(java.lang.String featureId)
throws XMLConfigurationException
featureId - The feature identifier.
public java.lang.Object getProperty(java.lang.String propertyId)
throws XMLConfigurationException
propertyId - The property identifier.
protected void checkFeature(java.lang.String featureId)
throws XMLConfigurationException
featureId - The unique identifier (URI) of the feature.
protected void checkProperty(java.lang.String propertyId)
throws XMLConfigurationException
propertyId - The unique identifier (URI) of the property
being set.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||