|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.common.xml.XMLFeatureSet
public final class XMLFeatureSet
A set of useful XML Features
The GNU Lesser General Public License for details.
Nested Class Summary | |
---|---|
private static class |
XMLFeatureSet.XMLFeatureState
A holder of the boolean state for a feature. |
Field Summary | |
---|---|
private Map<String,XMLFeatureSet.XMLFeatureState> |
features
|
private Map<XMLFeature,String> |
states
|
Constructor Summary | |
---|---|
XMLFeatureSet()
An XMLFeatureSet with default settings. |
Method Summary | |
---|---|
void |
printUsage()
Prints the usage. |
void |
setFeatures(XMLReader parser)
Set this XMLFeatureSets state onto an XMLReader. |
void |
setFeatureState(XMLFeature feature,
boolean state)
Set the state of an XMLFeture in this set. |
void |
setFeatureStates(String[] argv)
Allow for XMLFeatures to be set from command line. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private Map<String,XMLFeatureSet.XMLFeatureState> features
private Map<XMLFeature,String> states
Constructor Detail |
---|
public XMLFeatureSet()
Method Detail |
---|
public void setFeatureState(XMLFeature feature, boolean state)
feature
- the XMLFeature to setstate
- whether the feature is on or offpublic void setFeatureStates(String[] argv)
argv
- the specification of XMLFeatures to turn on or offSee printUsage for details
public String toString()
toString
in class Object
public void printUsage()
public void setFeatures(XMLReader parser)
parser
- the XMLReader
|
Copyright ยจ 2003-2015 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |