Class ResourceXMLParticleFactory.DefaultSubsystemXMLParticleFactory
- java.lang.Object
-
- org.jboss.as.controller.persistence.xml.ResourceXMLParticleFactory.DefaultSubsystemXMLParticleFactory
-
- All Implemented Interfaces:
FeatureFilter,FeatureRegistry,ResourceXMLParticleFactory,QNameResolver
- Enclosing interface:
- ResourceXMLParticleFactory
public static class ResourceXMLParticleFactory.DefaultSubsystemXMLParticleFactory extends Object implements ResourceXMLParticleFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.as.controller.persistence.xml.ResourceXMLParticleFactory
ResourceXMLParticleFactory.DefaultSubsystemXMLParticleFactory
-
-
Field Summary
-
Fields inherited from interface org.jboss.as.controller.xml.QNameResolver
COMPARATOR
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceXMLAll.Builderall()Returns a builder of an xs:all group.ResourceXMLChoice.Builderchoice()Returns a builder of an xs:choice group.ResourceXMLElement.Builderelement(QName name, Stability stability)Returns a builder of an XML element using the specified name.StabilitygetStability()Returns the feature stability supported by this feature registry.NamedResourceRegistrationXMLElement.BuildernamedElement(ResourceRegistration registration)Returns a builder of an XML element for the named resource with the specified registration.NamedResourceRegistrationXMLChoice.BuildernamedElementChoice(NamedResourceRegistrationXMLElement wildcardElement)Returns a builder of an XML choice of one or moreNamedResourceRegistrationXMLElement, including the specified wildcardNamedResourceRegistrationXMLElement.QNameresolve(String localName)Resolves the specified local name to a qualified name.ResourceXMLSequence.Buildersequence()Returns a builder of an xs:sequence group.SingletonResourceRegistrationXMLElement.BuildersingletonElement(ResourceRegistration registration)Returns a builder of an XML element for the singleton resource with the specified registration.SingletonResourceRegistrationXMLChoice.BuildersingletonElementChoice()Returns a builder of an XML choice of one or moreSingletonResourceRegistrationXMLElement.SubsystemResourceRegistrationXMLElement.BuildersubsystemElement(ResourceRegistration registration)Returns a builder of an XML element for the subsystem resource with the specified registration.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.as.controller.FeatureRegistry
enables
-
Methods inherited from interface org.jboss.as.controller.persistence.xml.ResourceXMLParticleFactory
element
-
-
-
-
Method Detail
-
resolve
public QName resolve(String localName)
Description copied from interface:QNameResolverResolves the specified local name to a qualified name.- Specified by:
resolvein interfaceQNameResolver- Parameters:
localName- an attribute/element local name- Returns:
- a qualified name
-
getStability
public Stability getStability()
Description copied from interface:FeatureRegistryReturns the feature stability supported by this feature registry.- Specified by:
getStabilityin interfaceFeatureRegistry- Returns:
- a stability level
-
subsystemElement
public SubsystemResourceRegistrationXMLElement.Builder subsystemElement(ResourceRegistration registration)
Description copied from interface:ResourceXMLParticleFactoryReturns a builder of an XML element for the subsystem resource with the specified registration. Default element local name isResourceXMLElementLocalName.KEY.- Specified by:
subsystemElementin interfaceResourceXMLParticleFactory- Parameters:
registration- a subsystem resource registration- Returns:
- a builder of an XML element for the subsystem resource with the specified registration.
-
namedElement
public NamedResourceRegistrationXMLElement.Builder namedElement(ResourceRegistration registration)
Description copied from interface:ResourceXMLParticleFactoryReturns a builder of an XML element for the named resource with the specified registration. Default element local name isResourceXMLElementLocalName.KEY.- Specified by:
namedElementin interfaceResourceXMLParticleFactory- Parameters:
registration- a subsystem resource registration- Returns:
- a builder of an XML element for the resource with the specified registration.
-
namedElementChoice
public NamedResourceRegistrationXMLChoice.Builder namedElementChoice(NamedResourceRegistrationXMLElement wildcardElement)
Description copied from interface:ResourceXMLParticleFactoryReturns a builder of an XML choice of one or moreNamedResourceRegistrationXMLElement, including the specified wildcardNamedResourceRegistrationXMLElement. Elements added to this choice must be override registrations of the specified wildcardNamedResourceRegistrationXMLElement.- Specified by:
namedElementChoicein interfaceResourceXMLParticleFactory- Returns:
- a builder of an XML choice of one or more
NamedResourceRegistrationXMLElement.
-
singletonElement
public SingletonResourceRegistrationXMLElement.Builder singletonElement(ResourceRegistration registration)
Description copied from interface:ResourceXMLParticleFactoryReturns a builder of an XML element for the singleton resource with the specified registration. Default element local name isResourceXMLElementLocalName.VALUE.- Specified by:
singletonElementin interfaceResourceXMLParticleFactory- Parameters:
registration- a subsystem resource registration- Returns:
- a builder of an XML element for the resource with the specified registration.
-
singletonElementChoice
public SingletonResourceRegistrationXMLChoice.Builder singletonElementChoice()
Description copied from interface:ResourceXMLParticleFactoryReturns a builder of an XML choice of one or moreSingletonResourceRegistrationXMLElement. ASingletonResourceRegistrationXMLChoicemay designate aResourceRegistrationto be assumed when no choice is present.- Specified by:
singletonElementChoicein interfaceResourceXMLParticleFactory- Returns:
- a builder of an XML choice of one or more
SingletonResourceRegistrationXMLElement
-
element
public ResourceXMLElement.Builder element(QName name, Stability stability)
Description copied from interface:ResourceXMLParticleFactoryReturns a builder of an XML element using the specified name. Default cardinality isXMLCardinality.Single.REQUIRED.- Specified by:
elementin interfaceResourceXMLParticleFactory- Parameters:
name- a qualified element namestability- the stability of this element- Returns:
- a builder of an XML element
-
choice
public ResourceXMLChoice.Builder choice()
Description copied from interface:ResourceXMLParticleFactoryReturns a builder of an xs:choice group. Default cardinality isXMLCardinality.Single.REQUIRED.- Specified by:
choicein interfaceResourceXMLParticleFactory- Returns:
- a builder of an xs:choice group
-
all
public ResourceXMLAll.Builder all()
Description copied from interface:ResourceXMLParticleFactoryReturns a builder of an xs:all group. Default cardinality isXMLCardinality.Single.REQUIRED.- Specified by:
allin interfaceResourceXMLParticleFactory- Returns:
- a builder of an xs:all group
-
sequence
public ResourceXMLSequence.Builder sequence()
Description copied from interface:ResourceXMLParticleFactoryReturns a builder of an xs:sequence group. Default cardinality isXMLCardinality.Single.REQUIRED.- Specified by:
sequencein interfaceResourceXMLParticleFactory- Returns:
- a builder of an xs:sequence group
-
-