net.sf.freecol.common.io
Class FreeColModFile.ModDescriptor

java.lang.Object
  extended by net.sf.freecol.common.io.FreeColModFile.ModDescriptor
Enclosing class:
FreeColModFile

protected static class FreeColModFile.ModDescriptor
extends java.lang.Object


Field Summary
private  java.lang.String parent
           
 
Constructor Summary
protected FreeColModFile.ModDescriptor(javax.xml.stream.XMLStreamReader in)
          Initiates a new ModInfo from XML.
 
Method Summary
 java.lang.String getParent()
          Gets the parent of the mod.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

private final java.lang.String parent
Constructor Detail

FreeColModFile.ModDescriptor

protected FreeColModFile.ModDescriptor(javax.xml.stream.XMLStreamReader in)
                                throws javax.xml.stream.XMLStreamException
Initiates a new ModInfo from XML.

Parameters:
in - The input stream containing the XML.
Throws:
javax.xml.stream.XMLStreamException - if a problem was encountered during parsing.
Method Detail

getParent

public java.lang.String getParent()
Gets the parent of the mod.

Returns:
a String value