code: @Deprecated
      public ModelNode parse(final String value, final XMLStreamReader reader) throws XMLStreamException {
  
          try {
              return SimpleAttributeDefinition.parse(this, elementValidator, value);
          } catch (OperationFailedException e) {
              throw new XMLStreamException(e.getFailureDescription().toString(), reader.getLocation());
          }
      }
docs: Creates and returns a {@link org.jboss.dmr.ModelNode} using the given {@code value} after first validating the node
  against {@link #getElementValidator() this object's element validator}.
  <p>
  If {@code value} is {@code null} an {@link ModelType#UNDEFINED undefined} node will be returned.
  </p>
  
  @param value the value. Will be {@link String#trim() trimmed} before use if not {@code null}.
  @param reader {@link XMLStreamReader} from which the {@link XMLStreamReader#getLocation() location} from which
  the attribute value was read can be obtained and used in any {@code XMLStreamException}, in case
  the given value is invalid.
  
  @return {@code ModelNode} representing the parsed value
  
  @throws javax.xml.stream.XMLStreamException if {@code value} is not valid
  
  @see #parseAndAddParameterElement(String, ModelNode, XMLStreamReader)
  @deprecated use {@link #getParser()}