|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.xforms.XFormsUtil
XForms releated utility functions
| Constructor Summary | |
XFormsUtil()
|
|
| Method Summary | |
static void |
dumpDOM(boolean views,
org.w3c.dom.Element e)
|
static void |
dumpDOM(boolean views,
org.w3c.dom.Element e,
int level)
|
static java.lang.String |
getNamespaceURI(java.lang.String prefix,
org.w3c.dom.Element elem)
this method goes thru the tree from the provided element to the root and tries to find a namespace prefix mapping and returns the mapped URI or null if not found |
static QName |
getQName(java.lang.String rawName,
org.w3c.dom.Element nsContext)
|
static java.lang.String |
getText(org.w3c.dom.Node elem)
get the text value of this node |
static boolean |
isXFormsValid(InstanceNode n)
goes thru all children and checks whether they are xforms valid will notify registered controls to make sure that invalidity is reflected in the UI |
static void |
setText(org.w3c.dom.Node n,
java.lang.String text)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XFormsUtil()
| Method Detail |
public static void setText(org.w3c.dom.Node n,
java.lang.String text)
public static java.lang.String getText(org.w3c.dom.Node elem)
public static boolean isXFormsValid(InstanceNode n)
public static QName getQName(java.lang.String rawName,
org.w3c.dom.Element nsContext)
public static java.lang.String getNamespaceURI(java.lang.String prefix,
org.w3c.dom.Element elem)
public static void dumpDOM(boolean views,
org.w3c.dom.Element e)
public static void dumpDOM(boolean views,
org.w3c.dom.Element e,
int level)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||