|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.epfl.lsr.apex.APEXMessage ch.epfl.lsr.apex.APEXTerminateMessage
An APEXTerminateMessage
is the message sent for terminate
bindings and attachments, and defines its syntax as it is
specified in the Application Exchange (APEX) Protocol RFC3340 DTD.
APEXMessage
Field Summary | |
(package private) int |
code
|
(package private) String |
content
|
(package private) int |
transID
|
(package private) String |
xmlLang
|
Fields inherited from class ch.epfl.lsr.apex.APEXMessage |
APPBEEPXML, ATTACH, BEEPXML, BIND, CONTENTTRANSFERENCODING, CONTENTTYPE, DATA, ENC_7BIT, ENC_8BIT, ENC_BASE64, ENC_BINARY, ENC_QUOTEDPRINTABLE, ENC_UUENCODE, ERROR, FILENAME, message, MIMECONTENT, MIMECONTENT_HASHKEY, OK, RELATED, START, START_HASHKEY, status, STRINGCONTENT, STRINGCONTENT_HASHKEY, TERMINATE, TYPE, XMLCONTENT, XMLCONTENT_HASHKEY |
Constructor Summary | |
APEXTerminateMessage(int transID)
Instantiates an APEXTerminateMessage for the specified
arguments. |
|
APEXTerminateMessage(int transID,
int code)
Instantiates an APEXTerminateMessage for the specified
arguments. |
|
APEXTerminateMessage(int transID,
int code,
String content)
Instantiates an APEXTerminateMessage for the specified
arguments. |
|
APEXTerminateMessage(int transID,
int code,
String content,
String xmlLang)
Instantiates an APEXTerminateMessage for the specified
arguments. |
Method Summary | |
int |
getCode()
Returns the code attribute's value of this termination. |
String |
getContent()
Returns the content of this termination. |
int |
getTransID()
Returns the transaction identifier of this termination. |
String |
getXmlLang()
Returns the xml:lang attribute's value of this termination. |
String |
getXMLMessage()
Returns an XML message of this operation. |
void |
setCode(int code)
Sets the (applicational) code attribute's value. |
void |
setContent(String content)
Sets the XML content. |
void |
setXMLLang(String xmlLang)
Sets the xml:lang attribute's value. |
Methods inherited from class ch.epfl.lsr.apex.APEXMessage |
apexMessageFactory, buildMimeBodyPart, getDataStream, getMessage, getMimeMessage, getMimeMultipart, getStatus, hashset2AddressTable, MimeBodyPartToString, setMessage, setStatus, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
int transID
int code
String content
String xmlLang
Constructor Detail |
public APEXTerminateMessage(int transID)
APEXTerminateMessage
for the specified
arguments.
transID
- The transaction identifier for this terminationpublic APEXTerminateMessage(int transID, int code)
APEXTerminateMessage
for the specified
arguments.
transID
- The transaction identifier for this terminationcode
- The (applicational) code attribute's value, RFC3340, or
0
for nonepublic APEXTerminateMessage(int transID, int code, String content)
APEXTerminateMessage
for the specified
arguments.
transID
- The transaction identifier for this terminationcode
- The (applicational) code attribute's value, RFC3340, or
0
for nonecontent
- The XML content or null
for nonpublic APEXTerminateMessage(int transID, int code, String content, String xmlLang)
APEXTerminateMessage
for the specified
arguments.
transID
- The transaction identifier for this terminationcode
- The (applicational) code attribute's value, RFC3340, or
0
for nonecontent
- The XML content or null
for nonxmlLang
- The xml:lang attribute's value or null
for nonMethod Detail |
public String getXMLMessage()
APEXMessage
getXMLMessage
in class APEXMessage
public void setCode(int code)
code
- The (applicational) code attribute's valuepublic void setContent(String content)
content
- The XML String contentpublic void setXMLLang(String xmlLang)
xmlLang
- The xml:lang attribute's valuepublic int getTransID()
public int getCode()
public String getXmlLang()
public String getContent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |