Package | Description |
---|---|
org.zkoss.idom |
The iDOM representation of XML DOM tree.
|
org.zkoss.idom.impl |
Implementation of iDOM.
|
org.zkoss.idom.input |
SAX builder and factory for iDOM.
|
org.zkoss.idom.transform |
XSL Transformer for iDOM.
|
org.zkoss.idom.util |
Utilities that simplifies the use of iDOM.
|
org.zkoss.xel.taglib |
Utilities to access taglibs, aka., the TLD files.
|
org.zkoss.xel.util |
Utilities of XEL expressions.
|
org.zkoss.zk.device |
Device (such as Ajax browsers and mobile devices) relevant classes.
|
org.zkoss.zk.scripting |
Scripting interpreter relevant classes, including interpreter, namespace and so on.
|
org.zkoss.zk.ui.sys |
Internal interfaces of user interfaces and factories (behind the scene).
|
org.zkoss.zk.ui.util |
Utilities to handle user interfaces.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Element> |
Group.getElements()
Returns a cloned copy of all element children
Unlike
Group.getChildren() and Group.getElementNames() ,
the returned list is NOT a 'live-facade' of the real ones. |
java.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.
|
Modifier and Type | Method and Description |
---|---|
void |
Document.setRootElement(Element root)
Sets the root element.
|
Constructor and Description |
---|
Document(Element root)
Constructor.
|
Document(Element root,
DocType dt)
Constructor.
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
Element |
IDOMFactory.newElement(Namespace ns,
java.lang.String lname)
Creates an Element with a namespace.
|
Element |
DefaultIDOMFactory.newElement(Namespace ns,
java.lang.String lname) |
Element |
IDOMFactory.newElement(java.lang.String lname)
Creates an Element without namespace.
|
Element |
DefaultIDOMFactory.newElement(java.lang.String lname) |
Modifier and Type | Method and Description |
---|---|
Document |
IDOMFactory.newDocument(Element rootElement,
DocType docType)
Creates a Document.
|
Document |
DefaultIDOMFactory.newDocument(Element rootElement,
DocType docType) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static void |
IDOMs.setContents(java.util.Collection<Element> elems,
java.lang.Object val)
Set the contents of elements.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static void |
Devices.add(Element config)
Adds a device based on the XML declaration.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Interpreters.add(Element config)
Adds an interpreter based on the XML declaration.
|
Modifier and Type | Method and 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
|
Modifier and Type | Method and Description |
---|---|
boolean |
ConfigParser.parse(Configuration config,
Element el)
Called to parse application-specific elements.
|
Copyright © 2005-2021 Potix Corporation. All Rights Reserved.