Package org.jboss.as.controller.xml
Interface XMLUsage
- All Known Subinterfaces:
XMLCardinality
- All Known Implementing Classes:
XMLAttribute.Use,XMLCardinality.Single,XMLCardinality.Unbounded
public interface XMLUsage
Defines the usage of a an XML component.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether or not the associated XML component is enabled.booleanIndicates whether or not the associated XML component is required.
-
Method Details
-
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.
-