org.apache.ws.jaxme.xs.impl
Class XSEnumerationImpl

java.lang.Object
  extended by org.apache.ws.jaxme.xs.impl.XSObjectImpl
      extended by org.apache.ws.jaxme.xs.impl.XSEnumerationImpl
All Implemented Interfaces:
XSEnumeration, XSObject
Direct Known 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.
 java.lang.String getValue()
          Returns the facets value.
 
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSObjectImpl
getLocator, getParentObject, getXsObject, getXSSchema, isTopLevelObject, validate, validateAllIn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.xs.XSObject
getLocator, getParentObject, getXSSchema, isTopLevelObject, validate
 

Constructor Detail

XSEnumerationImpl

public XSEnumerationImpl(XSObject pParent,
                         XsEEnumeration pBaseEnumeration)
                  throws org.xml.sax.SAXException

Creates a new instance of XSEnumerationImpl.java.

Throws:
org.xml.sax.SAXException
Method Detail

getValue

public java.lang.String getValue()
Description copied from interface: XSEnumeration

Returns the facets value.

Specified by:
getValue in interface XSEnumeration

getAnnotations

public XSAnnotation[] getAnnotations()
Description copied from interface: XSEnumeration

Returns the enumeration facets set of annotations.

Specified by:
getAnnotations in interface XSEnumeration