public class ReportStructureMatcher extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ReportStructureMatcher.Type |
Constructor and Description |
---|
ReportStructureMatcher() |
Modifier and Type | Method and 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,
NodeMatcher parse) |
static ReportElement |
match(MatcherContext context,
ReportElement base,
String selector) |
static ReportElement[] |
matchAll(MatcherContext context,
ReportElement base,
NodeMatcher parse) |
static ReportElement[] |
matchAll(MatcherContext context,
ReportElement base,
String selector) |
static NodeMatcher |
parse(String s) |
public static NodeMatcher parse(String s) throws IOException
IOException
public static ReportElement match(MatcherContext context, ReportElement base, NodeMatcher parse)
public static ReportElement[] matchAll(MatcherContext context, ReportElement base, NodeMatcher parse)
public static ReportElement match(MatcherContext context, ReportElement base, String selector) throws IOException
IOException
public static ReportElement[] matchAll(MatcherContext context, ReportElement base, String selector) throws IOException
IOException
public static ReportElement[] findElementsByName(ReportElement section, String name)
public static ReportElement[] findElementsByAttribute(ReportElement section, String ns, String name)
public static ReportElement[] findElementsByAttribute(ReportElement section, String ns, String name, Object value)
public static ReportElement[] findElementsByType(ReportElement section, ElementType type)
public static ReportElement findElementByType(Element element, ElementType type)
Copyright © 2017 Hitachi Vantara. All rights reserved.