games.strategy.engine.xml
Class TestAttachment
java.lang.Object
games.strategy.engine.xml.TestAttachment
- All Implemented Interfaces:
- IAttachment, java.io.Serializable
public class TestAttachment
- extends java.lang.Object
- implements IAttachment
- Version:
- Author:
- Sean Bridges
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestAttachment
public TestAttachment()
- Creates new TestAttatchment
getAttatchedTo
public Attachable getAttatchedTo()
- Specified by:
getAttatchedTo in interface IAttachment
setAttatchedTo
public void setAttatchedTo(Attachable unused)
- Specified by:
setAttatchedTo in interface IAttachment
getName
public java.lang.String getName()
- Specified by:
getName in interface IAttachment
setName
public void setName(java.lang.String aString)
- Specified by:
setName in interface IAttachment
setValue
public void setValue(java.lang.String value)
getValue
public java.lang.String getValue()
setData
public void setData(GameData m_data)
- Specified by:
setData in interface IAttachment
validate
public void validate(GameData data)
- Description copied from interface:
IAttachment
- Called after the attatchment is created. IF an error occurs should throw
an exception to halt the parsing
- Specified by:
validate in interface IAttachment