public class AnnotationManager 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 |
resourceFile |
contexts, dataModelClass, dataModelProperty, dataModelState, DEFAULT_DISABLED, disabled, fromDataModel, name
Constructor and Description |
---|
AnnotationManager() |
AnnotationManager(AnnotationManager 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 AnnotationManager.
|
static AnnotationManager |
fromString(java.lang.String s)
String representation of this AnnotationManager.
|
java.lang.String |
getResourceFile()
URL for the resource (data://, file:// or resource://)
|
AnnotationManager |
makeCopy()
Creates and returns a deep copy of this AnnotationManager.
|
static AnnotationManager |
readFrom(java.io.InputStream is)
Read this AnnotationManager from an XML fragment.
|
void |
setResourceFile(java.lang.String resourceFile)
URL for the resource (data://, file:// or resource://)
|
java.lang.String |
toString()
String representation of this AnnotationManager.
|
AnnotationManager |
withContexts(java.lang.String contexts) |
AnnotationManager |
withDataModelClass(java.lang.String dataModelClass) |
AnnotationManager |
withDataModelProperty(java.lang.String dataModelProperty) |
AnnotationManager |
withDataModelState(java.lang.String dataModelState) |
AnnotationManager |
withDisabled(boolean disabled) |
AnnotationManager |
withDisabled(java.lang.Boolean disabled) |
AnnotationManager |
withFromDataModel(SemanticProcessor fromDataModel) |
AnnotationManager |
withName(java.lang.String name) |
AnnotationManager |
withResourceFile(java.lang.String resourceFile) |
void |
writeTo(java.io.OutputStream os)
Write this AnnotationManager as an XML fragment
|
getContexts, getDataModelClass, getDataModelProperty, getDataModelState, getFromDataModel, getName, isDisabled, setContexts, setDataModelClass, setDataModelProperty, setDataModelState, setDisabled, setFromDataModel, setName
public AnnotationManager()
public AnnotationManager(AnnotationManager o)
public AnnotationManager withName(java.lang.String name)
withName
in class SemanticProcessor
public AnnotationManager withContexts(java.lang.String contexts)
withContexts
in class SemanticProcessor
public AnnotationManager withFromDataModel(SemanticProcessor fromDataModel)
public AnnotationManager withDataModelState(java.lang.String dataModelState)
withDataModelState
in class SemanticProcessor
public AnnotationManager withDataModelClass(java.lang.String dataModelClass)
withDataModelClass
in class SemanticProcessor
public AnnotationManager withDataModelProperty(java.lang.String dataModelProperty)
withDataModelProperty
in class SemanticProcessor
public AnnotationManager withDisabled(boolean disabled)
withDisabled
in class SemanticProcessor
public AnnotationManager withDisabled(java.lang.Boolean disabled)
withDisabled
in class SemanticProcessor
public void setResourceFile(java.lang.String resourceFile)
public java.lang.String getResourceFile()
public AnnotationManager withResourceFile(java.lang.String resourceFile)
public AnnotationManager makeCopy()
makeCopy
in class SemanticProcessor
public static AnnotationManager 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 AnnotationManager 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.