Interface VersionedNamespace<V extends Comparable<V>,​N extends org.jboss.staxmapper.Versioned<V,​N>>

  • All Superinterfaces:
    org.jboss.staxmapper.Namespace, org.jboss.staxmapper.Versioned<V,​N>
    All Known Implementing Classes:
    LegacySubsystemURN, SimpleVersionedNamespace, SubsystemURN, VersionedURN

    public interface VersionedNamespace<V extends Comparable<V>,​N extends org.jboss.staxmapper.Versioned<V,​N>>
    extends org.jboss.staxmapper.Versioned<V,​N>, org.jboss.staxmapper.Namespace
    A versioned namespace.
    Author:
    Paul Ferraro
    • Method Detail

      • createURN

        static <V extends Comparable<V>,​N extends org.jboss.staxmapper.Versioned<V,​N>> VersionedNamespace<V,​N> createURN​(List<String> identifiers,
                                                                                                                                           V version,
                                                                                                                                           Function<V,​String> versionFormatter)
        Creates a URN using the specified identifiers, version, and version formatter.
        Type Parameters:
        V - the version type
        N - the namespace type
        Parameters:
        identifiers - a list of namespace identifiers
        version - a version
        versionFormatter - a version formatter
        Returns:
        a versioned URN