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

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

public class PropertyParser
extends AbstractBeneratorDescriptorParser

Parses a <Property> element in a Benerator descriptor file.

Created: 25.10.2009 00:58:53

Since:
0.6.0
Author:
Volker Bergmann

Nested Class Summary
static class PropertyParser.SourceExpression<E>
          Evaluates a 'source' expression to a Generator.
 
Field Summary
 
Fields inherited from class org.databene.benerator.engine.parser.xml.AbstractBeneratorDescriptorParser
logger
 
Fields inherited from class org.databene.webdecs.xml.AbstractXMLElementParser
elementName, supportedParentTypes
 
Constructor Summary
PropertyParser()
           
 
Method Summary
 Statement parse(org.w3c.dom.Element element, Statement[] parentPath, BeneratorParseContext context)
           
static org.databene.commons.Expression<?> parseValue(org.w3c.dom.Element element)
           
 
Methods inherited from class org.databene.benerator.engine.parser.xml.AbstractBeneratorDescriptorParser
containsGeneratorStatement, containsLoop, isLoop, parse, parseOnErrorAttribute, parsePageSize
 
Methods inherited from class org.databene.webdecs.xml.AbstractXMLElementParser
assertElementName, checkAttributes, getOptionalAttribute, getRequiredAttribute, parent, parseOptionalName, parseRequiredName, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyParser

public PropertyParser()
Method Detail

parse

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

parseValue

public static org.databene.commons.Expression<?> parseValue(org.w3c.dom.Element element)


Copyright © 2011. All Rights Reserved.