public class QueryList
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
annotationValue |
java.lang.String |
query |
Constructor and Description |
---|
QueryList() |
QueryList(QueryList o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this QueryList.
|
static QueryList |
fromString(java.lang.String s)
String representation of this QueryList.
|
java.lang.String |
getAnnotationValue()
The annotation to create for text matching the query.
|
java.lang.String |
getQuery()
The query to match the document text against.
The query may contain the following operators AND, OR, NOT, NEXT, NEAR 'Field operators' are not implemented. |
QueryList |
makeCopy()
Creates and returns a deep copy of this QueryList.
|
static QueryList |
readFrom(java.io.InputStream is)
Read this QueryList from an XML fragment.
|
void |
setAnnotationValue(java.lang.String annotationValue)
The annotation to create for text matching the query.
|
void |
setQuery(java.lang.String query)
The query to match the document text against.
The query may contain the following operators AND, OR, NOT, NEXT, NEAR 'Field operators' are not implemented. |
java.lang.String |
toString()
String representation of this QueryList.
|
QueryList |
withAnnotationValue(java.lang.String annotationValue) |
QueryList |
withQuery(java.lang.String query) |
void |
writeTo(java.io.OutputStream os)
Write this QueryList as an XML fragment
|
public java.lang.String query
public java.lang.String annotationValue
public QueryList()
public QueryList(QueryList o)
public void setQuery(java.lang.String query)
public java.lang.String getQuery()
public QueryList withQuery(java.lang.String query)
public void setAnnotationValue(java.lang.String annotationValue)
public java.lang.String getAnnotationValue()
public QueryList withAnnotationValue(java.lang.String annotationValue)
public QueryList makeCopy()
public static QueryList 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 QueryList 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.