public class SemanticPipeDocumentProcessor extends DocumentProcessor implements com.exalead.util.Checkable, java.io.Serializable
DocumentProcessor.FromDataModel, DocumentProcessor.Transformer<T>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
annotations |
static boolean |
DEFAULT_TOP_LEVEL_ANNOTATIONS_ONLY |
java.lang.String |
pipeline
Deprecated.
|
java.util.List<SemanticProcessor> |
semanticProcessor |
boolean |
topLevelAnnotationsOnly |
acceptCondition, dataModelClass, dataModelProperty, dataModelState, DEFAULT_DISABLED, disabled, fromDataModel, name
Constructor and Description |
---|
SemanticPipeDocumentProcessor() |
SemanticPipeDocumentProcessor(SemanticPipeDocumentProcessor o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(DocumentProcessor.Transformer<T> transformer,
T[] t) |
void |
check(boolean deep,
java.lang.String errorContext)
Checks this SemanticPipeDocumentProcessor.
|
static SemanticPipeDocumentProcessor |
fromString(java.lang.String s)
String representation of this SemanticPipeDocumentProcessor.
|
java.lang.String |
getAnnotations()
A chunk will be created for each annotation which name is in the list.
|
java.lang.String |
getPipeline()
Deprecated.
|
java.util.List<SemanticProcessor> |
getSemanticProcessor()
List of semantic processors to use
|
boolean |
isTopLevelAnnotationsOnly()
Considers top level annotations only.
|
SemanticPipeDocumentProcessor |
makeCopy()
Creates and returns a deep copy of this SemanticPipeDocumentProcessor.
|
static SemanticPipeDocumentProcessor |
readFrom(java.io.InputStream is)
Read this SemanticPipeDocumentProcessor from an XML fragment.
|
void |
setAnnotations(java.lang.String annotations)
A chunk will be created for each annotation which name is in the list.
|
void |
setPipeline(java.lang.String pipeline)
Deprecated.
|
void |
setTopLevelAnnotationsOnly(boolean topLevelAnnotationsOnly)
Considers top level annotations only.
|
java.lang.String |
toString()
String representation of this SemanticPipeDocumentProcessor.
|
SemanticPipeDocumentProcessor |
withAcceptCondition(AcceptCondition acceptCondition) |
SemanticPipeDocumentProcessor |
withAnnotations(java.lang.String annotations) |
SemanticPipeDocumentProcessor |
withDataModelClass(java.lang.String dataModelClass) |
SemanticPipeDocumentProcessor |
withDataModelProperty(java.lang.String dataModelProperty) |
SemanticPipeDocumentProcessor |
withDataModelState(java.lang.String dataModelState) |
SemanticPipeDocumentProcessor |
withDisabled(boolean disabled) |
SemanticPipeDocumentProcessor |
withDisabled(java.lang.Boolean disabled) |
SemanticPipeDocumentProcessor |
withFromDataModel(DocumentProcessor fromDataModel) |
SemanticPipeDocumentProcessor |
withName(java.lang.String name) |
SemanticPipeDocumentProcessor |
withPipeline(java.lang.String pipeline)
Deprecated.
|
SemanticPipeDocumentProcessor |
withSemanticProcessor(java.util.Collection<SemanticProcessor> __values) |
SemanticPipeDocumentProcessor |
withSemanticProcessor(SemanticProcessor... __values)
List of semantic processors to use
|
SemanticPipeDocumentProcessor |
withTopLevelAnnotationsOnly(boolean topLevelAnnotationsOnly) |
SemanticPipeDocumentProcessor |
withTopLevelAnnotationsOnly(java.lang.Boolean topLevelAnnotationsOnly) |
void |
writeTo(java.io.OutputStream os)
Write this SemanticPipeDocumentProcessor as an XML fragment
|
getAcceptCondition, getDataModelClass, getDataModelProperty, getDataModelState, getFromDataModel, getName, isDisabled, setAcceptCondition, setDataModelClass, setDataModelProperty, setDataModelState, setDisabled, setFromDataModel, setName
@Deprecated public java.lang.String pipeline
public java.util.List<SemanticProcessor> semanticProcessor
public java.lang.String annotations
public boolean topLevelAnnotationsOnly
public static final boolean DEFAULT_TOP_LEVEL_ANNOTATIONS_ONLY
public SemanticPipeDocumentProcessor()
public SemanticPipeDocumentProcessor(SemanticPipeDocumentProcessor o)
public SemanticPipeDocumentProcessor withAcceptCondition(AcceptCondition acceptCondition)
withAcceptCondition
in class DocumentProcessor
public SemanticPipeDocumentProcessor withName(java.lang.String name)
withName
in class DocumentProcessor
public SemanticPipeDocumentProcessor withDataModelState(java.lang.String dataModelState)
withDataModelState
in class DocumentProcessor
public SemanticPipeDocumentProcessor withFromDataModel(DocumentProcessor fromDataModel)
public SemanticPipeDocumentProcessor withDataModelClass(java.lang.String dataModelClass)
withDataModelClass
in class DocumentProcessor
public SemanticPipeDocumentProcessor withDataModelProperty(java.lang.String dataModelProperty)
withDataModelProperty
in class DocumentProcessor
public SemanticPipeDocumentProcessor withDisabled(boolean disabled)
withDisabled
in class DocumentProcessor
public SemanticPipeDocumentProcessor withDisabled(java.lang.Boolean disabled)
withDisabled
in class DocumentProcessor
@Deprecated public void setPipeline(java.lang.String pipeline)
@Deprecated public java.lang.String getPipeline()
@Deprecated public SemanticPipeDocumentProcessor withPipeline(java.lang.String pipeline)
public java.util.List<SemanticProcessor> getSemanticProcessor()
public SemanticPipeDocumentProcessor withSemanticProcessor(SemanticProcessor... __values)
public SemanticPipeDocumentProcessor withSemanticProcessor(java.util.Collection<SemanticProcessor> __values)
public void setAnnotations(java.lang.String annotations)
public java.lang.String getAnnotations()
public SemanticPipeDocumentProcessor withAnnotations(java.lang.String annotations)
public void setTopLevelAnnotationsOnly(boolean topLevelAnnotationsOnly)
public boolean isTopLevelAnnotationsOnly()
public SemanticPipeDocumentProcessor withTopLevelAnnotationsOnly(boolean topLevelAnnotationsOnly)
public SemanticPipeDocumentProcessor withTopLevelAnnotationsOnly(java.lang.Boolean topLevelAnnotationsOnly)
public SemanticPipeDocumentProcessor makeCopy()
makeCopy
in class DocumentProcessor
public static SemanticPipeDocumentProcessor 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 DocumentProcessor
javax.xml.bind.JAXBException
java.io.IOException
public static SemanticPipeDocumentProcessor 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 DocumentProcessor
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class DocumentProcessor
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.