public class Negation extends SemanticProcessor implements com.exalead.util.Checkable, java.io.Serializable
SemanticProcessor.Transformer<T>, SemanticProcessor.Visitor
Modifier and Type | Field and Description |
---|---|
java.lang.String |
language |
java.lang.String |
resourceDir |
contexts, name, src
Constructor and Description |
---|
Negation() |
Negation(Negation 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 Negation.
|
static Negation |
fromString(java.lang.String s)
String representation of this Negation.
|
java.lang.String |
getLanguage()
Language for which the negation is activated.
|
java.lang.String |
getResourceDir()
URL for the resource (data://, file;// or resource://)
if null, uses standard path of product. |
Negation |
makeCopy()
Creates and returns a deep copy of this Negation.
|
static Negation |
readFrom(java.io.InputStream is)
Read this Negation from an XML fragment.
|
void |
setLanguage(java.lang.String language)
Language for which the negation is activated.
|
void |
setResourceDir(java.lang.String resourceDir)
URL for the resource (data://, file;// or resource://)
if null, uses standard path of product. |
java.lang.String |
toString()
String representation of this Negation.
|
Negation |
withContexts(java.lang.String contexts) |
Negation |
withLanguage(java.lang.String language) |
Negation |
withName(java.lang.String name) |
Negation |
withResourceDir(java.lang.String resourceDir) |
Negation |
withSrc(java.lang.String src)
Deprecated.
|
void |
writeTo(java.io.OutputStream os)
Write this Negation as an XML fragment
|
getContexts, getName, getSrc, setContexts, setName, setSrc
public java.lang.String resourceDir
public java.lang.String language
public Negation()
public Negation(Negation o)
public Negation withName(java.lang.String name)
withName
in class SemanticProcessor
public Negation withContexts(java.lang.String contexts)
withContexts
in class SemanticProcessor
@Deprecated public Negation withSrc(java.lang.String src)
withSrc
in class SemanticProcessor
public void setResourceDir(java.lang.String resourceDir)
public java.lang.String getResourceDir()
public Negation withResourceDir(java.lang.String resourceDir)
public void setLanguage(java.lang.String language)
public java.lang.String getLanguage()
public Negation withLanguage(java.lang.String language)
public Negation makeCopy()
makeCopy
in class SemanticProcessor
public static Negation 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 Negation 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.