|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.esi.evt.ESISoapRequestRenderer
Abstract class containing the implementation of the SoapRequestRenderer
interface.
Supported API: true
Extendable: true
Field Summary | |
private StringBuffer |
arguments
|
private static String |
CLASSNAME
|
private ESIEvent |
event
|
private static String |
HEADER
|
private static String |
RESOURCE
|
private static int |
STRING_BUFFER__PAD_SIZE
|
private static String |
TRAILER
|
Constructor Summary | |
ESISoapRequestRenderer()
|
Method Summary | |
String |
asSoapRequest()
This is a template method that forces subclasses to validate() and then executes their buildArguments() method. |
protected abstract String |
buildArguments()
Abstract method forcing subclasses to create the XML fragment that will be enclosed in a SOAP envelope. |
ESIEvent |
getEvent()
Gets the object for the association that plays role: event. |
void |
setEvent(ESIEvent a_Event)
Sets the object for the association that plays role: event. |
protected abstract void |
validate()
Abstract method forcing subclasses to ensure that their state is correct before attempting to build the request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private StringBuffer arguments
private ESIEvent event
private static final String HEADER
private static final String TRAILER
private static final int STRING_BUFFER__PAD_SIZE
Constructor Detail |
public ESISoapRequestRenderer()
Method Detail |
public ESIEvent getEvent()
public void setEvent(ESIEvent a_Event)
setEvent
in interface SoapRequestRenderer
a_Event
- public final String asSoapRequest() throws ESIEventException
asSoapRequest
in interface SoapRequestRenderer
ESIEventException
protected abstract void validate() throws ESIEventException
ESIEventException
protected abstract String buildArguments() throws ESIEventException
ESIEventException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |