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
-
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, 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 TypeMethodDescriptionorg.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
getCardinality, getXmlName, isParseAsElement, parseAndSetParameter, parseElement
-
Constructor Details
-
DiscardOldDefaultValueParser
-
-
Method Details
-
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:
-