public final class SVRL
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAMESPACE_URI
The SVRL namespace URI "http://purl.oclc.org/dsdl/svrl".
|
| Constructor and Description |
|---|
SVRL() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
toLocationPrefix(java.lang.String location,
javax.xml.namespace.NamespaceContext context)
Replace the namespace URI in the location attribute by the prefix used for them if any.
|
static java.util.List<java.lang.String> |
toMessageList(java.util.List<AssertOrReport> assertOrReports)
Convert a list of asserts or report
|
static java.util.List<java.lang.String> |
toMessageList(java.util.List<AssertOrReport> assertOrReports,
boolean includeDiagnostics)
Convert a list of asserts or report
|
public static final java.lang.String NAMESPACE_URI
public static java.util.List<java.lang.String> toMessageList(java.util.List<AssertOrReport> assertOrReports)
assertOrReports - a list of asserts or report.public static java.util.List<java.lang.String> toMessageList(java.util.List<AssertOrReport> assertOrReports, boolean includeDiagnostics)
assertOrReports - a list of asserts or report.public static java.lang.String toLocationPrefix(java.lang.String location,
javax.xml.namespace.NamespaceContext context)
If there is no available prefix, the namespace URI is left in place
location - The location attributecontext - The namespace context