public class OpenSearchUtil
extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_NAMESPACE |
static int |
LIFERAY_NAMESPACE |
static int |
NO_NAMESPACE |
static int |
OS_NAMESPACE |
static int |
RELEVANCE_NAMESPACE |
Constructor and Description |
---|
OpenSearchUtil() |
Modifier and Type | Method and Description |
---|---|
static Element |
addElement(Element el,
String name,
int namespaceType) |
static Element |
addElement(Element el,
String name,
int namespaceType,
Date value) |
static Element |
addElement(Element el,
String name,
int namespaceType,
double value) |
static Element |
addElement(Element el,
String name,
int namespaceType,
int value) |
static Element |
addElement(Element el,
String name,
int namespaceType,
long value) |
static Element |
addElement(Element el,
String name,
int namespaceType,
String value) |
static void |
addLink(Element root,
String searchURL,
String rel,
String keywords,
int page,
int itemsPerPage) |
static Namespace |
getNamespace(int namespaceType) |
static QName |
getQName(String name,
int namespaceType) |
public static final int DEFAULT_NAMESPACE
public static final int LIFERAY_NAMESPACE
public static final int NO_NAMESPACE
public static final int OS_NAMESPACE
public static final int RELEVANCE_NAMESPACE
public static Element addElement(Element el, String name, int namespaceType, double value)
public static Element addElement(Element el, String name, int namespaceType, String value)
public static void addLink(Element root, String searchURL, String rel, String keywords, int page, int itemsPerPage)
public static Namespace getNamespace(int namespaceType)
public static QName getQName(String name, int namespaceType)