org.apache.ws.jaxme.xs

Interface XSEnumeration

All Superinterfaces:
XSObject
Known Subinterfaces:
JAXBEnumeration
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.
String
getValue()
Returns the facets value.

Methods inherited from interface org.apache.ws.jaxme.xs.XSObject

getLocator, getParentObject, getXSSchema, isTopLevelObject, validate

Method Details

getAnnotations

public XSAnnotation[] getAnnotations()
Returns the enumeration facets set of annotations.

getValue

public String getValue()
Returns the facets value.