fr.etai.xat2v2.util
Class AttributedURILIstUtil

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

public final class AttributedURILIstUtil
extends Object


Method Summary
static String getURIByAction(List<AttributedURI> uriList, URIActionEnum action)
           
static Boolean isDirectAccess(List<AttributedURI> uriList, URIActionEnum action)
          Checks if the URI given for the specified action is directly accessible.
static void setURI(List<AttributedURI> uriList, URIActionEnum action, String uriValue, boolean directAccess)
          Adds an URI in the URI list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getURIByAction

public static String getURIByAction(List<AttributedURI> uriList,
                                    URIActionEnum action)

setURI

public static void setURI(List<AttributedURI> uriList,
                          URIActionEnum action,
                          String uriValue,
                          boolean directAccess)
Adds an URI in the URI list. If an URI with the specified action already exists, its value is replaced.

Parameters:
uriList -
action -
uriValue -
directAccess -

isDirectAccess

public static Boolean isDirectAccess(List<AttributedURI> uriList,
                                     URIActionEnum action)
Checks if the URI given for the specified action is directly accessible.

Parameters:
uriList -
action -
Returns:
true if direct access, false if the action exists but the access is not direct, null otherwise


Copyright © 2012. All Rights Reserved.