public class DocumentAnnotation
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_VALUE |
java.lang.String |
tag |
java.lang.String |
value |
Constructor and Description |
---|
DocumentAnnotation() |
DocumentAnnotation(DocumentAnnotation o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this DocumentAnnotation.
|
static DocumentAnnotation |
fromString(java.lang.String s)
String representation of this DocumentAnnotation.
|
java.lang.String |
getTag()
This annotation should be one of the annotation output by the 'pipelineConfig' module.
|
java.lang.String |
getValue()
The associated value (optional)
|
DocumentAnnotation |
makeCopy()
Creates and returns a deep copy of this DocumentAnnotation.
|
static DocumentAnnotation |
readFrom(java.io.InputStream is)
Read this DocumentAnnotation from an XML fragment.
|
void |
setTag(java.lang.String tag)
This annotation should be one of the annotation output by the 'pipelineConfig' module.
|
void |
setValue(java.lang.String value)
The associated value (optional)
|
java.lang.String |
toString()
String representation of this DocumentAnnotation.
|
DocumentAnnotation |
withTag(java.lang.String tag) |
DocumentAnnotation |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this DocumentAnnotation as an XML fragment
|
public java.lang.String tag
public java.lang.String value
public static final java.lang.String DEFAULT_VALUE
public DocumentAnnotation()
public DocumentAnnotation(DocumentAnnotation o)
public void setTag(java.lang.String tag)
public java.lang.String getTag()
public DocumentAnnotation withTag(java.lang.String tag)
public void setValue(java.lang.String value)
public java.lang.String getValue()
public DocumentAnnotation withValue(java.lang.String value)
public DocumentAnnotation makeCopy()
public static DocumentAnnotation 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
javax.xml.bind.JAXBException
java.io.IOException
public static DocumentAnnotation 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 java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.