| 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)
Viewpublic boolean toBoolean()
Viewpublic double toNumber()
Viewpublic String toString()
Viewpublic <T> T visit(ViewVisitor<N,T> visitor) throws XmlBuilderException
Viewvisit in interface View<N extends Node>T - type of return valuevisitor - XML element visitorXmlBuilderException - if error occur during XML model modification