Package org.jboss.as.controller.xml
Interface XMLElementSchema<S extends XMLElementSchema<S,T>,T>
- Type Parameters:
S- the schema typeT- 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.XMLElementReader<T>
- All Known Subinterfaces:
PersistentSubsystemSchema<S>,SubsystemResourceXMLSchema<S>,SubsystemSchema<S>
public interface XMLElementSchema<S extends XMLElementSchema<S,T>,T>
extends IntVersionSchema<S>, org.jboss.staxmapper.XMLElementReader<T>
A versioned schema for an XML element.
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.as.controller.xml.IntVersionSchema
IntVersionSchema.IntVersionFormatter -
Field Summary
Fields inherited from interface org.jboss.as.controller.xml.IntVersionSchema
JBOSS_IDENTIFIER, MAJOR, MAJOR_MINOR, MAJOR_MINOR_MICRO, WILDFLY_IDENTIFIERFields inherited from interface org.jboss.as.controller.xml.QNameResolver
COMPARATOR -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T,S extends XMLElementSchema<S, T>>
org.jboss.staxmapper.XMLMappercreateXMLMapper(Set<S> schemas) Creates a StAX mapper from a set of schemas.Methods inherited from interface org.jboss.as.controller.FeatureRegistry
enablesMethods inherited from interface org.jboss.as.controller.xml.Schema
getLocalName, getQualifiedName, resolveMethods inherited from interface org.jboss.staxmapper.Versioned
getComparatorMethods inherited from interface org.jboss.as.controller.xml.VersionedFeature
sinceMethods inherited from interface org.jboss.as.controller.xml.VersionedSchema
getNamespace, getStability, getVersionMethods inherited from interface org.jboss.staxmapper.XMLElementReader
readElement
-
Method Details
-
createXMLMapper
static <T,S extends XMLElementSchema<S, org.jboss.staxmapper.XMLMapper createXMLMapperT>> (Set<S> schemas) Creates a StAX mapper from a set of schemas.- Type Parameters:
T- the xml reader context typeS- the schema type- Parameters:
schemas- a set of XML element schemas- Returns:
- a StAX mapper
-