|
Oracle Application Development Framework Model and Business Components Java API Reference VERSION B16005-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
oracle.adf.model.adapter.utils.Utility
Common utilities.
| Constructor Summary | |
Utility() |
|
| Method Summary | |
static void |
ASSERT(boolean flag)Throws an exception if the flag is set to false. |
static org.w3c.dom.Element |
getChildElement(org.w3c.dom.Node parent, java.lang.String childNodeName)Search for a child Element given a parent element and the child name |
static org.w3c.dom.Node |
getFirstChild(org.w3c.dom.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 org.w3c.dom.Element getChildElement(org.w3c.dom.Node parent,
java.lang.String childNodeName)
public static org.w3c.dom.Node getFirstChild(org.w3c.dom.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 compliancetrue if the input name satisfies the conditions described above. false if any of the above conditions fail.
|
Oracle Application Development Framework Model and Business Components Java API Reference VERSION B16005-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||