| Package | Description |
|---|---|
| com.marklogic.client.expression |
The package provides classes for building Optic plan pipelines and expressions for execution on the REST server.
|
| Modifier and Type | Method and Description |
|---|---|
ElementNodeExpr |
FnExpr.analyzeString(String in,
String regex)
The result of the function is a new element node whose string value is the original string, but which contains markup to show which parts of the input match the regular expression.
|
ElementNodeExpr |
FnExpr.analyzeString(String in,
String regex,
String flags)
The result of the function is a new element node whose string value is the original string, but which contains markup to show which parts of the input match the regular expression.
|
ElementNodeExpr |
FnExpr.analyzeString(XsStringExpr in,
XsStringExpr regex)
The result of the function is a new element node whose string value is the original string, but which contains markup to show which parts of the input match the regular expression.
|
ElementNodeExpr |
FnExpr.analyzeString(XsStringExpr in,
XsStringExpr regex,
XsStringExpr flags)
The result of the function is a new element node whose string value is the original string, but which contains markup to show which parts of the input match the regular expression.
|
abstract ElementNodeExpr |
PlanBuilder.xmlElement(String name)
This function constructs an XML element with the name (which can be a string or QName), zero or more attributes, and child content.
|
abstract ElementNodeExpr |
PlanBuilder.xmlElement(String name,
AttributeNodeExpr... attributes)
This function constructs an XML element with the name (which can be a string or QName), zero or more attributes, and child content.
|
abstract ElementNodeExpr |
PlanBuilder.xmlElement(String name,
AttributeNodeSeqExpr attributes,
XmlContentNodeExpr... content)
This function constructs an XML element with the name (which can be a string or QName), zero or more attributes, and child content.
|
abstract ElementNodeExpr |
PlanBuilder.xmlElement(XsQNameExpr name)
This function constructs an XML element with the name (which can be a string or QName), zero or more attributes, and child content.
|
abstract ElementNodeExpr |
PlanBuilder.xmlElement(XsQNameExpr name,
AttributeNodeSeqExpr attributes)
This function constructs an XML element with the name (which can be a string or QName), zero or more attributes, and child content.
|
abstract ElementNodeExpr |
PlanBuilder.xmlElement(XsQNameExpr name,
AttributeNodeSeqExpr attributes,
XmlContentNodeExpr... content)
This function constructs an XML element with the name (which can be a string or QName), zero or more attributes, and child content.
|
| Modifier and Type | Method and Description |
|---|---|
JsonArrayExpr |
JsonExpr.array(ElementNodeExpr array)
Creates a (JSON) array, which is like a sequence of values, but allows for nesting.
|
XsStringExpr |
XdmpExpr.elementContentType(ElementNodeExpr element)
Returns the schema-defined content-type of an element (“empty”, “simple”, “element-only”, or “mixed”).
|
XsStringSeqExpr |
FnExpr.inScopePrefixes(ElementNodeExpr element)
Returns the prefixes of the in-scope namespaces for element.
|
MapMapExpr |
MapExpr.map(ElementNodeExpr map)
Creates a map.
|
XsAnyURIExpr |
FnExpr.namespaceUriForPrefix(XsStringExpr prefix,
ElementNodeExpr element)
Returns the namespace URI of one of the in-scope namespaces for element, identified by its namespace prefix.
|
JsonObjectExpr |
JsonExpr.object(ElementNodeExpr map)
Creates a JSON object, which is a kind of map with a fixed and ordered set of keys.
|
XsQNameExpr |
FnExpr.resolveQName(XsStringExpr qname,
ElementNodeExpr element)
Returns an
xs:QName value (that is, an expanded QName) by taking an xs:string that has the lexical form of an xs:QName (a string in the form “prefix:local-name” or “local-name”) and resolving it using the in-scope namespaces for a given element. |
Copyright © 2013-2017 MarkLogic Corporation.