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

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

public class WhileParser
extends AbstractBeneratorDescriptorParser

Parses a 'while' element.

Created: 19.02.2010 09:18:47

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
WhileParser()
           
 
Method Summary
 Statement doParse(org.w3c.dom.Element element, Statement[] parentPath, BeneratorParseContext context)
           
 boolean supports(java.lang.String elementName, java.lang.String parentName)
           
 
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

WhileParser

public WhileParser()
Method Detail

supports

public boolean supports(java.lang.String elementName,
                        java.lang.String parentName)

doParse

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


Copyright © 2013. All Rights Reserved.