Constructor | Description |
---|---|
NumberView(double number) |
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(View<N> other) |
|
boolean |
equals(java.lang.Object o) |
|
int |
hashCode() |
|
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.
|
public boolean toBoolean()
View
public double toNumber()
View
public java.lang.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 modificationpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object