public class SimHash extends SemanticProcessor implements com.exalead.util.Checkable, java.io.Serializable
SemanticProcessor.Transformer<T>, SemanticProcessor.Visitor
Modifier and Type | Field and Description |
---|---|
java.lang.String |
annotationName |
java.lang.String |
enabledFields |
java.lang.String |
fromTags |
contexts, name, src
Constructor and Description |
---|
SimHash() |
SimHash(SimHash 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 SimHash.
|
static SimHash |
fromString(java.lang.String s)
String representation of this SimHash.
|
java.lang.String |
getAnnotationName() |
java.lang.String |
getEnabledFields() |
java.lang.String |
getFromTags() |
SimHash |
makeCopy()
Creates and returns a deep copy of this SimHash.
|
static SimHash |
readFrom(java.io.InputStream is)
Read this SimHash from an XML fragment.
|
void |
setAnnotationName(java.lang.String annotationName) |
void |
setEnabledFields(java.lang.String enabledFields) |
void |
setFromTags(java.lang.String fromTags) |
java.lang.String |
toString()
String representation of this SimHash.
|
SimHash |
withAnnotationName(java.lang.String annotationName) |
SimHash |
withContexts(java.lang.String contexts) |
SimHash |
withEnabledFields(java.lang.String enabledFields) |
SimHash |
withFromTags(java.lang.String fromTags) |
SimHash |
withName(java.lang.String name) |
SimHash |
withSrc(java.lang.String src)
Deprecated.
|
void |
writeTo(java.io.OutputStream os)
Write this SimHash as an XML fragment
|
getContexts, getName, getSrc, setContexts, setName, setSrc
public java.lang.String annotationName
public java.lang.String fromTags
public java.lang.String enabledFields
public SimHash()
public SimHash(SimHash o)
public SimHash withName(java.lang.String name)
withName
in class SemanticProcessor
public SimHash withContexts(java.lang.String contexts)
withContexts
in class SemanticProcessor
@Deprecated public SimHash withSrc(java.lang.String src)
withSrc
in class SemanticProcessor
public void setAnnotationName(java.lang.String annotationName)
public java.lang.String getAnnotationName()
public SimHash withAnnotationName(java.lang.String annotationName)
public void setFromTags(java.lang.String fromTags)
public java.lang.String getFromTags()
public SimHash withFromTags(java.lang.String fromTags)
public void setEnabledFields(java.lang.String enabledFields)
public java.lang.String getEnabledFields()
public SimHash withEnabledFields(java.lang.String enabledFields)
public SimHash makeCopy()
makeCopy
in class SemanticProcessor
public static SimHash 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 SimHash 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.