Interface XMLAttributeSchema<S extends XMLAttributeSchema<S,​T>,​T>

  • All Superinterfaces:
    IntVersionSchema<S>, Schema, org.jboss.staxmapper.Versioned<org.jboss.staxmapper.IntVersion,​S>, VersionedSchema<org.jboss.staxmapper.IntVersion,​S>, org.jboss.staxmapper.XMLAttributeReader<T>

    public interface XMLAttributeSchema<S extends XMLAttributeSchema<S,​T>,​T>
    extends IntVersionSchema<S>, org.jboss.staxmapper.XMLAttributeReader<T>
    A versioned schema for an XML attribute.
    Author:
    Paul Ferraro
    • Method Detail

      • createXMLMapper

        static <T,​S extends XMLAttributeSchema<S,​T>> org.jboss.staxmapper.XMLMapper createXMLMapper​(Set<S> schemas)
        Creates a StAX mapper from a set of schemas.
        Type Parameters:
        T - the xml reader context type
        S - the schema type
        Parameters:
        schemas - a set of XML attribute schemas
        Returns:
        a StAX mapper