Interface SubsystemSchema<S extends SubsystemSchema<S>>

  • Type Parameters:
    S - the schema type
    All Superinterfaces:
    IntVersionSchema<S>, Schema, org.jboss.staxmapper.Versioned<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>

    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 Detail

      • 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
      • 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