simpleType enum-type

simpleType {http://java.sun.com/xml/ns/persistence/orm}enum-type

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}string (by restriction)
 {http://www.w3.org/2001/XMLSchema}normalizedString (by restriction)
  {http://www.w3.org/2001/XMLSchema}token (by restriction)
   {http://java.sun.com/xml/ns/persistence/orm}enum-type
Derived Types
{http://java.sun.com/xml/ns/persistence/orm}enum-type
 {http://java.sun.com/xml/ns/persistence/orm}enumerated (by restriction)
Target Namespacehttp://java.sun.com/xml/ns/persistence/orm
Declared Namespacesxmlns:orm=http://java.sun.com/xml/ns/persistence/orm
xmlns:xsd=http://www.w3.org/2001/XMLSchema


Source

<xsd:simpleType name="enum-type">
    <
xsd:annotation>
        <
xsd:documentation>
public enum EnumType {
ORDINAL,
STRING
}
        
</xsd:documentation>
    </
xsd:annotation>
    <
xsd:restriction base="xsd:token">
        <
xsd:enumeration value="ORDINAL"/>
        <
xsd:enumeration value="STRING"/>
    </
xsd:restriction>
</
xsd:simpleType>


Documentation

public enum EnumType {
  ORDINAL,
  STRING
}


simpleType enum-type


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.