Package org.jboss.as.controller.xml
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 Summary
Static Methods Modifier and Type Method Description static <V extends Comparable<V>,N extends org.jboss.staxmapper.Versioned<V,N>>
VersionedNamespace<V,N>createURN(List<String> identifiers, V version)
Equivalent tocreateURN(List, Comparable, Function)
usingObject.toString()
.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.
-
-
-
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)
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 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 typeN
- the namespace type- Parameters:
identifiers
- a list of namespace identifiersversion
- a versionversionFormatter
- a version formatter- Returns:
- a versioned URN
-
-