public class SBooleanValue extends java.lang.Object implements SSimpleValue
| Modifier and Type | Field and Description |
|---|---|
static SBooleanValue |
FALSE
False value.
|
static SBooleanValue |
TRUE
True value.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SBooleanValue()
Creates new empty instance of
SBooleanValue. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getValue() |
void |
postUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
Callback method invoked after unmarshalling XML data into target.
|
void |
preUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
Callback method invoked before unmarshalling into target.
|
java.lang.String |
toString() |
BooleanValue |
toValue(ModelInstance modelInstance)
Creates a real value.
|
static SBooleanValue |
value(boolean val)
Returns boolean value.
|
public static final SBooleanValue TRUE
public static final SBooleanValue FALSE
protected SBooleanValue()
SBooleanValue.public static SBooleanValue value(boolean val)
val - public boolean getValue()
public void preUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
UnmarshalCallbackpreUnmarshal in interface UnmarshalCallbackparent - instance of JAXB mapped class that will eventually reference target.
null when target is root element.public void postUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
UnmarshalCallbackpostUnmarshal in interface UnmarshalCallbackparent - instance of JAXB mapped class that will reference target.
null when target is root element.public java.lang.String toString()
toString in class java.lang.Objectpublic BooleanValue toValue(ModelInstance modelInstance)
SValuetoValue in interface SSimpleValuetoValue in interface SValueCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.