| 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.adf.model.adapter.utils.Utility
public final class Utility
Common utilities.
| Constructor Summary | |
|---|---|
Utility()
 | 
|
| Method Summary | |
|---|---|
static void | 
ASSERT(boolean flag)
Throws an exception if the flag is set to false.  | 
static Element | 
getChildElement(Node parent,
                java.lang.String childNodeName)
Search for a child Element given a parent element and the child name  | 
static Node | 
getFirstChild(Node parent,
              java.lang.String childName)
Search for the First child Node of a parent given the child name  | 
static boolean | 
isNameValid(java.lang.String name)
Check if a given name is valid.  | 
static java.lang.String | 
normalizeString(java.lang.String name)
Normalize a string to play by the JSR 227 DT rules.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Utility()
| Method Detail | 
|---|
public static final void ASSERT(boolean flag)
                         throws java.lang.RuntimeException
java.lang.RuntimeException
public static Element getChildElement(Node parent,
                                      java.lang.String childNodeName)
public static Node getFirstChild(Node parent,
                                 java.lang.String childName)
public static java.lang.String normalizeString(java.lang.String name)
name - The String to be normalized.
public static boolean isNameValid(java.lang.String name)
Character.isLetterOrDigit() must return true,
         or is an underscore. 
name - The input name which must be checked for compliance
             Utility
true if the input name satisfies the conditions
         described above. false if any of the above 
         conditions fail.
  | 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||