net.sf.jaxme.xs.impl
Class XSEnumerationImpl

java.lang.Object
  extended bynet.sf.jaxme.xs.impl.XSObjectImpl
      extended bynet.sf.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 net.sf.jaxme.xs.impl.XSObjectImpl
getLocator, getParentObject, getXsObject, getXSSchema, isTopLevelObject, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.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.

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