Apache CXF API

org.apache.cxf.tools.wsdlto.core
Class RandomValueProvider

java.lang.Object
  extended by org.apache.cxf.tools.wsdlto.core.RandomValueProvider
All Implemented Interfaces:
DefaultValueProvider

public class RandomValueProvider
extends Object
implements DefaultValueProvider


Constructor Summary
RandomValueProvider()
           
 
Method Summary
 String chooseEnumValue(String path, Set<String> values)
           
 BigDecimal getBigDecimalValue(String path)
           
 BigInteger getBigIntegerValue(String path)
           
 boolean getBooleanValue(String path)
           
 byte getByteValue(String path)
           
 char getCharValue(String path)
           
 double getDoubleValue(String path)
           
 String getDurationValueString(String path)
           
 float getFloatValue(String path)
           
 int getIntValue(String path)
           
 int getListLength(String path)
           
 long getLongValue(String path)
           
 QName getQNameValue(String path)
           
 short getShortValue(String path)
           
 String getStringValue(String path)
           
 URI getURIValue(String path)
           
 String getXMLGregorianCalendarValueString(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomValueProvider

public RandomValueProvider()
Method Detail

getBooleanValue

public boolean getBooleanValue(String path)
Specified by:
getBooleanValue in interface DefaultValueProvider

getByteValue

public byte getByteValue(String path)
Specified by:
getByteValue in interface DefaultValueProvider

getCharValue

public char getCharValue(String path)
Specified by:
getCharValue in interface DefaultValueProvider

getDoubleValue

public double getDoubleValue(String path)
Specified by:
getDoubleValue in interface DefaultValueProvider

getFloatValue

public float getFloatValue(String path)
Specified by:
getFloatValue in interface DefaultValueProvider

getIntValue

public int getIntValue(String path)
Specified by:
getIntValue in interface DefaultValueProvider

getLongValue

public long getLongValue(String path)
Specified by:
getLongValue in interface DefaultValueProvider

getShortValue

public short getShortValue(String path)
Specified by:
getShortValue in interface DefaultValueProvider

getStringValue

public String getStringValue(String path)
Specified by:
getStringValue in interface DefaultValueProvider

getQNameValue

public QName getQNameValue(String path)
Specified by:
getQNameValue in interface DefaultValueProvider

getURIValue

public URI getURIValue(String path)
Specified by:
getURIValue in interface DefaultValueProvider

getBigDecimalValue

public BigDecimal getBigDecimalValue(String path)
Specified by:
getBigDecimalValue in interface DefaultValueProvider

getBigIntegerValue

public BigInteger getBigIntegerValue(String path)
Specified by:
getBigIntegerValue in interface DefaultValueProvider

getXMLGregorianCalendarValueString

public String getXMLGregorianCalendarValueString(String path)
Specified by:
getXMLGregorianCalendarValueString in interface DefaultValueProvider

getDurationValueString

public String getDurationValueString(String path)
Specified by:
getDurationValueString in interface DefaultValueProvider

chooseEnumValue

public String chooseEnumValue(String path,
                              Set<String> values)
Specified by:
chooseEnumValue in interface DefaultValueProvider

getListLength

public int getListLength(String path)
Specified by:
getListLength in interface DefaultValueProvider

Apache CXF API

Apache CXF