Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(View<N> other) |
Compare views by XQuery comparison rules.
|
static <T extends Node> |
of(boolean bool) |
|
boolean |
toBoolean() |
Converts this view to a boolean value.
|
double |
toNumber() |
Converts this view to a numeric value.
|
String |
toString() |
Converts this view to a string value.
|
<T> T |
visit(ViewVisitor<N,T> visitor) |
Visits current XML element.
|
public static <T extends Node> BooleanView<T> of(boolean bool)
public int compareTo(View<N> other)
View
public boolean toBoolean()
View
public double toNumber()
View
public String toString()
View
public <T> T visit(ViewVisitor<N,T> visitor) throws XmlBuilderException
View
visit
in interface View<N extends Node>
T
- type of return valuevisitor
- XML element visitorXmlBuilderException
- if error occur during XML model modification