org.apache.ws.jaxme.xs.impl

Class XSEnumerationImpl

Implemented Interfaces:
XSEnumeration, XSObject
Known Direct Subclasses:
JAXBEnumerationImpl

public class XSEnumerationImpl
extends XSObjectImpl
implements XSEnumeration

Implementation of an xs:enumeration facet, as specified by XSEnumeration.
Author:
Jochen Wiedmann

Constructor Summary

XSEnumerationImpl(XSObject pParent, XsEEnumeration pBaseEnumeration)
Creates a new instance of XSEnumerationImpl.java.

Method Summary

XSAnnotation[]
getAnnotations()
Returns the enumeration facets set of annotations.
String
getValue()
Returns the facets value.

Methods inherited from class org.apache.ws.jaxme.xs.impl.XSObjectImpl

getLocator, getParentObject, getXSSchema, getXsObject, isTopLevelObject, validate, validateAllIn

Constructor Details

XSEnumerationImpl

public XSEnumerationImpl(XSObject pParent,
                         XsEEnumeration pBaseEnumeration)
            throws SAXException
Creates a new instance of XSEnumerationImpl.java.

Method Details

getAnnotations

public XSAnnotation[] getAnnotations()
Returns the enumeration facets set of annotations.
Specified by:
getAnnotations in interface XSEnumeration

getValue

public String getValue()
Returns the facets value.
Specified by:
getValue in interface XSEnumeration