org.apache.ws.jaxme.generator.sg.impl

Class FacetImpl

Implemented Interfaces:
Facet

public class FacetImpl
extends java.lang.Object
implements Facet

Author:
Jochen Wiedmann

Fields inherited from interface org.apache.ws.jaxme.generator.sg.Facet

ENUMERATION, FRACTION_DIGITS, LENGTH, MAX_EXCLUSIVE, MAX_INCLUSIVE, MAX_LENGTH, MIN_EXCLUSIVE, MIN_INCLUSIVE, MIN_LENGTH, PATTERN, TOTAL_DIGITS

Constructor Summary

FacetImpl(XSType pType, XSEnumeration[] pEnumerations)
Creates a new enumeration facet.

Method Summary

long
getNumValue()
Type
getType()
String
getValue()
String[]
getValues()

Constructor Details

FacetImpl

public FacetImpl(XSType pType,
                 XSEnumeration[] pEnumerations)
Creates a new enumeration facet.

Method Details

getNumValue

public long getNumValue()
Specified by:
getNumValue in interface Facet

getType

public Type getType()
Specified by:
getType in interface Facet

getValue

public String getValue()
Specified by:
getValue in interface Facet

getValues

public String[] getValues()
Specified by:
getValues in interface Facet