|
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.XmlToEntity
public class XmlToEntity
Builds the EJB objects during the visit of a particular XML instance, and all its childs if any.
Constructor Summary | |
---|---|
XmlToEntity()
|
Method Summary | |
---|---|
void |
beginVisitChampionship(ChampionshipDetails target)
Starts the visit of the specified championship. |
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 |
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 |
beginVisitProperty(PropertyDetails target)
Starts the visit of the specified property. |
void |
beginVisitResource(ResourceDetails target)
Starts the visit of the specified resource. |
void |
beginVisitUser(UserDetails target)
Starts the visit of the specified user. |
void |
endVisitChampionship(ChampionshipDetails target)
Finishes the visit of the specified championship. |
void |
endVisitEvent(EventDetails target)
Finishes the visit of the specified championship's event. |
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 |
endVisitResource(ResourceDetails target)
Finishes the visit of the specified resource. |
void |
endVisitUser(UserDetails target)
Finishes the visit of the specified user. |
void |
visitMetadata(AbstractMetadataDetails target)
Visits the specified metadata. |
Methods inherited from class christophedelory.betty.xml.BaseXmlVisitor |
---|
beginVisitChampionships, beginVisitLocations, beginVisitPlayers, beginVisitResources, beginVisitUsers, endVisitChampionships, endVisitLocation, endVisitLocations, endVisitPlayerId, endVisitPlayers, endVisitProperty, endVisitResources, endVisitUsers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlToEntity()
Method Detail |
---|
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 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 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 endVisitPlayer(PlayerDetails target) throws Exception
XmlVisitor
endVisitPlayer
in interface XmlVisitor
endVisitPlayer
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.beginVisitPlayer(PlayerDetails)
,
PlayerDetails.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 endVisitUser(UserDetails target) throws Exception
XmlVisitor
endVisitUser
in interface XmlVisitor
endVisitUser
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.beginVisitUser(UserDetails)
,
UserDetails.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 endVisitResource(ResourceDetails target) throws Exception
XmlVisitor
endVisitResource
in interface XmlVisitor
endVisitResource
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.beginVisitResource(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 visitMetadata(AbstractMetadataDetails target) throws Exception
XmlVisitor
visitMetadata
in interface XmlVisitor
visitMetadata
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.AbstractMetadataDetails.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 endVisitModel(ModelDetails target) throws Exception
XmlVisitor
endVisitModel
in interface XmlVisitor
endVisitModel
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.beginVisitModel(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 |