| Package | Description |
|---|---|
| org.zkoss.idom |
The iDOM representation of XML DOM tree.
|
| org.zkoss.idom.input |
SAX builder and factory for iDOM.
|
| Modifier and Type | Field and Description |
|---|---|
protected Namespace |
Attribute._ns
The namespace.
|
protected Namespace |
Element._ns
The namespace.
|
static Namespace |
Namespace.NO_NAMESPACE
The
Namespace for when not in a namespace |
static Namespace |
Namespace.XML_NAMESPACE
The xml namespace.
|
static Namespace |
Namespace.XMLNS_NAMESPACE
The xmlns namespace.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Namespace> |
Element._addNamespaces
Additional namespaces.
|
| Modifier and Type | Method and Description |
|---|---|
Namespace |
Attribute.getNamespace() |
Namespace |
Namespaceable.getNamespace()
Gets the namespace.
|
Namespace |
Element.getNamespace() |
Namespace |
Element.getNamespace(String prefix)
Returns the Namespace in scope on this element for the given
prefix (this involves searching up the tree, so the results depend
on the current location of the element), or null if not found.
|
static Namespace |
Namespace.getSpecial(String prefix)
Returns the special namespace if prefix is special, or null if not.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Namespace> |
Element.getDeclaredNamespaces()
Returns namespace declared on this element.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Element.addDeclaredNamespace(Namespace ns)
Adds a namespace to the namespace declaration.
|
boolean |
Namespace.equalsAll(Namespace ns)
Tests whether two namespace are the same in both prefix
and namespace URI.
|
void |
Attribute.setNamespace(Namespace ns)
Sets the namespace.
|
void |
Namespaceable.setNamespace(Namespace ns)
Sets the namespace.
|
void |
Element.setNamespace(Namespace ns)
Sets the namespace.
|
| Constructor and Description |
|---|
Attribute(Namespace ns,
String lname,
String value)
Constructor.
|
Element(Namespace ns,
String lname)
Constructor.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Namespace> |
SAXHandler._declNamespaces
The namespaces in between startPrefixMapping and endPrefixMapping.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
DefaultIDOMFactory.newAttribute(Namespace ns,
String lname,
String value) |
Attribute |
IDOMFactory.newAttribute(Namespace ns,
String lname,
String value)
Creates an Attribute with namespace.
|
Element |
DefaultIDOMFactory.newElement(Namespace ns,
String lname) |
Element |
IDOMFactory.newElement(Namespace ns,
String lname)
Creates an Element with a namespace.
|
Copyright © 2018. All rights reserved.