fr.etai.xat2v2.util
Class TransportUtil

java.lang.Object
  extended by fr.etai.xat2v2.util.TransportUtil

public final class TransportUtil
extends Object


Method Summary
static Classification getDialogByRef(Transport transport, String ref)
          Gets the classification from dialogList property.
static String getDialogValue(Transport transport, String ref)
          Gets the classification.value from dialogList.
static Message[] getErrors(Transport transport)
          Returns all the error messages contained in the transport object
static Classification getSecurityByRef(Transport transport, String ref)
          Gets the classification from securityList property.
static String getSecurityValue(Transport transport, String ref)
          Gets the classification.value from securityList.
static String[] getVerbOptions(Transport transport, String verb)
           
static String[] getVerbs(Transport transport)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDialogByRef

public static Classification getDialogByRef(Transport transport,
                                            String ref)
Gets the classification from dialogList property.

Parameters:
transport -
ref -
Returns:

getDialogValue

public static String getDialogValue(Transport transport,
                                    String ref)
Gets the classification.value from dialogList.

Parameters:
transport -
ref -
Returns:

getSecurityByRef

public static Classification getSecurityByRef(Transport transport,
                                              String ref)
Gets the classification from securityList property.

Parameters:
transport -
ref -
Returns:

getSecurityValue

public static String getSecurityValue(Transport transport,
                                      String ref)
Gets the classification.value from securityList.

Parameters:
transport -
ref -
Returns:

getVerbOptions

public static String[] getVerbOptions(Transport transport,
                                      String verb)
Parameters:
transport -
verb -
Returns:

getVerbs

public static String[] getVerbs(Transport transport)
Parameters:
transport -
Returns:

getErrors

public static Message[] getErrors(Transport transport)
Returns all the error messages contained in the transport object

Parameters:
xat2 -
Returns:


Copyright © 2012. All Rights Reserved.