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)
UnmarshalCallback
preUnmarshal
in interface UnmarshalCallback
parent
- 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)
UnmarshalCallback
postUnmarshal
in interface UnmarshalCallback
parent
- 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.Object
public BooleanValue toValue(ModelInstance modelInstance)
SValue
toValue
in interface SSimpleValue
toValue
in interface SValue
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.