Class RegexNodeScanner
java.lang.Object
org.craftercms.core.util.xml.impl.RegexNodeScanner
- All Implemented Interfaces:
NodeScanner
NodeScanner
implementation that scans the document to find nodes that match certain regex patterns.- Author:
- Alfonso Vásquez
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
patterns
-
matchEntireNodeText
protected boolean matchEntireNodeText
-
-
Constructor Details
-
RegexNodeScanner
-
-
Method Details
-
setMatchEntireNodeText
public void setMatchEntireNodeText(boolean matchEntireNodeText) -
scan
Description copied from interface:NodeScanner
Scans the specified document for nodes that fit a certain condition.- Specified by:
scan
in interfaceNodeScanner
- Returns:
- the list of nodes that fit the condition
-
equals
-
hashCode
public int hashCode()
-