@Deprecated public class SQI extends SemanticProcessor implements com.exalead.util.Checkable, java.io.Serializable
SemanticProcessor.FromDataModel, SemanticProcessor.Transformer<T>, SemanticProcessor.Visitor
Modifier and Type | Field and Description |
---|---|
boolean |
breakOnLine
Deprecated.
|
boolean |
breakOnParagraph
Deprecated.
|
boolean |
breakOnSentence
Deprecated.
|
static boolean |
DEFAULT_BREAK_ON_LINE
Deprecated.
|
static boolean |
DEFAULT_BREAK_ON_PARAGRAPH
Deprecated.
|
static boolean |
DEFAULT_BREAK_ON_SENTENCE
Deprecated.
|
static boolean |
DEFAULT_MATCH_ALL_RULES
Deprecated.
|
boolean |
matchAllRules
Deprecated.
|
java.lang.String |
resourceDir
Deprecated.
|
contexts, dataModelClass, dataModelProperty, dataModelState, DEFAULT_DISABLED, disabled, fromDataModel, name
Constructor and Description |
---|
SQI()
Deprecated.
|
SQI(SQI o)
Deprecated.
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(SemanticProcessor.Transformer<T> transformer,
T[] t)
Deprecated.
|
void |
accept(SemanticProcessor.Visitor visitor)
Deprecated.
|
void |
check(boolean deep,
java.lang.String errorContext)
Deprecated.
Checks this SQI.
|
static SQI |
fromString(java.lang.String s)
Deprecated.
String representation of this SQI.
|
java.lang.String |
getResourceDir()
Deprecated.
URL for the resource (data://, file:// or resource://)
|
boolean |
isBreakOnLine()
Deprecated.
If true, there will be maximum one match per line, and no match for inter-line.
|
boolean |
isBreakOnParagraph()
Deprecated.
If true, there will be maximum one match per paragraph, and no match for inter-paragraph.
|
boolean |
isBreakOnSentence()
Deprecated.
If true, there will be maximum one match per sentence, and no match for inter-sentence.
This option will add the SentenceFinder automatically. |
boolean |
isMatchAllRules()
Deprecated.
If true, it returns the full list of matched rules.
If false, it returns the first matched rule only. |
SQI |
makeCopy()
Deprecated.
Creates and returns a deep copy of this SQI.
|
static SQI |
readFrom(java.io.InputStream is)
Deprecated.
Read this SQI from an XML fragment.
|
void |
setBreakOnLine(boolean breakOnLine)
Deprecated.
If true, there will be maximum one match per line, and no match for inter-line.
|
void |
setBreakOnParagraph(boolean breakOnParagraph)
Deprecated.
If true, there will be maximum one match per paragraph, and no match for inter-paragraph.
|
void |
setBreakOnSentence(boolean breakOnSentence)
Deprecated.
If true, there will be maximum one match per sentence, and no match for inter-sentence.
This option will add the SentenceFinder automatically. |
void |
setMatchAllRules(boolean matchAllRules)
Deprecated.
If true, it returns the full list of matched rules.
If false, it returns the first matched rule only. |
void |
setResourceDir(java.lang.String resourceDir)
Deprecated.
URL for the resource (data://, file:// or resource://)
|
java.lang.String |
toString()
Deprecated.
String representation of this SQI.
|
SQI |
withBreakOnLine(boolean breakOnLine)
Deprecated.
|
SQI |
withBreakOnLine(java.lang.Boolean breakOnLine)
Deprecated.
|
SQI |
withBreakOnParagraph(boolean breakOnParagraph)
Deprecated.
|
SQI |
withBreakOnParagraph(java.lang.Boolean breakOnParagraph)
Deprecated.
|
SQI |
withBreakOnSentence(boolean breakOnSentence)
Deprecated.
|
SQI |
withBreakOnSentence(java.lang.Boolean breakOnSentence)
Deprecated.
|
SQI |
withContexts(java.lang.String contexts)
Deprecated.
|
SQI |
withDataModelClass(java.lang.String dataModelClass)
Deprecated.
|
SQI |
withDataModelProperty(java.lang.String dataModelProperty)
Deprecated.
|
SQI |
withDataModelState(java.lang.String dataModelState)
Deprecated.
|
SQI |
withDisabled(boolean disabled)
Deprecated.
|
SQI |
withDisabled(java.lang.Boolean disabled)
Deprecated.
|
SQI |
withFromDataModel(SemanticProcessor fromDataModel)
Deprecated.
|
SQI |
withMatchAllRules(boolean matchAllRules)
Deprecated.
|
SQI |
withMatchAllRules(java.lang.Boolean matchAllRules)
Deprecated.
|
SQI |
withName(java.lang.String name)
Deprecated.
|
SQI |
withResourceDir(java.lang.String resourceDir)
Deprecated.
|
void |
writeTo(java.io.OutputStream os)
Deprecated.
Write this SQI as an XML fragment
|
getContexts, getDataModelClass, getDataModelProperty, getDataModelState, getFromDataModel, getName, isDisabled, setContexts, setDataModelClass, setDataModelProperty, setDataModelState, setDisabled, setFromDataModel, setName
public java.lang.String resourceDir
public boolean breakOnSentence
public static final boolean DEFAULT_BREAK_ON_SENTENCE
public boolean breakOnParagraph
public static final boolean DEFAULT_BREAK_ON_PARAGRAPH
public boolean breakOnLine
public static final boolean DEFAULT_BREAK_ON_LINE
public boolean matchAllRules
public static final boolean DEFAULT_MATCH_ALL_RULES
public SQI()
public SQI(SQI o)
public SQI withName(java.lang.String name)
withName
in class SemanticProcessor
public SQI withContexts(java.lang.String contexts)
withContexts
in class SemanticProcessor
public SQI withFromDataModel(SemanticProcessor fromDataModel)
public SQI withDataModelState(java.lang.String dataModelState)
withDataModelState
in class SemanticProcessor
public SQI withDataModelClass(java.lang.String dataModelClass)
withDataModelClass
in class SemanticProcessor
public SQI withDataModelProperty(java.lang.String dataModelProperty)
withDataModelProperty
in class SemanticProcessor
public SQI withDisabled(boolean disabled)
withDisabled
in class SemanticProcessor
public SQI withDisabled(java.lang.Boolean disabled)
withDisabled
in class SemanticProcessor
public void setResourceDir(java.lang.String resourceDir)
public java.lang.String getResourceDir()
public SQI withResourceDir(java.lang.String resourceDir)
public void setBreakOnSentence(boolean breakOnSentence)
public boolean isBreakOnSentence()
public SQI withBreakOnSentence(boolean breakOnSentence)
public SQI withBreakOnSentence(java.lang.Boolean breakOnSentence)
public void setBreakOnParagraph(boolean breakOnParagraph)
public boolean isBreakOnParagraph()
public SQI withBreakOnParagraph(boolean breakOnParagraph)
public SQI withBreakOnParagraph(java.lang.Boolean breakOnParagraph)
public void setBreakOnLine(boolean breakOnLine)
public boolean isBreakOnLine()
public SQI withBreakOnLine(boolean breakOnLine)
public SQI withBreakOnLine(java.lang.Boolean breakOnLine)
public void setMatchAllRules(boolean matchAllRules)
public boolean isMatchAllRules()
public SQI withMatchAllRules(boolean matchAllRules)
public SQI withMatchAllRules(java.lang.Boolean matchAllRules)
public SQI makeCopy()
makeCopy
in class SemanticProcessor
public static SQI 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 SQI 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.