public abstract class SimpleType<T> extends ParameterValue<T>
| Constructor and Description |
|---|
SimpleType() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
asBoolean() |
Double |
asDouble() |
Float |
asFloat() |
int |
asInteger() |
String |
asString() |
T |
getValue() |
protected abstract String |
getXmlName() |
boolean |
is(Class<?> clazz) |
SimpleType |
withValue(T value) |
void |
write(XmlOutputContext writer) |
asParameterList, asParameterMap, asSimpleType, getName, hasName, withNamepublic T getValue()
public SimpleType withValue(T value)
public boolean is(Class<?> clazz)
public void write(XmlOutputContext writer) throws WritingXmlException
WritingXmlExceptionpublic int asInteger()
public String asString()
public Double asDouble()
public Float asFloat()
public Boolean asBoolean()
protected abstract String getXmlName()
Copyright © 2020. All rights reserved.