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

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.EvaluateParser
All Implemented Interfaces:
org.databene.webdecs.xml.XMLElementParser<Statement>

public class EvaluateParser
extends AbstractBeneratorDescriptorParser

Parses an <evaluate> element in a Benerator descriptor file.

Created: 25.10.2009 01:01:02

Since:
0.6.0
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
EvaluateParser()
           
 
Method Summary
 EvaluateStatement doParse(org.w3c.dom.Element element, Statement[] parentPath, BeneratorParseContext context)
           
 boolean supports(org.w3c.dom.Element element, Statement[] parentPath)
           
 
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, syntaxError, syntaxWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluateParser

public EvaluateParser()
Method Detail

supports

public boolean supports(org.w3c.dom.Element element,
                        Statement[] parentPath)
Specified by:
supports in interface org.databene.webdecs.xml.XMLElementParser<Statement>
Overrides:
supports in class org.databene.webdecs.xml.AbstractXMLElementParser<Statement>

doParse

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


Copyright © 2013. All Rights Reserved.