Search in sources :

Example 1 with ValueDescription

use of com.zimbra.doc.soap.ValueDescription in project zm-mailbox by Zimbra.

the class ElementChanges method getRepresentation.

private String getRepresentation(String jaxbName, Map<String, SoapApiType> apiTypes, String marker) {
    String representation;
    SoapApiType apiType = apiTypes.get(jaxbName);
    if (apiType == null) {
        representation = String.format("Problem for %s (%s)", xpath, marker);
    } else {
        ValueDescription valueDesc = apiType.getValueType();
        if (valueDesc == null) {
            return NO_VALUE;
        } else {
            return getRepresentation(valueDesc, marker);
        }
    }
    return representation;
}
Also used : ValueDescription(com.zimbra.doc.soap.ValueDescription) SoapApiType(com.zimbra.doc.soap.apidesc.SoapApiType)

Aggregations

ValueDescription (com.zimbra.doc.soap.ValueDescription)1 SoapApiType (com.zimbra.doc.soap.apidesc.SoapApiType)1