Class ReportStructureMatcher
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.dom.ReportStructureMatcher
-
public class ReportStructureMatcher extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReportStructureMatcher.Type
-
Constructor Summary
Constructors Constructor Description ReportStructureMatcher()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReportElement
findElementByType(Element element, ElementType type)
static ReportElement[]
findElementsByAttribute(ReportElement section, String ns, String name)
static ReportElement[]
findElementsByAttribute(ReportElement section, String ns, String name, Object value)
static ReportElement[]
findElementsByName(ReportElement section, String name)
static ReportElement[]
findElementsByType(ReportElement section, ElementType type)
static ReportElement
match(MatcherContext context, ReportElement base, String selector)
static ReportElement
match(MatcherContext context, ReportElement base, NodeMatcher parse)
static ReportElement[]
matchAll(MatcherContext context, ReportElement base, String selector)
static ReportElement[]
matchAll(MatcherContext context, ReportElement base, NodeMatcher parse)
static NodeMatcher
parse(String s)
-
-
-
Method Detail
-
parse
public static NodeMatcher parse(String s) throws IOException
- Throws:
IOException
-
match
public static ReportElement match(MatcherContext context, ReportElement base, NodeMatcher parse)
-
matchAll
public static ReportElement[] matchAll(MatcherContext context, ReportElement base, NodeMatcher parse)
-
match
public static ReportElement match(MatcherContext context, ReportElement base, String selector) throws IOException
- Throws:
IOException
-
matchAll
public static ReportElement[] matchAll(MatcherContext context, ReportElement base, String selector) throws IOException
- Throws:
IOException
-
findElementsByName
public static ReportElement[] findElementsByName(ReportElement section, String name)
-
findElementsByAttribute
public static ReportElement[] findElementsByAttribute(ReportElement section, String ns, String name)
-
findElementsByAttribute
public static ReportElement[] findElementsByAttribute(ReportElement section, String ns, String name, Object value)
-
findElementsByType
public static ReportElement[] findElementsByType(ReportElement section, ElementType type)
-
findElementByType
public static ReportElement findElementByType(Element element, ElementType type)
-
-