Package net.sf.freecol.common.model
Class Specification.OptionReader
- java.lang.Object
-
- net.sf.freecol.common.model.Specification.OptionReader
-
- All Implemented Interfaces:
Specification.ChildReader
- Enclosing class:
- Specification
private class Specification.OptionReader extends java.lang.Object implements Specification.ChildReader
Options are special as they live in the allOptionGroups collection, which has its own particular semantics. So they need their own reader.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
RECURSIVE_TAG
-
Constructor Summary
Constructors Modifier Constructor Description private
OptionReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
readChild(FreeColXMLReader xr)
void
readChildren(FreeColXMLReader xr)
-
-
-
Field Detail
-
RECURSIVE_TAG
private static final java.lang.String RECURSIVE_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
readChildren
public void readChildren(FreeColXMLReader xr) throws javax.xml.stream.XMLStreamException
- Specified by:
readChildren
in interfaceSpecification.ChildReader
- Throws:
javax.xml.stream.XMLStreamException
-
readChild
private void readChild(FreeColXMLReader xr) throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
-
-