Uses of Class
org.zkoss.idom.Element
-
-
Uses of Element in org.zkoss.idom
Methods in org.zkoss.idom that return Element Modifier and Type Method Description Element
Group. getElement(java.lang.String tname)
Gets the first Element-type child with the tag name.Element
Group. getElement(java.lang.String namespace, java.lang.String name, int mode)
Gets the first Element-type child that matches the giving criteria.Element
Document. getRootElement()
Gets the root element.Methods in org.zkoss.idom that return types with arguments of type Element Modifier and Type Method Description java.util.List<Element>
Group. getElements()
Returns a cloned copy of all element childrenjava.util.List<Element>
Group. getElements(java.lang.String tname)
Gets a readonly list of children with the tag name.java.util.List<Element>
Group. getElements(java.lang.String namespace, java.lang.String name, int mode)
Gets a readonly list of Element-type children that match the giving criteria.Methods in org.zkoss.idom with parameters of type Element Modifier and Type Method Description void
Document. setRootElement(Element root)
Sets the root element.Constructors in org.zkoss.idom with parameters of type Element Constructor Description Document(Element root)
Constructor.Document(Element root, DocType dt)
Constructor. -
Uses of Element in org.zkoss.idom.impl
Methods in org.zkoss.idom.impl that return Element Modifier and Type Method Description Element
AbstractGroup.ElementMap. get(java.lang.String name)
Get the element with name.Element
AbstractGroup. getElement(java.lang.String tname)
Element
AbstractGroup. getElement(java.lang.String namespace, java.lang.String name, int mode)
Methods in org.zkoss.idom.impl that return types with arguments of type Element Modifier and Type Method Description java.util.List<Element>
AbstractGroup.ElementMap. getAll(java.lang.String name)
Get a readonly list of all elements with name.java.util.List<Element>
AbstractGroup. getElements()
java.util.List<Element>
AbstractGroup. getElements(java.lang.String tname)
java.util.List<Element>
AbstractGroup. getElements(java.lang.String namespace, java.lang.String name, int mode)
Methods in org.zkoss.idom.impl with parameters of type Element Modifier and Type Method Description void
AbstractGroup.ElementMap. put(Element e, Element following)
Put an element into the map.void
AbstractGroup.ElementMap. remove(Element e)
Remove e from the map. -
Uses of Element in org.zkoss.idom.input
Methods in org.zkoss.idom.input that return Element Modifier and Type Method Description Element
DefaultIDOMFactory. newElement(java.lang.String lname)
Element
DefaultIDOMFactory. newElement(Namespace ns, java.lang.String lname)
Element
IDOMFactory. newElement(java.lang.String lname)
Creates an Element without namespace.Element
IDOMFactory. newElement(Namespace ns, java.lang.String lname)
Creates an Element with a namespace.Methods in org.zkoss.idom.input with parameters of type Element Modifier and Type Method Description Document
DefaultIDOMFactory. newDocument(Element rootElement, DocType docType)
Document
IDOMFactory. newDocument(Element rootElement, DocType docType)
Creates a Document. -
Uses of Element in org.zkoss.idom.transform
Methods in org.zkoss.idom.transform with parameters of type Element Modifier and Type Method Description Document
Transformer. transform(Element elm)
Transforms an iDOM element and returns the transformed result as another iDOM Document.void
Transformer. transform(Element elm, javax.xml.transform.Result result)
Transforms from an iDOM element to a result. -
Uses of Element in org.zkoss.idom.util
Methods in org.zkoss.idom.util that return Element Modifier and Type Method Description static Element
IDOMs. findElement(java.util.List elems, java.lang.String name)
Returns the first element whose sub-element called "name" has the same content as the name argument, or null if not found.static Element
IDOMs. getFirstElement(Group group)
Returns the first child element, or null if no child element at all.static Element
IDOMs. getRequiredElement(Element e, java.lang.String elemnm)
Returns the required element.Methods in org.zkoss.idom.util with parameters of type Element Modifier and Type Method Description static void
IDOMs. format(Element e)
Formats the specified element for better readability by adding white spaces.static java.lang.String
IDOMs. getRequiredAttributeValue(Element e, java.lang.String attrnm)
Returns the required attribute value.static Element
IDOMs. getRequiredElement(Element e, java.lang.String elemnm)
Returns the required element.static java.lang.String
IDOMs. getRequiredElementValue(Element e, java.lang.String elemnm)
Returns the required element value.static java.util.Map<java.lang.String,java.lang.String>
IDOMs. parseParams(Element elm, java.lang.String type, java.lang.String name, java.lang.String value)
Parses a tree of parameter elements into a map.Method parameters in org.zkoss.idom.util with type arguments of type Element Modifier and Type Method Description static void
IDOMs. setContents(java.util.Collection<Element> elems, java.lang.Object val)
Set the contents of elements. -
Uses of Element in org.zkoss.xel.taglib
Methods in org.zkoss.xel.taglib with parameters of type Element Modifier and Type Method Description static TaglibDefinition
Taglibs. load(Element root)
Loads functions and imports defined in the specified DOM.static java.util.Map<java.lang.String,Function>
Taglibs. loadFunctions(Element root)
Loads functions defined in the specified DOM. -
Uses of Element in org.zkoss.xel.util
Methods in org.zkoss.xel.util with parameters of type Element Modifier and Type Method Description static java.lang.String
Evaluators. add(Element config)
Adds an evaluator based on the XML declaration.void
TaglibMapper. load(java.lang.String prefix, Element root)
Loads function and class definitions from DOM. -
Uses of Element in org.zkoss.zk.device
Methods in org.zkoss.zk.device with parameters of type Element Modifier and Type Method Description static void
Devices. add(Element config)
Adds a device based on the XML declaration. -
Uses of Element in org.zkoss.zk.scripting
Methods in org.zkoss.zk.scripting with parameters of type Element Modifier and Type Method Description static java.lang.String
Interpreters. add(Element config)
Adds an interpreter based on the XML declaration. -
Uses of Element in org.zkoss.zk.ui.sys
Methods in org.zkoss.zk.ui.sys with parameters of type Element Modifier and Type Method Description void
ConfigParser. parse(Element root, Configuration config, Locator locator)
Parses zk.xml, specified by the root element.static void
ConfigParser. parseLibProperty(Element el)
Internal use only -
Uses of Element in org.zkoss.zk.ui.util
Methods in org.zkoss.zk.ui.util with parameters of type Element Modifier and Type Method Description boolean
ConfigParser. parse(Configuration config, Element el)
Called to parse application-specific elements.
-