public class URLRemover extends SemanticProcessor implements com.exalead.util.Checkable, java.io.Serializable
SemanticProcessor.Transformer<T>, SemanticProcessor.Visitor
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_RATHER_ANNOTATE |
boolean |
ratherAnnotate |
contexts, name, src
Constructor and Description |
---|
URLRemover() |
URLRemover(URLRemover 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 URLRemover.
|
static URLRemover |
fromString(java.lang.String s)
String representation of this URLRemover.
|
boolean |
isRatherAnnotate()
Adds an annotation, instead of removing text chunk.
|
URLRemover |
makeCopy()
Creates and returns a deep copy of this URLRemover.
|
static URLRemover |
readFrom(java.io.InputStream is)
Read this URLRemover from an XML fragment.
|
void |
setRatherAnnotate(boolean ratherAnnotate)
Adds an annotation, instead of removing text chunk.
|
java.lang.String |
toString()
String representation of this URLRemover.
|
URLRemover |
withContexts(java.lang.String contexts) |
URLRemover |
withName(java.lang.String name) |
URLRemover |
withRatherAnnotate(boolean ratherAnnotate) |
URLRemover |
withRatherAnnotate(java.lang.Boolean ratherAnnotate) |
URLRemover |
withSrc(java.lang.String src)
Deprecated.
|
void |
writeTo(java.io.OutputStream os)
Write this URLRemover as an XML fragment
|
getContexts, getName, getSrc, setContexts, setName, setSrc
public boolean ratherAnnotate
public static final boolean DEFAULT_RATHER_ANNOTATE
public URLRemover()
public URLRemover(URLRemover o)
public URLRemover withName(java.lang.String name)
withName
in class SemanticProcessor
public URLRemover withContexts(java.lang.String contexts)
withContexts
in class SemanticProcessor
@Deprecated public URLRemover withSrc(java.lang.String src)
withSrc
in class SemanticProcessor
public void setRatherAnnotate(boolean ratherAnnotate)
public boolean isRatherAnnotate()
public URLRemover withRatherAnnotate(boolean ratherAnnotate)
public URLRemover withRatherAnnotate(java.lang.Boolean ratherAnnotate)
public URLRemover makeCopy()
makeCopy
in class SemanticProcessor
public static URLRemover 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 URLRemover 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 © 2013 Dassault Systèmes, All Rights Reserved.