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

Record Components:
S - the schema type
T - the type upon which this XML reader operates
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.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 Details

    • 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