Interface SubsystemSchema<S extends SubsystemSchema<S>>

Type Parameters:
S - the schema type
All Superinterfaces:
Feature, FeatureFilter, FeatureRegistry, IntVersionSchema<S>, QNameResolver, Schema, org.jboss.staxmapper.Versioned<org.jboss.staxmapper.IntVersion,S>, VersionedFeature<org.jboss.staxmapper.IntVersion,S>, VersionedSchema<org.jboss.staxmapper.IntVersion,S>, org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>>, XMLElementSchema<S,List<org.jboss.dmr.ModelNode>>
All Known Subinterfaces:
PersistentSubsystemSchema<S>, SubsystemResourceXMLSchema<S>

public interface SubsystemSchema<S extends SubsystemSchema<S>> extends XMLElementSchema<S,List<org.jboss.dmr.ModelNode>>
Defines a versioned schema for a subsystem.
Author:
Paul Ferraro
  • Method Details

    • getLocalName

      default String getLocalName()
      Description copied from interface: Schema
      Returns the local name of this attribute/element.
      Specified by:
      getLocalName in interface Schema
      Returns:
      the local name of this attribute/element.
    • createSubsystemURN

      static <S extends SubsystemSchema<S>> VersionedNamespace<org.jboss.staxmapper.IntVersion,S> createSubsystemURN(String subsystemName, org.jboss.staxmapper.IntVersion version)
      Creates a subsystem URN of the form :subsystemName:IntVersion.major().IntVersion.minor() for the specified subsystem name and version.
      Type Parameters:
      S - the schema type
      Parameters:
      subsystemName - the subsystem name
      version - the schema version
      Returns:
      a versioned namespace
    • createSubsystemURN

      static <S extends SubsystemSchema<S>> VersionedNamespace<org.jboss.staxmapper.IntVersion,S> createSubsystemURN(String subsystemName, Stability stability, org.jboss.staxmapper.IntVersion version)
      Creates a subsystem URN of the form :subsystemName:IntVersion.major().IntVersion.minor() for the specified subsystem name and version.
      Type Parameters:
      S - the schema type
      Parameters:
      subsystemName - the subsystem name
      stability - the stability level of this schema version variant
      version - the schema version
      Returns:
      a versioned namespace
    • createLegacySubsystemURN

      static <S extends SubsystemSchema<S>> VersionedNamespace<org.jboss.staxmapper.IntVersion,S> createLegacySubsystemURN(String subsystemName, org.jboss.staxmapper.IntVersion version)
      Creates a subsystem URN of the form ::subsystemName:IntVersion.major().IntVersion.minor() for the specified subsystem name and version.
      Type Parameters:
      S - the schema type
      Parameters:
      subsystemName - the subsystem name
      version - the schema version
      Returns:
      a versioned namespace
    • createLegacySubsystemURN

      static <S extends SubsystemSchema<S>> VersionedNamespace<org.jboss.staxmapper.IntVersion,S> createLegacySubsystemURN(String subsystemName, Stability stability, org.jboss.staxmapper.IntVersion version)
      Creates a subsystem URN of the form ::subsystemName:IntVersion.major().IntVersion.minor() for the specified subsystem name and version.
      Type Parameters:
      S - the schema type
      Parameters:
      subsystemName - the subsystem name
      stability - the stability level of this schema version variant
      version - the schema version
      Returns:
      a versioned namespace