public class Remove extends AnnotationManagerOperation implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
annotation |
static boolean |
DEFAULT_DISPLAY_FORMS_MUST_MATCH |
boolean |
displayFormsMustMatch |
java.lang.String |
ifMatchWith |
java.lang.String |
ifOverlapWith |
Constructor and Description |
---|
Remove() |
Remove(Remove o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Remove.
|
static Remove |
fromString(java.lang.String s)
String representation of this Remove.
|
java.lang.String |
getAnnotation()
Tag of the annotations to be removed
|
java.lang.String |
getIfMatchWith()
Removes the annotation if the annotated text span matches that of this one
|
java.lang.String |
getIfOverlapWith()
Removes the annotation if it overlaps with this one
|
boolean |
isDisplayFormsMustMatch()
If ifMatchWith is TRUE, removes the annotation only if both display forms match
|
Remove |
makeCopy()
Creates and returns a deep copy of this Remove.
|
static Remove |
readFrom(java.io.InputStream is)
Read this Remove from an XML fragment.
|
void |
setAnnotation(java.lang.String annotation)
Tag of the annotations to be removed
|
void |
setDisplayFormsMustMatch(boolean displayFormsMustMatch)
If ifMatchWith is TRUE, removes the annotation only if both display forms match
|
void |
setIfMatchWith(java.lang.String ifMatchWith)
Removes the annotation if the annotated text span matches that of this one
|
void |
setIfOverlapWith(java.lang.String ifOverlapWith)
Removes the annotation if it overlaps with this one
|
java.lang.String |
toString()
String representation of this Remove.
|
Remove |
withAnnotation(java.lang.String annotation) |
Remove |
withDisplayFormsMustMatch(boolean displayFormsMustMatch) |
Remove |
withDisplayFormsMustMatch(java.lang.Boolean displayFormsMustMatch) |
Remove |
withIfMatchWith(java.lang.String ifMatchWith) |
Remove |
withIfOverlapWith(java.lang.String ifOverlapWith) |
void |
writeTo(java.io.OutputStream os)
Write this Remove as an XML fragment
|
public java.lang.String annotation
public java.lang.String ifMatchWith
public java.lang.String ifOverlapWith
public boolean displayFormsMustMatch
public static final boolean DEFAULT_DISPLAY_FORMS_MUST_MATCH
public Remove()
public Remove(Remove o)
public void setAnnotation(java.lang.String annotation)
public java.lang.String getAnnotation()
public Remove withAnnotation(java.lang.String annotation)
public void setIfMatchWith(java.lang.String ifMatchWith)
public java.lang.String getIfMatchWith()
public Remove withIfMatchWith(java.lang.String ifMatchWith)
public void setIfOverlapWith(java.lang.String ifOverlapWith)
public java.lang.String getIfOverlapWith()
public Remove withIfOverlapWith(java.lang.String ifOverlapWith)
public void setDisplayFormsMustMatch(boolean displayFormsMustMatch)
public boolean isDisplayFormsMustMatch()
public Remove withDisplayFormsMustMatch(boolean displayFormsMustMatch)
public Remove withDisplayFormsMustMatch(java.lang.Boolean displayFormsMustMatch)
public Remove makeCopy()
makeCopy
in class AnnotationManagerOperation
public static Remove 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 AnnotationManagerOperation
javax.xml.bind.JAXBException
java.io.IOException
public static Remove 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 AnnotationManagerOperation
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class AnnotationManagerOperation
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.