public class SpellCheckTerm
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_FREQ |
long |
freq |
java.lang.String |
value |
Constructor and Description |
---|
SpellCheckTerm() |
SpellCheckTerm(SpellCheckTerm o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this SpellCheckTerm.
|
static SpellCheckTerm |
fromString(java.lang.String s)
String representation of this SpellCheckTerm.
|
long |
getFreq() |
java.lang.String |
getValue() |
SpellCheckTerm |
makeCopy()
Creates and returns a deep copy of this SpellCheckTerm.
|
static SpellCheckTerm |
readFrom(java.io.InputStream is)
Read this SpellCheckTerm from an XML fragment.
|
void |
setFreq(long freq) |
void |
setValue(java.lang.String value) |
java.lang.String |
toString()
String representation of this SpellCheckTerm.
|
SpellCheckTerm |
withFreq(long freq) |
SpellCheckTerm |
withFreq(java.lang.Long freq) |
SpellCheckTerm |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this SpellCheckTerm as an XML fragment
|
public java.lang.String value
public long freq
public static final long DEFAULT_FREQ
public SpellCheckTerm()
public SpellCheckTerm(SpellCheckTerm o)
public void setValue(java.lang.String value)
public java.lang.String getValue()
public SpellCheckTerm withValue(java.lang.String value)
public void setFreq(long freq)
public long getFreq()
public SpellCheckTerm withFreq(long freq)
public SpellCheckTerm withFreq(java.lang.Long freq)
public SpellCheckTerm makeCopy()
public static SpellCheckTerm 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 SpellCheckTerm 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 © 2013 Dassault Systèmes, All Rights Reserved.