Interface IntVersionSchema<S extends IntVersionSchema<S>>

All Superinterfaces:
Feature, FeatureFilter, FeatureRegistry, QNameResolver, Schema, org.jboss.staxmapper.Versioned<org.jboss.staxmapper.IntVersion,S>, VersionedFeature<org.jboss.staxmapper.IntVersion,S>, VersionedSchema<org.jboss.staxmapper.IntVersion,S>
All Known Subinterfaces:
ManagementXmlSchema, PersistentSubsystemSchema<S>, SubsystemResourceXMLSchema<S>, SubsystemSchema<S>, XMLAttributeSchema<S,T>, XMLElementSchema<S,T>
All Known Implementing Classes:
ManagementSchema

public interface IntVersionSchema<S extends IntVersionSchema<S>> extends VersionedSchema<org.jboss.staxmapper.IntVersion,S>
A schema versioned via an IntVersion.
Author:
Paul Ferraro
  • Field Details

  • Method Details

    • createURN

      static <S extends IntVersionSchema<S>> VersionedNamespace<org.jboss.staxmapper.IntVersion,S> createURN(List<String> identifiers, org.jboss.staxmapper.IntVersion version)
      Convenience method that generates a URN for this schema using the specified namespace identifiers and version, formatted as "major.minor".
      Type Parameters:
      S - the schema type
      Parameters:
      identifiers - a list of namespace identifiers
      version - a schema version
      Returns:
      a URN
    • createURN

      static <S extends IntVersionSchema<S>> VersionedNamespace<org.jboss.staxmapper.IntVersion,S> createURN(List<String> identifiers, Stability stability, org.jboss.staxmapper.IntVersion version)
      Convenience method that generates a URN for this schema using the specified namespace identifiers, stability, and version, formatted as "major.minor".
      Type Parameters:
      S - the schema type
      Parameters:
      identifiers - a list of namespace identifiers
      stability - the stability of this schema version variant
      version - a schema version
      Returns:
      a URN