Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.ide.model
Class NodeIdentityUtils

java.lang.Object
  extended by oracle.ide.model.NodeIdentityUtils

public final class NodeIdentityUtils
extends java.lang.Object

Suffixs are defined as including the preceeding dot in this class.


Method Summary
static boolean isNodeClass(java.lang.String[] names, java.lang.Class[] nodeClasses, boolean matchIfEqual)
          Returns true if any suffixs of the names matches any of the nodeClasses.
static boolean isNodeClass(java.lang.String[] names, java.lang.Class nodeClass, boolean matchIfEqual)
          Returns true if any suffixs of the names matches the nodeClass.
static boolean isNodeClass(java.lang.String name, java.lang.Class[] nodeClasses, boolean matchIfEqual)
          Returns true if the suffix of the name matches any of the nodeClasses.
static boolean isNodeClass(java.lang.String name, java.lang.Class nodeClass, boolean matchIfEqual)
          Returns true if the suffix of the name matches the nodeClass.
static boolean isNodeClass(java.net.URL[] urls, java.lang.Class[] nodeClasses, boolean matchIfEqual)
          Returns true if any suffixs of the urls match any of the nodeClasses.
static boolean isNodeClass(java.net.URL[] urls, java.lang.Class nodeClass, boolean matchIfEqual)
          Returns true if any suffixs of the urls match the nodeClass.
static boolean isNodeClass(java.net.URL url, java.lang.Class[] nodeClasses, boolean matchIfEqual)
          Returns true if the suffix of the url matches any of the nodeClasses.
static boolean isNodeClass(java.net.URL url, java.lang.Class nodeClass, boolean matchIfEqual)
          Returns true if the suffix of the url matches the nodeClass.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isNodeClass

public static boolean isNodeClass(java.net.URL url,
                                  java.lang.Class nodeClass,
                                  boolean matchIfEqual)
Returns true if the suffix of the url matches the nodeClass.

Parameters:
url - The url to get the suffix from
nodeClass - The Node implementation to compare against
matchIfEqual - If true matching is determined by equals, otherwise matches is determined by isAssignableFrom
Returns:
true if the suffix of the url matches the nodeClass

isNodeClass

public static boolean isNodeClass(java.lang.String name,
                                  java.lang.Class nodeClass,
                                  boolean matchIfEqual)
Returns true if the suffix of the name matches the nodeClass.

Parameters:
name - The name to get the suffix from
nodeClass - The Node implementation to compare against
matchIfEqual - If true matching is determined by equals, otherwise matches is determined by isAssignableFrom
Returns:
true if the suffix of the name matches the nodeClass

isNodeClass

public static boolean isNodeClass(java.net.URL url,
                                  java.lang.Class[] nodeClasses,
                                  boolean matchIfEqual)
Returns true if the suffix of the url matches any of the nodeClasses.

Parameters:
url - The url to get the suffix from
nodeClasses - The Node implementations to compare against
matchIfEqual - If true matching is determined by equals, otherwise matches is determined by isAssignableFrom
Returns:
true if the suffix of the url matches any of the nodeClasses

isNodeClass

public static boolean isNodeClass(java.lang.String name,
                                  java.lang.Class[] nodeClasses,
                                  boolean matchIfEqual)
Returns true if the suffix of the name matches any of the nodeClasses.

Parameters:
name - The name to get the suffix from
nodeClasses - The Node implementations to compare against
matchIfEqual - If true matching is determined by equals, otherwise matches is determined by isAssignableFrom
Returns:
true if the suffix of the name matches any of the nodeClasses

isNodeClass

public static boolean isNodeClass(java.net.URL[] urls,
                                  java.lang.Class nodeClass,
                                  boolean matchIfEqual)
Returns true if any suffixs of the urls match the nodeClass.

Parameters:
name - The name to get the suffix from
nodeClass - The Node implementation to compare against
matchIfEqual - If true matching is determined by equals, otherwise matches is determined by isAssignableFrom
Returns:
true if any suffixs of the urls match the nodeClass

isNodeClass

public static boolean isNodeClass(java.lang.String[] names,
                                  java.lang.Class nodeClass,
                                  boolean matchIfEqual)
Returns true if any suffixs of the names matches the nodeClass.

Parameters:
name - The name to get the suffix from
nodeClass - The Node implementation to compare against
matchIfEqual - If true matching is determined by equals, otherwise matches is determined by isAssignableFrom
Returns:
true if any suffixs of the names matches the nodeClass

isNodeClass

public static boolean isNodeClass(java.net.URL[] urls,
                                  java.lang.Class[] nodeClasses,
                                  boolean matchIfEqual)
Returns true if any suffixs of the urls match any of the nodeClasses.

Parameters:
name - The name to get the suffix from
nodeClasses - The Node implementations to compare against
matchIfEqual - If true matching is determined by equals, otherwise matches is determined by isAssignableFrom
Returns:
true if any suffixs of the urls match any of the nodeClasses

isNodeClass

public static boolean isNodeClass(java.lang.String[] names,
                                  java.lang.Class[] nodeClasses,
                                  boolean matchIfEqual)
Returns true if any suffixs of the names matches any of the nodeClasses.

Parameters:
name - The name to get the suffix from
nodeClasses - The Node implementations to compare against
matchIfEqual - If true matching is determined by equals, otherwise matches is determined by isAssignableFrom
Returns:
true if any suffixs of the names matches any of the nodeClasses

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.