org.databene.benerator.engine.parser.xml
Class ErrorParser

java.lang.Object
  extended by org.databene.webdecs.xml.AbstractXMLElementParser<Statement>
      extended by org.databene.benerator.engine.parser.xml.AbstractBeneratorDescriptorParser
          extended by org.databene.benerator.engine.parser.xml.ErrorParser
All Implemented Interfaces:
org.databene.webdecs.xml.XMLElementParser<Statement>

public class ErrorParser
extends AbstractBeneratorDescriptorParser

Parses Benerator's <error> descriptor XML element and maps it to an ErrorStatement.

Created: 12.01.2011 09:03:58

Since:
0.6.4
Author:
Volker Bergmann

Field Summary
 
Fields inherited from class org.databene.benerator.engine.parser.xml.AbstractBeneratorDescriptorParser
logger
 
Fields inherited from class org.databene.webdecs.xml.AbstractXMLElementParser
elementName, optionalAttributes, requiredAttributes, supportedParentTypes
 
Constructor Summary
ErrorParser()
           
 
Method Summary
 ErrorStatement doParse(org.w3c.dom.Element element, Statement[] parentPath, BeneratorParseContext context)
           
 
Methods inherited from class org.databene.benerator.engine.parser.xml.AbstractBeneratorDescriptorParser
containsGeneratorStatement, containsLoop, doParse, isLoop, parseOnErrorAttribute, parsePageSize
 
Methods inherited from class org.databene.webdecs.xml.AbstractXMLElementParser
assertAtLeastOneAttributeIsSet, assertAttributeIsNotSet, assertAttributeIsSet, assertElementName, checkAttributes, checkAttributeSupport, checkSupportedAttributes, createSyntaxError, createSyntaxError, excludeAttributes, getOptionalAttribute, getRequiredAttribute, parent, parse, parseOptionalBoolean, parseOptionalInteger, parseOptionalLong, parseOptionalName, parseRequiredName, supports, syntaxError, syntaxWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorParser

public ErrorParser()
Method Detail

doParse

public ErrorStatement doParse(org.w3c.dom.Element element,
                              Statement[] parentPath,
                              BeneratorParseContext context)
Specified by:
doParse in class AbstractBeneratorDescriptorParser


Copyright © 2013. All Rights Reserved.