Package net.sf.freecol.common.io
Class FreeColXMLWriter.WriteScope
- java.lang.Object
-
- net.sf.freecol.common.io.FreeColXMLWriter.WriteScope
-
- Enclosing class:
- FreeColXMLWriter
public static class FreeColXMLWriter.WriteScope extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private Player
player
private FreeColXMLWriter.WriteScopeType
scopeType
-
Constructor Summary
Constructors Constructor Description WriteScope(FreeColXMLWriter.WriteScopeType scopeType, Player player)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Player
getClient()
boolean
isValid()
static FreeColXMLWriter.WriteScope
toClient(Player player)
static FreeColXMLWriter.WriteScope
toSave()
static FreeColXMLWriter.WriteScope
toServer()
java.lang.String
toString()
boolean
validFor(Player player)
boolean
validForSave()
-
-
-
Field Detail
-
scopeType
private final FreeColXMLWriter.WriteScopeType scopeType
-
player
private final Player player
-
-
Constructor Detail
-
WriteScope
WriteScope(FreeColXMLWriter.WriteScopeType scopeType, Player player)
-
-
Method Detail
-
toClient
public static FreeColXMLWriter.WriteScope toClient(Player player)
-
toServer
public static FreeColXMLWriter.WriteScope toServer()
-
toSave
public static FreeColXMLWriter.WriteScope toSave()
-
isValid
public boolean isValid()
-
validForSave
public boolean validForSave()
-
validFor
public boolean validFor(Player player)
-
getClient
public Player getClient()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-