Package org.jboss.as.controller
Class AttributeParsers.MapParser
java.lang.Object
org.jboss.as.controller.AttributeParser
org.jboss.as.controller.AttributeParsers.MapParser
- Direct Known Subclasses:
AttributeParsers.ObjectMapParser,AttributeParsers.PropertiesParser
- Enclosing interface:
- AttributeParsers
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.as.controller.AttributeParser
AttributeParser.DiscardOldDefaultValueParser -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final booleanprotected final StringFields inherited from class org.jboss.as.controller.AttributeParser
COMMA_DELIMITED_STRING_LIST, OBJECT_LIST_PARSER, OBJECT_PARSER, PROPERTIES_PARSER, PROPERTIES_PARSER_UNWRAPPED, SIMPLE, STRING_LIST, UNWRAPPED_OBJECT_LIST_PARSER, WRAPPED_OBJECT_LIST_PARSER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCardinality(AttributeDefinition attribute) Returns the cardinality of the XML particle for the specified attribute.getXmlName(AttributeDefinition attribute) booleanvoidparseElement(AttributeDefinition attribute, org.jboss.staxmapper.XMLExtendedStreamReader reader, org.jboss.dmr.ModelNode operation) abstract voidparseSingleElement(MapAttributeDefinition attribute, org.jboss.staxmapper.XMLExtendedStreamReader reader, org.jboss.dmr.ModelNode operation) Methods inherited from class org.jboss.as.controller.AttributeParser
parse, parseAndSetParameter
-
Field Details
-
wrapperElement
-
elementName
-
wrapElement
protected final boolean wrapElement
-
-
Constructor Details
-
MapParser
-
MapParser
-
MapParser
public MapParser(boolean wrapElement) -
MapParser
-
MapParser
public MapParser()
-
-
Method Details
-
isParseAsElement
public boolean isParseAsElement()- Overrides:
isParseAsElementin classAttributeParser
-
getXmlName
- Overrides:
getXmlNamein classAttributeParser
-
parseElement
public void parseElement(AttributeDefinition attribute, org.jboss.staxmapper.XMLExtendedStreamReader reader, org.jboss.dmr.ModelNode operation) throws XMLStreamException - Overrides:
parseElementin classAttributeParser- Throws:
XMLStreamException
-
parseSingleElement
public abstract void parseSingleElement(MapAttributeDefinition attribute, org.jboss.staxmapper.XMLExtendedStreamReader reader, org.jboss.dmr.ModelNode operation) throws XMLStreamException - Throws:
XMLStreamException
-
getCardinality
Description copied from class:AttributeParserReturns the cardinality of the XML particle for the specified attribute.- Overrides:
getCardinalityin classAttributeParser- Parameters:
attribute- an attribute definition- Returns:
- the cardinality of the XML particle for the specified attribute.
-