public class ContentRestriction
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
queryString |
Constructor and Description |
---|
ContentRestriction() |
ContentRestriction(ContentRestriction o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ContentRestriction.
|
static ContentRestriction |
fromString(java.lang.String s)
String representation of this ContentRestriction.
|
java.lang.String |
getQueryString()
Query string to restrict content.
|
ContentRestriction |
makeCopy()
Creates and returns a deep copy of this ContentRestriction.
|
static ContentRestriction |
readFrom(java.io.InputStream is)
Read this ContentRestriction from an XML fragment.
|
void |
setQueryString(java.lang.String queryString)
Query string to restrict content.
|
java.lang.String |
toString()
String representation of this ContentRestriction.
|
ContentRestriction |
withQueryString(java.lang.String queryString) |
void |
writeTo(java.io.OutputStream os)
Write this ContentRestriction as an XML fragment
|
public ContentRestriction()
public ContentRestriction(ContentRestriction o)
public void setQueryString(java.lang.String queryString)
public java.lang.String getQueryString()
public ContentRestriction withQueryString(java.lang.String queryString)
public ContentRestriction makeCopy()
public static ContentRestriction 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 ContentRestriction 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.