|
Betty v1.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchristophedelory.betty.xml.BaseXmlVisitor
christophedelory.betty.xml.SetParent
public class SetParent
Restores the parent hierarchy of any given (XML) element.
Constructor Summary | |
---|---|
SetParent()
|
Method Summary | |
---|---|
void |
beginVisitChampionship(ChampionshipDetails target)
Starts the visit of the specified championship. |
void |
beginVisitChampionships(ChampionshipsDetails target)
Starts the visit of the specified championship list. |
void |
beginVisitEvent(EventDetails target)
Starts the visit of the specified championship's event. |
void |
beginVisitLocation(LocationDetails target)
Starts the visit of the specified location. |
void |
beginVisitLocations(LocationsDetails target)
Starts the visit of the specified location list. |
void |
beginVisitModel(ModelDetails target)
Starts the visit of the specified model. |
void |
beginVisitPhase(PhaseDetails target)
Starts the visit of the specified championship's phase. |
void |
beginVisitPlayer(PlayerDetails target)
Starts the visit of the specified player. |
void |
beginVisitPlayerId(PlayerIdDetails target)
Starts the visit of the specified player reference. |
void |
beginVisitPlayers(PlayersDetails target)
Starts the visit of the specified player list. |
void |
beginVisitProperty(PropertyDetails target)
Starts the visit of the specified property. |
void |
beginVisitResource(ResourceDetails target)
Starts the visit of the specified resource. |
void |
beginVisitResources(ResourcesDetails target)
Starts the visit of the specified resource list. |
void |
beginVisitUser(UserDetails target)
Starts the visit of the specified user. |
void |
beginVisitUsers(UsersDetails target)
Starts the visit of the specified user list. |
void |
endVisitChampionship(ChampionshipDetails target)
Finishes the visit of the specified championship. |
void |
endVisitChampionships(ChampionshipsDetails target)
Finishes the visit of the specified championship list. |
void |
endVisitEvent(EventDetails target)
Finishes the visit of the specified championship's event. |
void |
endVisitPhase(PhaseDetails target)
Finishes the visit of the specified championship's phase. |
void |
endVisitPlayers(PlayersDetails target)
Finishes the visit of the specified player list. |
void |
endVisitResources(ResourcesDetails target)
Finishes the visit of the specified resource list. |
void |
endVisitUsers(UsersDetails target)
Finishes the visit of the specified user list. |
Methods inherited from class christophedelory.betty.xml.BaseXmlVisitor |
---|
endVisitLocation, endVisitLocations, endVisitModel, endVisitPlayer, endVisitPlayerId, endVisitProperty, endVisitResource, endVisitUser, visitMetadata |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetParent()
Method Detail |
---|
public void beginVisitChampionships(ChampionshipsDetails target) throws Exception
XmlVisitor
beginVisitChampionships
in interface XmlVisitor
beginVisitChampionships
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitChampionships(ChampionshipsDetails)
,
ChampionshipsDetails.accept(XmlVisitor)
public void endVisitChampionships(ChampionshipsDetails target) throws Exception
XmlVisitor
endVisitChampionships
in interface XmlVisitor
endVisitChampionships
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.beginVisitChampionships(ChampionshipsDetails)
,
ChampionshipsDetails.accept(XmlVisitor)
public void beginVisitChampionship(ChampionshipDetails target) throws Exception
XmlVisitor
beginVisitChampionship
in interface XmlVisitor
beginVisitChampionship
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitChampionship(ChampionshipDetails)
,
ChampionshipDetails.accept(XmlVisitor)
public void endVisitChampionship(ChampionshipDetails target) throws Exception
XmlVisitor
endVisitChampionship
in interface XmlVisitor
endVisitChampionship
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.beginVisitChampionship(ChampionshipDetails)
,
ChampionshipDetails.accept(XmlVisitor)
public void beginVisitPhase(PhaseDetails target) throws Exception
XmlVisitor
beginVisitPhase
in interface XmlVisitor
beginVisitPhase
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitPhase(PhaseDetails)
,
PhaseDetails.accept(XmlVisitor)
public void endVisitPhase(PhaseDetails target) throws Exception
XmlVisitor
endVisitPhase
in interface XmlVisitor
endVisitPhase
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.beginVisitPhase(PhaseDetails)
,
PhaseDetails.accept(XmlVisitor)
public void beginVisitEvent(EventDetails target) throws Exception
XmlVisitor
beginVisitEvent
in interface XmlVisitor
beginVisitEvent
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitEvent(EventDetails)
,
EventDetails.accept(XmlVisitor)
public void endVisitEvent(EventDetails target) throws Exception
XmlVisitor
endVisitEvent
in interface XmlVisitor
endVisitEvent
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.beginVisitEvent(EventDetails)
,
EventDetails.accept(XmlVisitor)
public void beginVisitLocations(LocationsDetails target) throws Exception
XmlVisitor
beginVisitLocations
in interface XmlVisitor
beginVisitLocations
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitLocations(LocationsDetails)
,
LocationsDetails.accept(XmlVisitor)
public void beginVisitLocation(LocationDetails target) throws Exception
XmlVisitor
beginVisitLocation
in interface XmlVisitor
beginVisitLocation
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitLocation(LocationDetails)
,
LocationDetails.accept(XmlVisitor)
public void beginVisitPlayers(PlayersDetails target) throws Exception
XmlVisitor
beginVisitPlayers
in interface XmlVisitor
beginVisitPlayers
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitPlayers(PlayersDetails)
,
PlayersDetails.accept(XmlVisitor)
public void endVisitPlayers(PlayersDetails target) throws Exception
XmlVisitor
endVisitPlayers
in interface XmlVisitor
endVisitPlayers
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.beginVisitPlayers(PlayersDetails)
,
PlayersDetails.accept(XmlVisitor)
public void beginVisitPlayer(PlayerDetails target) throws Exception
XmlVisitor
beginVisitPlayer
in interface XmlVisitor
beginVisitPlayer
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitPlayer(PlayerDetails)
,
PlayerDetails.accept(XmlVisitor)
public void beginVisitUsers(UsersDetails target) throws Exception
XmlVisitor
beginVisitUsers
in interface XmlVisitor
beginVisitUsers
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitUsers(UsersDetails)
,
UsersDetails.accept(XmlVisitor)
public void endVisitUsers(UsersDetails target) throws Exception
XmlVisitor
endVisitUsers
in interface XmlVisitor
endVisitUsers
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.beginVisitUsers(UsersDetails)
,
UsersDetails.accept(XmlVisitor)
public void beginVisitUser(UserDetails target) throws Exception
XmlVisitor
beginVisitUser
in interface XmlVisitor
beginVisitUser
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitUser(UserDetails)
,
UserDetails.accept(XmlVisitor)
public void beginVisitResources(ResourcesDetails target) throws Exception
XmlVisitor
beginVisitResources
in interface XmlVisitor
beginVisitResources
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitResources(ResourcesDetails)
,
ResourcesDetails.accept(XmlVisitor)
public void endVisitResources(ResourcesDetails target) throws Exception
XmlVisitor
endVisitResources
in interface XmlVisitor
endVisitResources
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.beginVisitResources(ResourcesDetails)
,
ResourcesDetails.accept(XmlVisitor)
public void beginVisitResource(ResourceDetails target) throws Exception
XmlVisitor
beginVisitResource
in interface XmlVisitor
beginVisitResource
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitResource(ResourceDetails)
,
ResourceDetails.accept(XmlVisitor)
public void beginVisitPlayerId(PlayerIdDetails target) throws Exception
XmlVisitor
beginVisitPlayerId
in interface XmlVisitor
beginVisitPlayerId
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitPlayerId(PlayerIdDetails)
,
PlayerIdDetails.accept(XmlVisitor)
public void beginVisitModel(ModelDetails target) throws Exception
XmlVisitor
beginVisitModel
in interface XmlVisitor
beginVisitModel
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitModel(ModelDetails)
,
ModelDetails.accept(XmlVisitor)
public void beginVisitProperty(PropertyDetails target) throws Exception
XmlVisitor
beginVisitProperty
in interface XmlVisitor
beginVisitProperty
in class BaseXmlVisitor
target
- the element being visited. Shall not be null
.
NullPointerException
- if target
is null
.
Exception
- if any error occurs during the visit.XmlVisitor.endVisitProperty(PropertyDetails)
,
PropertyDetails.accept(XmlVisitor)
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |