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) |
static ParameterValue |
cdata(String text,
SimpleValueType type) |
boolean |
equals(Object o) |
SimpleValueType |
getType() |
String |
getValue() |
int |
hashCode() |
boolean |
isCData() |
static ParameterValue |
of(String text) |
static ParameterValue |
of(String text,
SimpleValueType type) |
static ParameterValue |
plain(String text) |
static ParameterValue |
plain(String text,
SimpleValueType type) |
String |
toString() |
public static ParameterValue of(String text)
public static ParameterValue of(String text, SimpleValueType type)
public static ParameterValue plain(String text)
public static ParameterValue plain(String text, SimpleValueType type)
public static ParameterValue cdata(String text)
public static ParameterValue cdata(String text, SimpleValueType type)
public String getValue()
public boolean isCData()
public SimpleValueType getType()
public void accept(ParameterValueVisitor valueVisitor)
visitObjectValue(ParameterObjectValue objectValue) will be called
when this value is an ParameterObjectValue.accept in interface ParameterValuevalueVisitor - the visitorCopyright © 2021 MuleSoft, Inc.. All rights reserved.