Class NamespaceRegistry.Builder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      NamespaceRegistry.Builder add​(java.lang.String prefix, org.opentest4j.reporting.schema.Namespace namespace)
      Add an additional namespace to this registry.
      NamespaceRegistry.Builder add​(java.lang.String prefix, org.opentest4j.reporting.schema.Namespace namespace, java.lang.String schemaLocation)
      Add an additional namespace to this registry.
      NamespaceRegistry build()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • add

        public NamespaceRegistry.Builder add​(java.lang.String prefix,
                                             org.opentest4j.reporting.schema.Namespace namespace)
        Add an additional namespace to this registry.
        Parameters:
        prefix - the prefix for the namespace
        namespace - the namespace
        Returns:
        this builder
      • add

        public NamespaceRegistry.Builder add​(java.lang.String prefix,
                                             org.opentest4j.reporting.schema.Namespace namespace,
                                             java.lang.String schemaLocation)
        Add an additional namespace to this registry.
        Parameters:
        prefix - the prefix for the namespace
        namespace - the namespace
        schemaLocation - the schema location of the namespace
        Returns:
        this builder