|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.common.xml.XMLFeatureSet.XMLFeatureState
private static class XMLFeatureSet.XMLFeatureState
A holder of the boolean state for a feature.
Field Summary | |
---|---|
private XMLFeature |
feature
|
private boolean |
state
|
Constructor Summary | |
---|---|
XMLFeatureSet.XMLFeatureState(XMLFeature feature)
An XMLFeature that is turned off. |
|
XMLFeatureSet.XMLFeatureState(XMLFeature feature,
boolean state)
Bind a state to an XMLFeature. |
Method Summary | |
---|---|
XMLFeature |
getFeature()
|
void |
setFeature(XMLReader parser)
Set the control state on the parser. |
void |
setState(boolean newState)
Set the new state |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private boolean state
private XMLFeature feature
Constructor Detail |
---|
public XMLFeatureSet.XMLFeatureState(XMLFeature feature, boolean state)
feature
- the XMLFeaturestate
- whether that XMLFeature is on or offpublic XMLFeatureSet.XMLFeatureState(XMLFeature feature)
feature
- the XMLFeatureMethod Detail |
---|
public XMLFeature getFeature()
public void setState(boolean newState)
newState
- whether the feature is on or offpublic void setFeature(XMLReader parser)
parser
- The parser on which to set this feature
|
Copyright ยจ 2003-2015 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |