com.ptc.windchill.esi.evt
Class ESIEventRenderer

java.lang.Object
  extended bycom.ptc.windchill.esi.evt.ESISoapRequestRenderer
      extended bycom.ptc.windchill.esi.evt.ESIEventRenderer
All Implemented Interfaces:
SoapRequestRenderer

public final class ESIEventRenderer
extends ESISoapRequestRenderer

Default implementation for the SoapRequestRenderer interface. Converts an ESIEvent to a String representation of an XML document fragment.

Supported API: true

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String NULL_STRING
           
private static String RESOURCE
           
private static int STRING_BUFFER_SIZE
           
private  TaskHelper taskHelper
           
 
Fields inherited from class com.ptc.windchill.esi.evt.ESISoapRequestRenderer
 
Constructor Summary
ESIEventRenderer()
           
 
Method Summary
private  void addTargets(StringBuffer sb)
           
protected  String buildArguments()
          Builds an XML fragment with the following: ObjectID TransactionID Class WaitingEventID One or more ESITarget XML elements

Supported API: false
protected  void validate()
          Make sure that the event is not null and that its validate() method is invoked.
 
Methods inherited from class com.ptc.windchill.esi.evt.ESISoapRequestRenderer
asSoapRequest, getEvent, setEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

STRING_BUFFER_SIZE

private static final int STRING_BUFFER_SIZE
See Also:
Constant Field Values

NULL_STRING

private static final String NULL_STRING
See Also:
Constant Field Values

taskHelper

private TaskHelper taskHelper
Constructor Detail

ESIEventRenderer

public ESIEventRenderer()
Method Detail

validate

protected void validate()
                 throws ESIEventException
Make sure that the event is not null and that its validate() method is invoked.

Supported API: true

Specified by:
validate in class ESISoapRequestRenderer
Throws:
ESIEventException

buildArguments

protected String buildArguments()
                         throws ESIEventException
Builds an XML fragment with the following:

Supported API: false

Specified by:
buildArguments in class ESISoapRequestRenderer
Returns:
String
Throws:
ESIEventException

addTargets

private void addTargets(StringBuffer sb)
                 throws ESIEventException
Throws:
ESIEventException