|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.annotation.rework.backend.proxy.AnnotationRequestMessage
AnnotationRequestMessage.java Tools to create and read annotation request messages
| Field Summary | |
private static java.lang.String |
ARGUMENT_ELEMENT_NAME
Element name of method arguments |
private static java.lang.String |
LISTENERID_ELEMENT_NAME
Element name of method arguments |
static java.lang.String |
METHOD_addAnnotations
Method name |
static java.lang.String |
METHOD_addAnnotationType
Method name |
static java.lang.String |
METHOD_getAnnotation
Method name |
static java.lang.String |
METHOD_getAnnotationOntology
Method name |
static java.lang.String |
METHOD_getAnnotations
Method name |
static java.lang.String |
METHOD_getAnnotationsRdql
Method name |
static java.lang.String |
METHOD_getAnnotationThread
Method name |
static java.lang.String |
METHOD_indexAllAnnotations
Method name |
static java.lang.String |
METHOD_modifyAnnotations
Method name |
static java.lang.String |
METHOD_removeAnnotation
Method name |
static java.lang.String |
RESPONSE_ELEMENT_NAME
Element name of the root element of the response message |
private static java.lang.String |
RETURN_ELEMENT_NAME
Name of the return value element |
| Constructor Summary | |
AnnotationRequestMessage()
|
|
| Method Summary | |
static java.lang.String |
createRequestMessage(java.lang.String methodName,
java.lang.String[] args,
java.lang.String responseId)
Creates a XML serialization with method name, arguments and listender id |
static java.lang.String |
createResponseMessage(java.lang.String returnValue,
java.lang.String responseId)
Creates a response message with a result value |
static java.lang.String |
getListenerId(org.w3c.dom.Document messageDoc)
Returns the listener id |
static java.lang.String |
getMethodArgument(org.w3c.dom.Document messageDoc,
int paramIndex)
Returns argument paramIndex of the method call |
static java.lang.String |
getReturnValue(java.lang.String responseMessage)
Returns the return-value in a response message |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String RESPONSE_ELEMENT_NAME
private static final java.lang.String ARGUMENT_ELEMENT_NAME
private static final java.lang.String LISTENERID_ELEMENT_NAME
private static final java.lang.String RETURN_ELEMENT_NAME
public static final java.lang.String METHOD_addAnnotations
public static final java.lang.String METHOD_modifyAnnotations
public static final java.lang.String METHOD_removeAnnotation
public static final java.lang.String METHOD_addAnnotationType
public static final java.lang.String METHOD_getAnnotation
public static final java.lang.String METHOD_getAnnotationThread
public static final java.lang.String METHOD_getAnnotations
public static final java.lang.String METHOD_getAnnotationsRdql
public static final java.lang.String METHOD_getAnnotationOntology
public static final java.lang.String METHOD_indexAllAnnotations
| Constructor Detail |
public AnnotationRequestMessage()
| Method Detail |
public static java.lang.String createRequestMessage(java.lang.String methodName,
java.lang.String[] args,
java.lang.String responseId)
methodName - Name of the method to callargs - Arguments of the method to call
public static java.lang.String getMethodArgument(org.w3c.dom.Document messageDoc,
int paramIndex)
messageDoc - MessageparamIndex - Argument index
public static java.lang.String getListenerId(org.w3c.dom.Document messageDoc)
messageDoc - Document
public static java.lang.String createResponseMessage(java.lang.String returnValue,
java.lang.String responseId)
returnValue - Response (Return value of the method)
public static java.lang.String getReturnValue(java.lang.String responseMessage)
responseMessage - XML serialization
#createRequestMessage(String, String[])
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||