Class ElementMatcher
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.dom.ElementMatcher
-
- All Implemented Interfaces:
NodeMatcher
- Direct Known Subclasses:
AnyNodeMatcher
public class ElementMatcher extends Object implements NodeMatcher
-
-
Constructor Summary
Constructors Constructor Description ElementMatcher(String name)
ElementMatcher(ElementType name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(AttributeMatcher matchers)
protected boolean
matchAttributes(MatcherContext context, ReportElement node)
boolean
matches(MatcherContext context, ReportElement node)
String
toString()
-
-
-
Constructor Detail
-
ElementMatcher
public ElementMatcher(ElementType name)
-
ElementMatcher
public ElementMatcher(String name)
-
-
Method Detail
-
add
public void add(AttributeMatcher matchers)
-
matches
public boolean matches(MatcherContext context, ReportElement node)
- Specified by:
matches
in interfaceNodeMatcher
-
matchAttributes
protected boolean matchAttributes(MatcherContext context, ReportElement node)
-
-