Package org.jboss.as.controller.xml
Class XMLComponentFactory.DefaultXMLComponentFactory<RC,WC>
- java.lang.Object
-
- org.jboss.as.controller.xml.XMLComponentFactory.DefaultXMLComponentFactory<RC,WC>
-
- All Implemented Interfaces:
FeatureFilter,FeatureRegistry,QNameResolver,XMLComponentFactory<RC,WC>
- Enclosing interface:
- XMLComponentFactory<RC,WC>
public static class XMLComponentFactory.DefaultXMLComponentFactory<RC,WC> extends Object implements XMLComponentFactory<RC,WC>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.as.controller.xml.XMLComponentFactory
XMLComponentFactory.DefaultXMLComponentFactory<RC,WC>
-
-
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 XMLAll.Builder<RC,WC>all()Returns a builder of XML content.XMLAttribute.Builder<RC,WC>attribute(QName name, Stability stability)Returns a builder of an XML attribute, using the specified name and stability.XMLChoice.Builder<RC,WC>choice()Returns a builder of an XML choice.XMLElement.Builder<RC,WC>element(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.QNameresolve(String localName)Resolves the specified local name to a qualified name.XMLSequence.Builder<RC,WC>sequence()Returns a builder of XML content.-
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.xml.XMLComponentFactory
attribute, 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
-
attribute
public XMLAttribute.Builder<RC,WC> attribute(QName name, Stability stability)
Description copied from interface:XMLComponentFactoryReturns a builder of an XML attribute, using the specified name and stability.- Specified by:
attributein interfaceXMLComponentFactory<RC,WC>- Parameters:
name- the qualified attribute namestability- the stability of this attribute- Returns:
- a builder of an XML element.
-
element
public XMLElement.Builder<RC,WC> element(QName name, Stability stability)
Description copied from interface:XMLComponentFactoryReturns a builder of an XML element, using the specified name.- Specified by:
elementin interfaceXMLComponentFactory<RC,WC>- Parameters:
name- the element namestability- the stability of this element- Returns:
- a builder of an XML element.
-
choice
public XMLChoice.Builder<RC,WC> choice()
Description copied from interface:XMLComponentFactoryReturns a builder of an XML choice.- Specified by:
choicein interfaceXMLComponentFactory<RC,WC>- Returns:
- a builder of an XML choice.
-
all
public XMLAll.Builder<RC,WC> all()
Description copied from interface:XMLComponentFactoryReturns a builder of XML content.- Specified by:
allin interfaceXMLComponentFactory<RC,WC>- Returns:
- a builder of XML content.
-
sequence
public XMLSequence.Builder<RC,WC> sequence()
Description copied from interface:XMLComponentFactoryReturns a builder of XML content.- Specified by:
sequencein interfaceXMLComponentFactory<RC,WC>- Returns:
- a builder of XML content.
-
-