public class GeoCategorizer extends SingleContextDocumentProcessor implements com.exalead.util.Checkable, java.io.Serializable
SingleContextDocumentProcessor.Transformer<T>
DocumentProcessor.FromDataModel
Modifier and Type | Field and Description |
---|---|
java.util.List<com.exalead.search.v30.GeoDomain> |
geoDomain |
java.lang.String |
outputContext |
inputContext
acceptCondition, dataModelClass, dataModelProperty, dataModelState, DEFAULT_DISABLED, disabled, fromDataModel, name
Constructor and Description |
---|
GeoCategorizer() |
GeoCategorizer(GeoCategorizer o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(DocumentProcessor.Transformer<T> transformer,
T[] t) |
<T> T |
accept(SingleContextDocumentProcessor.Transformer<T> transformer,
T[] t) |
void |
check(boolean deep,
java.lang.String errorContext)
Checks this GeoCategorizer.
|
static GeoCategorizer |
fromString(java.lang.String s)
String representation of this GeoCategorizer.
|
java.util.List<com.exalead.search.v30.GeoDomain> |
getGeoDomain() |
java.lang.String |
getOutputContext()
ContextName of the chunk to create.
|
GeoCategorizer |
makeCopy()
Creates and returns a deep copy of this GeoCategorizer.
|
static GeoCategorizer |
readFrom(java.io.InputStream is)
Read this GeoCategorizer from an XML fragment.
|
void |
setOutputContext(java.lang.String outputContext)
ContextName of the chunk to create.
|
java.lang.String |
toString()
String representation of this GeoCategorizer.
|
GeoCategorizer |
withAcceptCondition(AcceptCondition acceptCondition) |
GeoCategorizer |
withDataModelClass(java.lang.String dataModelClass) |
GeoCategorizer |
withDataModelProperty(java.lang.String dataModelProperty) |
GeoCategorizer |
withDataModelState(java.lang.String dataModelState) |
GeoCategorizer |
withDisabled(boolean disabled) |
GeoCategorizer |
withDisabled(java.lang.Boolean disabled) |
GeoCategorizer |
withFromDataModel(DocumentProcessor fromDataModel) |
GeoCategorizer |
withGeoDomain(java.util.Collection<com.exalead.search.v30.GeoDomain> __values) |
GeoCategorizer |
withGeoDomain(com.exalead.search.v30.GeoDomain... __values) |
GeoCategorizer |
withInputContext(java.lang.String inputContext) |
GeoCategorizer |
withName(java.lang.String name) |
GeoCategorizer |
withOutputContext(java.lang.String outputContext) |
void |
writeTo(java.io.OutputStream os)
Write this GeoCategorizer as an XML fragment
|
getInputContext, setInputContext
getAcceptCondition, getDataModelClass, getDataModelProperty, getDataModelState, getFromDataModel, getName, isDisabled, setAcceptCondition, setDataModelClass, setDataModelProperty, setDataModelState, setDisabled, setFromDataModel, setName
public java.util.List<com.exalead.search.v30.GeoDomain> geoDomain
public java.lang.String outputContext
public GeoCategorizer()
public GeoCategorizer(GeoCategorizer o)
public GeoCategorizer withInputContext(java.lang.String inputContext)
withInputContext
in class SingleContextDocumentProcessor
public GeoCategorizer withAcceptCondition(AcceptCondition acceptCondition)
withAcceptCondition
in class SingleContextDocumentProcessor
public GeoCategorizer withName(java.lang.String name)
withName
in class SingleContextDocumentProcessor
public GeoCategorizer withDataModelState(java.lang.String dataModelState)
withDataModelState
in class SingleContextDocumentProcessor
public GeoCategorizer withFromDataModel(DocumentProcessor fromDataModel)
withFromDataModel
in class SingleContextDocumentProcessor
public GeoCategorizer withDataModelClass(java.lang.String dataModelClass)
withDataModelClass
in class SingleContextDocumentProcessor
public GeoCategorizer withDataModelProperty(java.lang.String dataModelProperty)
withDataModelProperty
in class SingleContextDocumentProcessor
public GeoCategorizer withDisabled(boolean disabled)
withDisabled
in class SingleContextDocumentProcessor
public GeoCategorizer withDisabled(java.lang.Boolean disabled)
withDisabled
in class SingleContextDocumentProcessor
public java.util.List<com.exalead.search.v30.GeoDomain> getGeoDomain()
public GeoCategorizer withGeoDomain(com.exalead.search.v30.GeoDomain... __values)
public GeoCategorizer withGeoDomain(java.util.Collection<com.exalead.search.v30.GeoDomain> __values)
public void setOutputContext(java.lang.String outputContext)
public java.lang.String getOutputContext()
public GeoCategorizer withOutputContext(java.lang.String outputContext)
public GeoCategorizer makeCopy()
makeCopy
in class SingleContextDocumentProcessor
public static GeoCategorizer 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 SingleContextDocumentProcessor
javax.xml.bind.JAXBException
java.io.IOException
public static GeoCategorizer 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 SingleContextDocumentProcessor
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class SingleContextDocumentProcessor
com.exalead.util.TypedException
public <T> T accept(SingleContextDocumentProcessor.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class SingleContextDocumentProcessor
com.exalead.util.TypedException
public <T> T accept(DocumentProcessor.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class DocumentProcessor
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.