Betty v1.1.0

christophedelory.betty.xml
Interface XmlVisitor

All Known Implementing Classes:
BaseXmlVisitor, SetParent, XmlToEntity

public interface XmlVisitor

A XML hierarchy visitor.

Since:
0.9.4
Version:
$Revision$
Author:
Christophe Delory

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 endVisitLocation(LocationDetails target)
          Finishes the visit of the specified location.
 void endVisitLocations(LocationsDetails target)
          Finishes the visit of the specified location list.
 void endVisitModel(ModelDetails target)
          Finishes the visit of the specified model.
 void endVisitPhase(PhaseDetails target)
          Finishes the visit of the specified championship's phase.
 void endVisitPlayer(PlayerDetails target)
          Finishes the visit of the specified player.
 void endVisitPlayerId(PlayerIdDetails target)
          Finishes the visit of the specified player reference.
 void endVisitPlayers(PlayersDetails target)
          Finishes the visit of the specified player list.
 void endVisitProperty(PropertyDetails target)
          Finishes the visit of the specified property.
 void endVisitResource(ResourceDetails target)
          Finishes the visit of the specified resource.
 void endVisitResources(ResourcesDetails target)
          Finishes the visit of the specified resource list.
 void endVisitUser(UserDetails target)
          Finishes the visit of the specified user.
 void endVisitUsers(UsersDetails target)
          Finishes the visit of the specified user list.
 void visitMetadata(AbstractMetadataDetails target)
          Visits the specified metadata.
 

Method Detail

beginVisitChampionships

void beginVisitChampionships(ChampionshipsDetails target)
                             throws Exception
Starts the visit of the specified championship list.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitChampionships(ChampionshipsDetails), ChampionshipsDetails.accept(XmlVisitor)

endVisitChampionships

void endVisitChampionships(ChampionshipsDetails target)
                           throws Exception
Finishes the visit of the specified championship list.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitChampionships(ChampionshipsDetails), ChampionshipsDetails.accept(XmlVisitor)

beginVisitChampionship

void beginVisitChampionship(ChampionshipDetails target)
                            throws Exception
Starts the visit of the specified championship.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitChampionship(ChampionshipDetails), ChampionshipDetails.accept(XmlVisitor)

endVisitChampionship

void endVisitChampionship(ChampionshipDetails target)
                          throws Exception
Finishes the visit of the specified championship.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitChampionship(ChampionshipDetails), ChampionshipDetails.accept(XmlVisitor)

beginVisitPhase

void beginVisitPhase(PhaseDetails target)
                     throws Exception
Starts the visit of the specified championship's phase.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitPhase(PhaseDetails), PhaseDetails.accept(XmlVisitor)

endVisitPhase

void endVisitPhase(PhaseDetails target)
                   throws Exception
Finishes the visit of the specified championship's phase.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitPhase(PhaseDetails), PhaseDetails.accept(XmlVisitor)

beginVisitEvent

void beginVisitEvent(EventDetails target)
                     throws Exception
Starts the visit of the specified championship's event.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitEvent(EventDetails), EventDetails.accept(XmlVisitor)

endVisitEvent

void endVisitEvent(EventDetails target)
                   throws Exception
Finishes the visit of the specified championship's event.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitEvent(EventDetails), EventDetails.accept(XmlVisitor)

beginVisitLocations

void beginVisitLocations(LocationsDetails target)
                         throws Exception
Starts the visit of the specified location list.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitLocations(LocationsDetails), LocationsDetails.accept(XmlVisitor)

endVisitLocations

void endVisitLocations(LocationsDetails target)
                       throws Exception
Finishes the visit of the specified location list.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitLocations(LocationsDetails), LocationsDetails.accept(XmlVisitor)

beginVisitLocation

void beginVisitLocation(LocationDetails target)
                        throws Exception
Starts the visit of the specified location.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitLocation(LocationDetails), LocationDetails.accept(XmlVisitor)

endVisitLocation

void endVisitLocation(LocationDetails target)
                      throws Exception
Finishes the visit of the specified location.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitLocation(LocationDetails), LocationDetails.accept(XmlVisitor)

beginVisitPlayers

void beginVisitPlayers(PlayersDetails target)
                       throws Exception
Starts the visit of the specified player list.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitPlayers(PlayersDetails), PlayersDetails.accept(XmlVisitor)

endVisitPlayers

void endVisitPlayers(PlayersDetails target)
                     throws Exception
Finishes the visit of the specified player list.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitPlayers(PlayersDetails), PlayersDetails.accept(XmlVisitor)

beginVisitPlayer

void beginVisitPlayer(PlayerDetails target)
                      throws Exception
Starts the visit of the specified player.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitPlayer(PlayerDetails), PlayerDetails.accept(XmlVisitor)

endVisitPlayer

void endVisitPlayer(PlayerDetails target)
                    throws Exception
Finishes the visit of the specified player.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitPlayer(PlayerDetails), PlayerDetails.accept(XmlVisitor)

beginVisitUsers

void beginVisitUsers(UsersDetails target)
                     throws Exception
Starts the visit of the specified user list.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitUsers(UsersDetails), UsersDetails.accept(XmlVisitor)

endVisitUsers

void endVisitUsers(UsersDetails target)
                   throws Exception
Finishes the visit of the specified user list.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitUsers(UsersDetails), UsersDetails.accept(XmlVisitor)

beginVisitUser

void beginVisitUser(UserDetails target)
                    throws Exception
Starts the visit of the specified user.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitUser(UserDetails), UserDetails.accept(XmlVisitor)

endVisitUser

void endVisitUser(UserDetails target)
                  throws Exception
Finishes the visit of the specified user.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitUser(UserDetails), UserDetails.accept(XmlVisitor)

beginVisitResources

void beginVisitResources(ResourcesDetails target)
                         throws Exception
Starts the visit of the specified resource list.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitResources(ResourcesDetails), ResourcesDetails.accept(XmlVisitor)

endVisitResources

void endVisitResources(ResourcesDetails target)
                       throws Exception
Finishes the visit of the specified resource list.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitResources(ResourcesDetails), ResourcesDetails.accept(XmlVisitor)

beginVisitResource

void beginVisitResource(ResourceDetails target)
                        throws Exception
Starts the visit of the specified resource.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitResource(ResourceDetails), ResourceDetails.accept(XmlVisitor)

endVisitResource

void endVisitResource(ResourceDetails target)
                      throws Exception
Finishes the visit of the specified resource.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitResource(ResourceDetails), ResourceDetails.accept(XmlVisitor)

beginVisitPlayerId

void beginVisitPlayerId(PlayerIdDetails target)
                        throws Exception
Starts the visit of the specified player reference.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitPlayerId(PlayerIdDetails), PlayerIdDetails.accept(XmlVisitor)

endVisitPlayerId

void endVisitPlayerId(PlayerIdDetails target)
                      throws Exception
Finishes the visit of the specified player reference.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitPlayerId(PlayerIdDetails), PlayerIdDetails.accept(XmlVisitor)

visitMetadata

void visitMetadata(AbstractMetadataDetails target)
                   throws Exception
Visits the specified metadata.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
AbstractMetadataDetails.accept(XmlVisitor)

beginVisitModel

void beginVisitModel(ModelDetails target)
                     throws Exception
Starts the visit of the specified model.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitModel(ModelDetails), ModelDetails.accept(XmlVisitor)

endVisitModel

void endVisitModel(ModelDetails target)
                   throws Exception
Finishes the visit of the specified model.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitModel(ModelDetails), ModelDetails.accept(XmlVisitor)

beginVisitProperty

void beginVisitProperty(PropertyDetails target)
                        throws Exception
Starts the visit of the specified property.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
endVisitProperty(PropertyDetails), PropertyDetails.accept(XmlVisitor)

endVisitProperty

void endVisitProperty(PropertyDetails target)
                      throws Exception
Finishes the visit of the specified property.

Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
beginVisitProperty(PropertyDetails), PropertyDetails.accept(XmlVisitor)

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.