public class Sentence extends BoolPattern implements com.exalead.util.Checkable, java.io.Serializable
anchor, DEFAULT_ANCHOR
DEFAULT_PRIORITY, name, priority
modifiedAt, modifiedBy
Constructor and Description |
---|
Sentence() |
Sentence(Sentence o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Sentence.
|
static Sentence |
fromString(java.lang.String s)
String representation of this Sentence.
|
Sentence |
makeCopy()
Creates and returns a deep copy of this Sentence.
|
static Sentence |
readFrom(java.io.InputStream is)
Read this Sentence from an XML fragment.
|
java.lang.String |
toString()
String representation of this Sentence.
|
Sentence |
withAnchor(boolean anchor) |
Sentence |
withAnchor(java.lang.Boolean anchor) |
Sentence |
withModifiedAt(java.lang.Long modifiedAt) |
Sentence |
withModifiedBy(java.lang.String modifiedBy) |
Sentence |
withName(java.lang.String name) |
Sentence |
withPriority(int priority) |
Sentence |
withPriority(java.lang.Integer priority) |
void |
writeTo(java.io.OutputStream os)
Write this Sentence as an XML fragment
|
isAnchor, setAnchor
getName, getPriority, setName, setPriority
getModifiedAt, getModifiedBy, setModifiedAt, setModifiedBy
public Sentence()
public Sentence(Sentence o)
public Sentence withAnchor(boolean anchor)
withAnchor
in class BoolPattern
public Sentence withAnchor(java.lang.Boolean anchor)
withAnchor
in class BoolPattern
public Sentence withPriority(int priority)
withPriority
in class BoolPattern
public Sentence withPriority(java.lang.Integer priority)
withPriority
in class BoolPattern
public Sentence withName(java.lang.String name)
withName
in class BoolPattern
public Sentence withModifiedBy(java.lang.String modifiedBy)
withModifiedBy
in class BoolPattern
public Sentence withModifiedAt(java.lang.Long modifiedAt)
withModifiedAt
in class BoolPattern
public Sentence makeCopy()
makeCopy
in class BoolPattern
public static Sentence 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 Sentence 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.