org.neovera.jdiablo.internal.convert
Class StringLiteralOptionValueFacets

java.lang.Object
  extended by org.neovera.jdiablo.internal.convert.StringLiteralOptionValueFacets
All Implemented Interfaces:
OptionValueFacets

public class StringLiteralOptionValueFacets
extends Object
implements OptionValueFacets

Exposes the supported value types of an option value from a given string value. Only the literal option value facet is supported.


Constructor Summary
StringLiteralOptionValueFacets(String value)
           
 
Method Summary
 Properties getOptionProperties()
           
 String getOptionValue()
           
 String[] getOptionValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringLiteralOptionValueFacets

public StringLiteralOptionValueFacets(String value)
Parameters:
value - The raw string value provided the based for the various option value facets
Method Detail

getOptionValue

public String getOptionValue()
Specified by:
getOptionValue in interface OptionValueFacets

getOptionValues

public String[] getOptionValues()
Specified by:
getOptionValues in interface OptionValueFacets

getOptionProperties

public Properties getOptionProperties()
                               throws UnsupportedValueFacetException
Specified by:
getOptionProperties in interface OptionValueFacets
Throws:
UnsupportedValueFacetException


Copyright © 2014 Neovera Inc.. All rights reserved.