Package org.opentest4j.reporting.schema
Class Namespace
- java.lang.Object
-
- org.opentest4j.reporting.schema.Namespace
-
public class Namespace extends java.lang.ObjectAn XML namespace identified by a URI.
-
-
Field Summary
Fields Modifier and Type Field Description static NamespaceREPORTING_COREOpen Test Reporting core namespacestatic NamespaceREPORTING_EVENTSOpen Test Reporting events namespacestatic NamespaceREPORTING_HIERARCHYOpen Test Reporting hierarchical namespacestatic NamespaceREPORTING_JAVAOpen Test Reporting Java namespacestatic NamespaceXML_SCHEMA_INSTANCEW3C XML Schema Instance namespace ("http://www.w3.org/2001/XMLSchema-instance").
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetUri()inthashCode()static Namespaceof(java.lang.String uri)Create the namespace with the supplied URI.java.lang.StringtoString()
-
-
-
Field Detail
-
XML_SCHEMA_INSTANCE
public static final Namespace XML_SCHEMA_INSTANCE
W3C XML Schema Instance namespace ("http://www.w3.org/2001/XMLSchema-instance").
-
REPORTING_CORE
public static final Namespace REPORTING_CORE
Open Test Reporting core namespace
-
REPORTING_EVENTS
public static final Namespace REPORTING_EVENTS
Open Test Reporting events namespace
-
REPORTING_JAVA
public static final Namespace REPORTING_JAVA
Open Test Reporting Java namespace
-
REPORTING_HIERARCHY
public static final Namespace REPORTING_HIERARCHY
Open Test Reporting hierarchical namespace
-
-
Method Detail
-
of
public static Namespace of(java.lang.String uri)
Create the namespace with the supplied URI.- Parameters:
uri- the namespace URI- Returns:
- namespace with the supplied URI
-
getUri
public java.lang.String getUri()
- Returns:
- the URI that identifies this namespace
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-