public class Cookies extends RulesConfig implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_ENABLE |
boolean |
enable |
Constructor and Description |
---|
Cookies() |
Cookies(Cookies o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Cookies.
|
static Cookies |
fromString(java.lang.String s)
String representation of this Cookies.
|
boolean |
isEnable() |
Cookies |
makeCopy()
Creates and returns a deep copy of this Cookies.
|
static Cookies |
readFrom(java.io.InputStream is)
Read this Cookies from an XML fragment.
|
void |
setEnable(boolean enable) |
java.lang.String |
toString()
String representation of this Cookies.
|
Cookies |
withEnable(boolean enable) |
Cookies |
withEnable(java.lang.Boolean enable) |
void |
writeTo(java.io.OutputStream os)
Write this Cookies as an XML fragment
|
public boolean enable
public static final boolean DEFAULT_ENABLE
public Cookies()
public Cookies(Cookies o)
public void setEnable(boolean enable)
public boolean isEnable()
public Cookies withEnable(boolean enable)
public Cookies withEnable(java.lang.Boolean enable)
public Cookies makeCopy()
makeCopy
in class RulesConfig
public static Cookies 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 RulesConfig
javax.xml.bind.JAXBException
java.io.IOException
public static Cookies 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 RulesConfig
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class RulesConfig
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.