Package org.jboss.as.controller.xml
Interface VersionedNamespace<V extends Comparable<V>,N extends VersionedFeature<V,N>>
- All Superinterfaces:
Feature,org.jboss.staxmapper.Namespace,org.jboss.staxmapper.Versioned<V,,N> VersionedFeature<V,N>
- All Known Implementing Classes:
SimpleVersionedNamespace,VersionedURN
public interface VersionedNamespace<V extends Comparable<V>,N extends VersionedFeature<V,N>>
extends VersionedFeature<V,N>, org.jboss.staxmapper.Namespace
A versioned namespace.
- Author:
- Paul Ferraro
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <V extends Comparable<V>,N extends VersionedFeature<V, N>>
VersionedNamespace<V,N> Equivalent tocreateURN(List, Stability, Comparable, Function)usingObject.toString().static <V extends Comparable<V>,N extends VersionedFeature<V, N>>
VersionedNamespace<V,N> createURN(List<String> identifiers, Stability stability, V version, Function<V, String> versionFormatter) Creates a URN using the specified identifiers, stability, version, and version formatter.static <V extends Comparable<V>,N extends VersionedFeature<V, N>>
VersionedNamespace<V,N> Equivalent tocreateURN(List, Comparable, Function)usingObject.toString().static <V extends Comparable<V>,N extends VersionedFeature<V, N>>
VersionedNamespace<V,N> Creates a URN using the specified identifiers, version, and version formatter.Methods inherited from interface org.jboss.as.controller.Feature
getStabilityMethods inherited from interface org.jboss.staxmapper.Namespace
getUriMethods inherited from interface org.jboss.staxmapper.Versioned
getComparator, getVersionMethods inherited from interface org.jboss.as.controller.xml.VersionedFeature
since
-
Method Details
-
createURN
static <V extends Comparable<V>,N extends VersionedFeature<V, VersionedNamespace<V,N>> N> createURN(List<String> identifiers, V version) Equivalent tocreateURN(List, Comparable, Function)usingObject.toString().- Type Parameters:
V- the version typeN- the namespace type- Parameters:
identifiers- a list of namespace identifiersversion- a version- Returns:
- a versioned URN
-
createURN
static <V extends Comparable<V>,N extends VersionedFeature<V, VersionedNamespace<V,N>> N> createURN(List<String> identifiers, Stability stability, V version) Equivalent tocreateURN(List, Stability, Comparable, Function)usingObject.toString().- Type Parameters:
V- the version typeN- the namespace type- Parameters:
identifiers- a list of namespace identifiersstability- the stability of this namespace version variantversion- a version- Returns:
- a versioned URN
-
createURN
static <V extends Comparable<V>,N extends VersionedFeature<V, VersionedNamespace<V,N>> 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 typeN- the namespace type- Parameters:
identifiers- a list of namespace identifiersversion- a versionversionFormatter- a version formatter- Returns:
- a versioned URN
-
createURN
static <V extends Comparable<V>,N extends VersionedFeature<V, VersionedNamespace<V,N>> N> createURN(List<String> identifiers, Stability stability, V version, Function<V, String> versionFormatter) Creates a URN using the specified identifiers, stability, version, and version formatter.- Type Parameters:
V- the version typeN- the namespace type- Parameters:
identifiers- a list of namespace identifiersstability- the stabilty of this namespace version variantversion- a versionversionFormatter- a version formatter- Returns:
- a versioned URN
-