public final class ParameterSimpleValue extends Object implements ParameterValue
ParameterElementDeclaration
.Modifier and Type | Method and Description |
---|---|
void |
accept(ParameterValueVisitor valueVisitor)
Dispatches to the method with prefix "visit" with the specific value type as argument.
|
static ParameterValue |
cdata(String text) |
boolean |
equals(Object o) |
String |
getValue() |
int |
hashCode() |
boolean |
isCData() |
static ParameterValue |
of(String text) |
static ParameterValue |
plain(String text) |
String |
toString() |
public static ParameterValue of(String text)
public static ParameterValue plain(String text)
public static ParameterValue cdata(String text)
public String getValue()
public boolean isCData()
public void accept(ParameterValueVisitor valueVisitor)
visitObjectValue(ParameterObjectValue objectValue)
will be called
when this value is an ParameterObjectValue
.accept
in interface ParameterValue
valueVisitor
- the visitorCopyright © 2018. All rights reserved.