Beispiel #1
0
 public XFormsNode getParentNode(Class parentClass) {
   Node parent = getParentNode();
   while ((!parentClass.isInstance(parent)) && parent != null) {
     parent = parent.getParentNode();
   }
   return (XFormsNode) parent;
 }
Beispiel #2
0
 public void reEvaluateChildContexts(boolean force) {
   XPathContext context = getContext();
   Node child = getFirstChild();
   while (child != null) {
     if (child instanceof XFormsElement) {
       ((XFormsElement) child).reEvaluateContext(context, force);
     }
     child = child.getNextSibling();
   }
 }