public class ApproximateModule extends QueryExpansionModule implements com.exalead.util.Checkable, java.io.Serializable
/>
,
Serialized FormQueryExpansionModule.Transformer<T>, QueryExpansionModule.Visitor
name
Constructor and Description |
---|
ApproximateModule() |
ApproximateModule(ApproximateModule o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(QueryExpansionModule.Transformer<T> transformer,
T[] t) |
void |
accept(QueryExpansionModule.Visitor visitor) |
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ApproximateModule.
|
static ApproximateModule |
fromString(java.lang.String s)
String representation of this ApproximateModule.
|
ApproximateModule |
makeCopy()
Creates and returns a deep copy of this ApproximateModule.
|
static ApproximateModule |
readFrom(java.io.InputStream is)
Read this ApproximateModule from an XML fragment.
|
java.lang.String |
toString()
String representation of this ApproximateModule.
|
ApproximateModule |
withName(java.lang.String name) |
void |
writeTo(java.io.OutputStream os)
Write this ApproximateModule as an XML fragment
|
getName, setName
public ApproximateModule()
public ApproximateModule(ApproximateModule o)
public ApproximateModule withName(java.lang.String name)
withName
in class QueryExpansionModule
public ApproximateModule makeCopy()
makeCopy
in class QueryExpansionModule
public static ApproximateModule 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 QueryExpansionModule
javax.xml.bind.JAXBException
java.io.IOException
public static ApproximateModule 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 QueryExpansionModule
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class QueryExpansionModule
com.exalead.util.TypedException
public void accept(QueryExpansionModule.Visitor visitor) throws com.exalead.util.TypedException
accept
in class QueryExpansionModule
com.exalead.util.TypedException
public <T> T accept(QueryExpansionModule.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class QueryExpansionModule
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.