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