|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a configurable SAX2 parser. This interface allows the application to set or query features and property values from a SAX2 parser. It provides a standard interface feature negotiation and for extensibility. Features and properties have unique identifiers, which must be fully-qualified URIs.
Parser
,
ConfigurableParserAdapter
Method Summary | |
boolean |
getFeature(java.lang.String featureId)
Query the state of a feature. |
java.lang.Object |
getProperty(java.lang.String propertyId)
Query 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)
Set the value of a property. |
Method Detail |
public void setFeature(java.lang.String featureId, boolean state) throws SAXException
featureId
- The unique identifier (URI) of the feature.state
- The requested state of the feature (true or false).public boolean getFeature(java.lang.String featureId) throws SAXException
featureId
- The unique identifier (URI) of the feature
being set.public void setProperty(java.lang.String propertyId, java.lang.Object value) throws SAXException
propertyId
- The unique identifier (URI) of the property
being set.Object
- The value to which the property is being set.public java.lang.Object getProperty(java.lang.String propertyId) throws SAXException
propertyId
- The unique identifier (URI) of the property
being set.getProperty(java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |