christophedelory.betty.xml
Class ChampionshipsDetails
java.lang.Object
christophedelory.betty.xml.Child
christophedelory.betty.xml.ChampionshipsDetails
- All Implemented Interfaces:
- XmlRoot, Serializable
public class ChampionshipsDetails
- extends Child
- implements XmlRoot
A list of championships
.
- Version:
- $Revision: 98 $
- Author:
- Christophe Delory
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChampionshipsDetails
public ChampionshipsDetails()
getChampionships
public List<ChampionshipDetails> getChampionships()
- Returns the list of championships.
- Returns:
- a list of championships. May be empty but not
null
. - See Also:
addChampionship(christophedelory.betty.xml.ChampionshipDetails)
addChampionship
public void addChampionship(ChampionshipDetails championship)
- Adds the specified championship to this list.
- Parameters:
championship
- a championship. Shall not be null
.
- Throws:
NullPointerException
- if championship
is null
.- See Also:
getChampionships()
accept
public void accept(XmlVisitor visitor)
throws Exception
- Description copied from interface:
XmlRoot
- Accepts the specified XML visitor.
- Specified by:
accept
in interface XmlRoot
- Parameters:
visitor
- a visitor. Shall not be null
.
- Throws:
NullPointerException
- if visitor
is null
.
Exception
- if any error occurs during the visit.
Copyright © 2008-2009 Christophe Delory. All Rights Reserved.