Package | Description |
---|---|
er.xiss |
Modifier and Type | Method and Description |
---|---|
ERXML.E |
ERXML.E.add(ERXML.Attr attribute)
Adds the given attribute to this element.
|
ERXML.E |
ERXML.E.child(String name)
Returns the child element with the given name from this element, or null if there isn't one.
|
static ERXML.E |
ERXML.e(Element w3cElement)
Converts a W3C Element into an XML.E.
|
static ERXML.E |
ERXML.e(String name)
Creates and returns a new Element.
|
ERXML.E |
ERXML.E.e(String name)
Creates and appends a new element to this element.
|
static ERXML.E |
ERXML.e(String name,
Object... children)
Creates and returns a new Element.
|
static ERXML.E |
ERXML.e(String name,
String text)
Creates and returns a new Element.
|
ERXML.E |
ERXML.E.e(String name,
String value)
Creates and appends a new element to this element.
|
ERXML.E |
ERXML.Doc.root()
Returns the root element (or null if there isn't one).
|
ERXML.E |
ERXML.Doc.root(String name)
Creates a new root element with the given name and returns it.
|
ERXML.E |
ERXML.Doc.root(String name,
String value)
Creates a new root element with the given name and initial text contents and returns
it.
|
ERXML.E |
ERXML.E.set(String... nvPairs)
Sets a series of attributes in the format "name1","value1", "name2","value2", ...
|
ERXML.E |
ERXML.E.set(String name,
String value)
Sets the attribute of the given name to the given value.
|
ERXML.E |
ERXML.E.setText(String text)
Sets the text value of this element.
|
Modifier and Type | Method and Description |
---|---|
List<ERXML.E> |
ERXML.E.children(String name)
Returns a list of direct children of this element that have the given name, or an empty
list if there aren't any.
|
Set<ERXML.E> |
ERXML.E.descendents(String name)
Returns a set of descendent elements of this element that have the given name, or an empty
list if there aren't any.
|
Modifier and Type | Method and Description |
---|---|
void |
ERXML.Doc.setRoot(ERXML.E root)
Sets the root element of this document.
|
Copyright © 2002 – 2024 Project Wonder.