Package org.jboss.as.controller.xml
Interface XMLUsage
-
- All Known Subinterfaces:
XMLCardinality
- All Known Implementing Classes:
XMLAttribute.Use,XMLCardinality.Single,XMLCardinality.Unbounded
public interface XMLUsageDefines the usage of a an XML component.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisEnabled()Indicates whether or not the associated XML component is enabled.booleanisRequired()Indicates whether or not the associated XML component is required.
-
-
-
Method Detail
-
isRequired
boolean isRequired()
Indicates whether or not the associated XML component is required.- Returns:
- true, if the associated XML component is required, false otherwise.
-
isEnabled
boolean isEnabled()
Indicates whether or not the associated XML component is enabled.- Returns:
- true, if the associated XML component is enabled, false otherwise.
-
-