Class XMLReferenceExpression
java.lang.Object
org.eclipse.lemminx.extensions.references.settings.XMLReferenceExpression
XML reference expression
{
"prefix": "#",
"from": "@corresp",
"to": "@xml:id"
}
- Author:
- azerr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFrom()getTo()booleanbooleanbooleanbooleanbooleanbooleanReturns true if the given DOM Node match the XPath expression of the 'from' XPath matcher and false otherwise.booleanReturns true if the given DOM Node match the XPath expression of the 'to' XPath matcher and false otherwise.voidvoidsetMultiple(Boolean multiple) voidvoid
-
Constructor Details
-
XMLReferenceExpression
public XMLReferenceExpression()
-
-
Method Details
-
getFrom
-
setFrom
-
getTo
-
setTo
-
getPrefix
-
setPrefix
-
setMultiple
-
isMultiple
public boolean isMultiple() -
getMultiple
-
matchFrom
Returns true if the given DOM Node match the XPath expression of the 'from' XPath matcher and false otherwise.- Parameters:
node- the DOM Node to match.- Returns:
- true if the given DOM Node match the XPath expression of the 'from' XPath matcher and false otherwise.
-
matchTo
Returns true if the given DOM Node match the XPath expression of the 'to' XPath matcher and false otherwise.- Parameters:
node- the DOM Node to match.- Returns:
- true if the given DOM Node match the XPath expression of the 'to' XPath matcher and false otherwise.
-
isFromSearchInAttribute
public boolean isFromSearchInAttribute() -
isFromSearchInText
public boolean isFromSearchInText() -
isToSearchInAttribute
public boolean isToSearchInAttribute() -
isToSearchInText
public boolean isToSearchInText()
-