org.apache.ws.jaxme.xs
Interface XSEnumeration

All Superinterfaces:
XSObject
All Known Subinterfaces:
JAXBEnumeration
All Known Implementing Classes:
JAXBEnumerationImpl, XSEnumerationImpl

public interface XSEnumeration
extends XSObject

Interface of an xs:enumeration facet. This could be a simple string, but it is not unusual, that they carry important information in their xs:annotation/xs:appinfo section, thus the inheritance from XSObject.

Author:
Jochen Wiedmann

Method Summary
 XSAnnotation[] getAnnotations()
          Returns the enumeration facets set of annotations.
 java.lang.String getValue()
          Returns the facets value.
 
Methods inherited from interface org.apache.ws.jaxme.xs.XSObject
getLocator, getParentObject, getXSSchema, isTopLevelObject, validate
 

Method Detail

getAnnotations

XSAnnotation[] getAnnotations()

Returns the enumeration facets set of annotations.


getValue

java.lang.String getValue()

Returns the facets value.