| |
|
| java.lang.Object gov.nist.core.GenericObject gov.nist.siplite.header.Header gov.nist.siplite.header.ParametersHeader gov.nist.siplite.header.EventHeader
Method Summary | |
public String | encodeBody() Encode in canonical form. | public String | getEventId() Gets the id of the EventHeader. | public String | getEventType() Gets the eventType of the EventHeader. | public Object | getValue() Gets the event header value. | public boolean | match(EventHeader matchTarget) Return true if the given event header matches the supplied one.
Parameters: matchTarget - -- event header to match against. | public void | setEventId(String eventId) Sets the id to the newly supplied eventId string. | public void | setEventType(String eventType) Sets the eventType to the newly supplied eventType string. |
NAME | final public static String NAME(Code) | | Event header field label.
|
eventType | protected String eventType(Code) | | Current event header field value.
|
EventHeader | public EventHeader()(Code) | | Creates a new instance of Event
|
encodeBody | public String encodeBody()(Code) | | Encode in canonical form.
String |
getEventId | public String getEventId()(Code) | | Gets the id of the EventHeader. This method may return null if the
"eventId" is not set.
the string object identifing the eventId of EventHeader. |
getEventType | public String getEventType()(Code) | | Gets the eventType of the EventHeader.
the string object identifing the eventType of EventHeader. |
getValue | public Object getValue()(Code) | | Gets the event header value.
the event header value |
match | public boolean match(EventHeader matchTarget)(Code) | | Return true if the given event header matches the supplied one.
Parameters: matchTarget - -- event header to match against. true if object matches |
setEventId | public void setEventId(String eventId) throws ParseException(Code) | | Sets the id to the newly supplied eventId string.
Parameters: eventId - - the new string defining the eventId of this EventHeader throws: ParseException - which signals that an error has been reachedunexpectedly while parsing the eventId value. |
setEventType | public void setEventType(String eventType) throws ParseException(Code) | | Sets the eventType to the newly supplied eventType string.
Parameters: eventType - - the new string defining the eventType supportedin this EventHeader throws: ParseException - which signals that an error has been reachedunexpectedly while parsing the eventType value. |
|
|
|