Package org.jboss.as.controller
Class AttributeParser.DiscardOldDefaultValueParser
- java.lang.Object
-
- org.jboss.as.controller.AttributeParser
-
- org.jboss.as.controller.AttributeParser.DiscardOldDefaultValueParser
-
- Enclosing class:
- AttributeParser
public static final class AttributeParser.DiscardOldDefaultValueParser extends AttributeParser
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.as.controller.AttributeParser
AttributeParser.DiscardOldDefaultValueParser
-
-
Field Summary
-
Fields inherited from class org.jboss.as.controller.AttributeParser
COMMA_DELIMITED_STRING_LIST, 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 Constructor Description DiscardOldDefaultValueParser(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.dmr.ModelNodeparse(AttributeDefinition attribute, String value, XMLStreamReader reader)Creates and returns aModelNodeusing the givenvalueafter first validating the node againstthis object's validator.-
Methods inherited from class org.jboss.as.controller.AttributeParser
getXmlName, isParseAsElement, parseAndSetParameter, parseElement
-
-
-
-
Constructor Detail
-
DiscardOldDefaultValueParser
public DiscardOldDefaultValueParser(String value)
-
-
Method Detail
-
parse
public org.jboss.dmr.ModelNode parse(AttributeDefinition attribute, String value, XMLStreamReader reader) throws XMLStreamException
Description copied from class:AttributeParserCreates and returns aModelNodeusing the givenvalueafter first validating the node againstthis object's validator.If
valueisnullanundefinednode will be returned.- Overrides:
parsein classAttributeParservalue- the value. Will betrimmedbefore use if notnull.reader-XMLStreamReaderfrom which thelocationfrom which the attribute value was read can be obtained and used in anyXMLStreamException, in case the given value is invalid.- Returns:
ModelNoderepresenting the parsed value- Throws:
XMLStreamException- ifvalueis not valid- See Also:
AttributeParser.parseAndSetParameter(org.jboss.as.controller.AttributeDefinition, String, ModelNode, XMLStreamReader)
-
-