public class XMLReferenceExpression extends Object
{
"prefix": "#",
"from": "@corresp",
"to": "@xml:id"
}
| Constructor and Description |
|---|
XMLReferenceExpression() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFrom() |
Boolean |
getMultiple() |
String |
getPrefix() |
String |
getTo() |
boolean |
isFromSearchInAttribute() |
boolean |
isFromSearchInText() |
boolean |
isMultiple() |
boolean |
isToSearchInAttribute() |
boolean |
isToSearchInText() |
boolean |
matchFrom(Node node)
Returns true if the given DOM Node match the XPath expression of the 'from'
XPath matcher and false otherwise.
|
boolean |
matchTo(Node node)
Returns true if the given DOM Node match the XPath expression of the 'to'
XPath matcher and false otherwise.
|
void |
setFrom(String from) |
void |
setMultiple(Boolean multiple) |
void |
setPrefix(String prefix) |
void |
setTo(String to) |
public String getFrom()
public void setFrom(String from)
public String getTo()
public void setTo(String to)
public String getPrefix()
public void setPrefix(String prefix)
public void setMultiple(Boolean multiple)
public boolean isMultiple()
public Boolean getMultiple()
public boolean matchFrom(Node node)
node - the DOM Node to match.public boolean matchTo(Node node)
node - the DOM Node to match.public boolean isFromSearchInAttribute()
public boolean isFromSearchInText()
public boolean isToSearchInAttribute()
public boolean isToSearchInText()
Copyright © 2024. All rights reserved.