zk.zuml
Class Parser

java.lang.Object
  extended by zk.zuml.Parser

public class Parser
extends java.lang.Object

The parser of using iZUML(Client-side ZUML).


Method Summary
static Widget create(Widget parent, String doc, Map args, Function fn)
          Parse the iZUML into widgets
static Widget createAt(String node, Map opts, Map args, Function fn)
          Parse the iZUML into widgets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static Widget create(Widget parent,
                            String doc,
                            Map args,
                            Function fn)
Parse the iZUML into widgets

Parameters:
parent - the root component
doc - the content text of the domElement
args - a map of arguments
fn - the function to register for execution later
Returns:
zk.Widget

createAt

public static Widget createAt(String node,
                              Map opts,
                              Map args,
                              Function fn)
Parse the iZUML into widgets

Parameters:
node - the id of the root component
opts - a map of options
args - a map of arguments
fn - the function to register for execution later
Returns:
zk.Widget


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo