public class StringConstantValue extends java.lang.Object implements com.exalead.util.Checkable, java.io.Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
value |
Constructor and Description |
---|
StringConstantValue() |
StringConstantValue(java.lang.String value)
Fully-initialising value constructor
|
StringConstantValue(StringConstantValue o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this StringConstantValue.
|
StringConstantValue |
clone()
Creates and returns a deep copy of this StringConstantValue.
|
static StringConstantValue |
fromString(java.lang.String s)
String representation of this StringConstantValue.
|
java.lang.String |
getValue()
-
|
StringConstantValue |
makeCopy()
Creates and returns a deep copy of this StringConstantValue.
|
static StringConstantValue |
readFrom(java.io.InputStream is)
Read this StringConstantValue from an XML fragment.
|
void |
setValue(java.lang.String value)
-
|
java.lang.String |
toString()
String representation of this StringConstantValue.
|
StringConstantValue |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this StringConstantValue as an XML fragment
|
public StringConstantValue()
public StringConstantValue(StringConstantValue o)
public StringConstantValue(java.lang.String value)
public void setValue(java.lang.String value)
public java.lang.String getValue()
public StringConstantValue withValue(java.lang.String value)
public StringConstantValue clone()
clone
in class java.lang.Object
public StringConstantValue makeCopy()
public static StringConstantValue readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static StringConstantValue fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.