public class XpathRule
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
boolean |
concatMutiMatch |
static boolean |
DEFAULT_CONCAT_MUTI_MATCH |
java.lang.String |
metaName |
java.lang.String |
xpath |
Constructor and Description |
---|
XpathRule() |
XpathRule(XpathRule o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this XpathRule.
|
static XpathRule |
fromString(java.lang.String s)
String representation of this XpathRule.
|
java.lang.String |
getMetaName() |
java.lang.String |
getXpath() |
boolean |
isConcatMutiMatch()
Concatenates all results in a value when the xpath expression returns several results.
|
XpathRule |
makeCopy()
Creates and returns a deep copy of this XpathRule.
|
static XpathRule |
readFrom(java.io.InputStream is)
Read this XpathRule from an XML fragment.
|
void |
setConcatMutiMatch(boolean concatMutiMatch)
Concatenates all results in a value when the xpath expression returns several results.
|
void |
setMetaName(java.lang.String metaName) |
void |
setXpath(java.lang.String xpath) |
java.lang.String |
toString()
String representation of this XpathRule.
|
XpathRule |
withConcatMutiMatch(boolean concatMutiMatch) |
XpathRule |
withConcatMutiMatch(java.lang.Boolean concatMutiMatch) |
XpathRule |
withMetaName(java.lang.String metaName) |
XpathRule |
withXpath(java.lang.String xpath) |
void |
writeTo(java.io.OutputStream os)
Write this XpathRule as an XML fragment
|
public java.lang.String metaName
public java.lang.String xpath
public boolean concatMutiMatch
public static final boolean DEFAULT_CONCAT_MUTI_MATCH
public XpathRule()
public XpathRule(XpathRule o)
public void setMetaName(java.lang.String metaName)
public java.lang.String getMetaName()
public XpathRule withMetaName(java.lang.String metaName)
public void setXpath(java.lang.String xpath)
public java.lang.String getXpath()
public XpathRule withXpath(java.lang.String xpath)
public void setConcatMutiMatch(boolean concatMutiMatch)
public boolean isConcatMutiMatch()
public XpathRule withConcatMutiMatch(boolean concatMutiMatch)
public XpathRule withConcatMutiMatch(java.lang.Boolean concatMutiMatch)
public XpathRule makeCopy()
public static XpathRule 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 XpathRule 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.