N
- XML node typejava.lang.Comparable<View<N>>
IterableNodeView<N>
BooleanView
, LiteralView
, NodeSetView
, NodeView
, NumberView
public interface View<N extends Node> extends java.lang.Comparable<View<N>>
Modifier and Type | Method | Description |
---|---|---|
boolean |
toBoolean() |
Converts this view to a boolean value.
|
double |
toNumber() |
Converts this view to a numeric value.
|
java.lang.String |
toString() |
Converts this view to a string value.
|
<T> T |
visit(ViewVisitor<N,T> visitor) |
Visits current XML element.
|
boolean toBoolean()
double toNumber()
java.lang.String toString()
toString
in class java.lang.Object
<T> T visit(ViewVisitor<N,T> visitor) throws XmlBuilderException
T
- type of return valuevisitor
- XML element visitorXmlBuilderException
- if error occur during XML model modification