public class TokenLanguage extends BoolPattern implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
value |
anchor, DEFAULT_ANCHOR
DEFAULT_PRIORITY, name, priority
modifiedAt, modifiedBy
Constructor and Description |
---|
TokenLanguage() |
TokenLanguage(TokenLanguage o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this TokenLanguage.
|
static TokenLanguage |
fromString(java.lang.String s)
String representation of this TokenLanguage.
|
java.lang.String |
getValue() |
TokenLanguage |
makeCopy()
Creates and returns a deep copy of this TokenLanguage.
|
static TokenLanguage |
readFrom(java.io.InputStream is)
Read this TokenLanguage from an XML fragment.
|
void |
setValue(java.lang.String value) |
java.lang.String |
toString()
String representation of this TokenLanguage.
|
TokenLanguage |
withAnchor(boolean anchor) |
TokenLanguage |
withAnchor(java.lang.Boolean anchor) |
TokenLanguage |
withModifiedAt(java.lang.Long modifiedAt) |
TokenLanguage |
withModifiedBy(java.lang.String modifiedBy) |
TokenLanguage |
withName(java.lang.String name) |
TokenLanguage |
withPriority(int priority) |
TokenLanguage |
withPriority(java.lang.Integer priority) |
TokenLanguage |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this TokenLanguage as an XML fragment
|
isAnchor, setAnchor
getName, getPriority, setName, setPriority
getModifiedAt, getModifiedBy, setModifiedAt, setModifiedBy
public TokenLanguage()
public TokenLanguage(TokenLanguage o)
public TokenLanguage withAnchor(boolean anchor)
withAnchor
in class BoolPattern
public TokenLanguage withAnchor(java.lang.Boolean anchor)
withAnchor
in class BoolPattern
public TokenLanguage withPriority(int priority)
withPriority
in class BoolPattern
public TokenLanguage withPriority(java.lang.Integer priority)
withPriority
in class BoolPattern
public TokenLanguage withName(java.lang.String name)
withName
in class BoolPattern
public TokenLanguage withModifiedBy(java.lang.String modifiedBy)
withModifiedBy
in class BoolPattern
public TokenLanguage withModifiedAt(java.lang.Long modifiedAt)
withModifiedAt
in class BoolPattern
public void setValue(java.lang.String value)
public java.lang.String getValue()
public TokenLanguage withValue(java.lang.String value)
public TokenLanguage makeCopy()
makeCopy
in class BoolPattern
public static TokenLanguage 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
writeTo
in class BoolPattern
javax.xml.bind.JAXBException
java.io.IOException
public static TokenLanguage 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 BoolPattern
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class BoolPattern
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.