public class CustomSemanticProcessor extends SemanticProcessor implements com.exalead.util.Checkable, java.io.Serializable
SemanticProcessor.Transformer<T>, SemanticProcessor.Visitor
Modifier and Type | Field and Description |
---|---|
java.lang.String |
classId |
java.util.List<exa.bee.KeyValue> |
keyValue |
contexts, name, src
Constructor and Description |
---|
CustomSemanticProcessor() |
CustomSemanticProcessor(CustomSemanticProcessor o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(SemanticProcessor.Transformer<T> transformer,
T[] t) |
void |
accept(SemanticProcessor.Visitor visitor) |
void |
check(boolean deep,
java.lang.String errorContext)
Checks this CustomSemanticProcessor.
|
static CustomSemanticProcessor |
fromString(java.lang.String s)
String representation of this CustomSemanticProcessor.
|
java.lang.String |
getClassId()
The specified class must implement the
com.exalead.indexing.analysis.semantic.CustomSemanticProcessorInterface interface. |
java.util.List<exa.bee.KeyValue> |
getKeyValue()
List of attribute values for the java object, as key-value pairs.
|
CustomSemanticProcessor |
makeCopy()
Creates and returns a deep copy of this CustomSemanticProcessor.
|
static CustomSemanticProcessor |
readFrom(java.io.InputStream is)
Read this CustomSemanticProcessor from an XML fragment.
|
void |
setClassId(java.lang.String classId)
The specified class must implement the
com.exalead.indexing.analysis.semantic.CustomSemanticProcessorInterface interface. |
java.lang.String |
toString()
String representation of this CustomSemanticProcessor.
|
CustomSemanticProcessor |
withClassId(java.lang.String classId) |
CustomSemanticProcessor |
withContexts(java.lang.String contexts) |
CustomSemanticProcessor |
withKeyValue(java.util.Collection<exa.bee.KeyValue> __values) |
CustomSemanticProcessor |
withKeyValue(exa.bee.KeyValue... __values)
List of attribute values for the java object, as key-value pairs.
|
CustomSemanticProcessor |
withName(java.lang.String name) |
CustomSemanticProcessor |
withSrc(java.lang.String src)
Deprecated.
|
void |
writeTo(java.io.OutputStream os)
Write this CustomSemanticProcessor as an XML fragment
|
getContexts, getName, getSrc, setContexts, setName, setSrc
public java.util.List<exa.bee.KeyValue> keyValue
public java.lang.String classId
public CustomSemanticProcessor()
public CustomSemanticProcessor(CustomSemanticProcessor o)
public CustomSemanticProcessor withName(java.lang.String name)
withName
in class SemanticProcessor
public CustomSemanticProcessor withContexts(java.lang.String contexts)
withContexts
in class SemanticProcessor
@Deprecated public CustomSemanticProcessor withSrc(java.lang.String src)
withSrc
in class SemanticProcessor
public java.util.List<exa.bee.KeyValue> getKeyValue()
public CustomSemanticProcessor withKeyValue(exa.bee.KeyValue... __values)
public CustomSemanticProcessor withKeyValue(java.util.Collection<exa.bee.KeyValue> __values)
public void setClassId(java.lang.String classId)
public java.lang.String getClassId()
public CustomSemanticProcessor withClassId(java.lang.String classId)
public CustomSemanticProcessor makeCopy()
makeCopy
in class SemanticProcessor
public static CustomSemanticProcessor 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 SemanticProcessor
javax.xml.bind.JAXBException
java.io.IOException
public static CustomSemanticProcessor 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 SemanticProcessor
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class SemanticProcessor
com.exalead.util.TypedException
public void accept(SemanticProcessor.Visitor visitor) throws com.exalead.util.TypedException
accept
in class SemanticProcessor
com.exalead.util.TypedException
public <T> T accept(SemanticProcessor.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class SemanticProcessor
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.