public class Phonetizer extends SemanticProcessor implements com.exalead.util.Checkable, java.io.Serializable
SemanticProcessor.FromDataModel, SemanticProcessor.Transformer<T>, SemanticProcessor.Visitor
Modifier and Type | Field and Description |
---|---|
java.lang.String |
language |
java.lang.String |
resourceFile |
contexts, dataModelClass, dataModelProperty, dataModelState, DEFAULT_DISABLED, disabled, fromDataModel, name
Constructor and Description |
---|
Phonetizer() |
Phonetizer(Phonetizer 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 Phonetizer.
|
static Phonetizer |
fromString(java.lang.String s)
String representation of this Phonetizer.
|
java.lang.String |
getLanguage()
Languages for which the processor is activated;
if no language is specified, the processor is activated for all languages. |
java.lang.String |
getResourceFile()
URL for the resource (data://, file;// or resource://).
|
Phonetizer |
makeCopy()
Creates and returns a deep copy of this Phonetizer.
|
static Phonetizer |
readFrom(java.io.InputStream is)
Read this Phonetizer from an XML fragment.
|
void |
setLanguage(java.lang.String language)
Languages for which the processor is activated;
if no language is specified, the processor is activated for all languages. |
void |
setResourceFile(java.lang.String resourceFile)
URL for the resource (data://, file;// or resource://).
|
java.lang.String |
toString()
String representation of this Phonetizer.
|
Phonetizer |
withContexts(java.lang.String contexts) |
Phonetizer |
withDataModelClass(java.lang.String dataModelClass) |
Phonetizer |
withDataModelProperty(java.lang.String dataModelProperty) |
Phonetizer |
withDataModelState(java.lang.String dataModelState) |
Phonetizer |
withDisabled(boolean disabled) |
Phonetizer |
withDisabled(java.lang.Boolean disabled) |
Phonetizer |
withFromDataModel(SemanticProcessor fromDataModel) |
Phonetizer |
withLanguage(java.lang.String language) |
Phonetizer |
withName(java.lang.String name) |
Phonetizer |
withResourceFile(java.lang.String resourceFile) |
void |
writeTo(java.io.OutputStream os)
Write this Phonetizer as an XML fragment
|
getContexts, getDataModelClass, getDataModelProperty, getDataModelState, getFromDataModel, getName, isDisabled, setContexts, setDataModelClass, setDataModelProperty, setDataModelState, setDisabled, setFromDataModel, setName
public java.lang.String resourceFile
public java.lang.String language
public Phonetizer()
public Phonetizer(Phonetizer o)
public Phonetizer withName(java.lang.String name)
withName
in class SemanticProcessor
public Phonetizer withContexts(java.lang.String contexts)
withContexts
in class SemanticProcessor
public Phonetizer withFromDataModel(SemanticProcessor fromDataModel)
public Phonetizer withDataModelState(java.lang.String dataModelState)
withDataModelState
in class SemanticProcessor
public Phonetizer withDataModelClass(java.lang.String dataModelClass)
withDataModelClass
in class SemanticProcessor
public Phonetizer withDataModelProperty(java.lang.String dataModelProperty)
withDataModelProperty
in class SemanticProcessor
public Phonetizer withDisabled(boolean disabled)
withDisabled
in class SemanticProcessor
public Phonetizer withDisabled(java.lang.Boolean disabled)
withDisabled
in class SemanticProcessor
public void setResourceFile(java.lang.String resourceFile)
public java.lang.String getResourceFile()
public Phonetizer withResourceFile(java.lang.String resourceFile)
public void setLanguage(java.lang.String language)
public java.lang.String getLanguage()
public Phonetizer withLanguage(java.lang.String language)
public Phonetizer makeCopy()
makeCopy
in class SemanticProcessor
public static Phonetizer 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 Phonetizer 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 © 2021 Dassault Systèmes, All Rights Reserved.