Interface SimpleType

All Superinterfaces:
Type
All Known Implementing Classes:
FilterComplexTypes.SortOrderType, ogcSimpleType, ogcSimpleTypes.CapabilitiesSectionType, ogcSimpleTypes.ExceptionsType, ogcSimpleTypes.FormatType, ogcSimpleTypes.OWSType, SimpleTypeGT, sldSimpleTypes._Service, XSISimpleTypes.AnyType, XSISimpleTypes.AnyURI, XSISimpleTypes.Base64Binary, XSISimpleTypes.Boolean, XSISimpleTypes.Byte, XSISimpleTypes.Date, XSISimpleTypes.DateTime, XSISimpleTypes.Decimal, XSISimpleTypes.Double, XSISimpleTypes.Duration, XSISimpleTypes.ENTITIES, XSISimpleTypes.ENTITY, XSISimpleTypes.Float, XSISimpleTypes.gDay, XSISimpleTypes.gMonth, XSISimpleTypes.gMonthDay, XSISimpleTypes.gYear, XSISimpleTypes.gYearMonth, XSISimpleTypes.HexBinary, XSISimpleTypes.ID, XSISimpleTypes.IDREF, XSISimpleTypes.IDREFS, XSISimpleTypes.Int, XSISimpleTypes.Integer, XSISimpleTypes.Language, XSISimpleTypes.Long, XSISimpleTypes.Name, XSISimpleTypes.NCName, XSISimpleTypes.NegativeInteger, XSISimpleTypes.NMTOKEN, XSISimpleTypes.NMTOKENS, XSISimpleTypes.NonNegativeInteger, XSISimpleTypes.NonPositiveInteger, XSISimpleTypes.NormalizedString, XSISimpleTypes.NOTATION, XSISimpleTypes.PositiveInteger, XSISimpleTypes.QName, XSISimpleTypes.Short, XSISimpleTypes.String, XSISimpleTypes.Time, XSISimpleTypes.Token, XSISimpleTypes.UnsignedByte, XSISimpleTypes.UnsignedInt, XSISimpleTypes.UnsignedLong, XSISimpleTypes.UnsignedShort, XSISimpleTypes.XSISimpleType

public interface SimpleType extends Type
This interface is intended to represent an XML Schema simple type. This interface extends the generic XML schema type interface to represent datum within a single element.
Author:
dzwiers www.refractions.net
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance
    static final int
    Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance
    static final int
    Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance
    static final int
    Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance
    static final int
    Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canCreateAttributes(Attribute attribute, Object value, Map<String,Object> hints)
     
    int
    Returns an int of either List, Union or Restriction
    The list of facets for this Restriction ...
    int
    This specifies a mask which represents how this XML Schema SimpleType may be extended/restricted ... through Schema declared derivations.
    The Schema ID for this simpleType definition.
    A simple simpleType when either a List or Restriction ...
    toAttribute(Attribute attribute, Object value, Map<String,Object> hints)
    returns the value as a string
  • Field Details

    • NONE

      static final int NONE
      Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance
      See Also:
    • UNION

      static final int UNION
      Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance
      See Also:
    • LIST

      static final int LIST
      Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance
      See Also:
    • RESTRICTION

      static final int RESTRICTION
      Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance
      See Also:
    • ALL

      static final int ALL
      Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance
      See Also:
  • Method Details

    • getFinal

      int getFinal()
      This specifies a mask which represents how this XML Schema SimpleType may be extended/restricted ... through Schema declared derivations.
    • getId

      String getId()
      The Schema ID for this simpleType definition.
    • toAttribute

      AttributeValue toAttribute(Attribute attribute, Object value, Map<String,Object> hints) throws OperationNotSupportedException
      returns the value as a string
      Throws:
      OperationNotSupportedException
    • canCreateAttributes

      boolean canCreateAttributes(Attribute attribute, Object value, Map<String,Object> hints)
    • getChildType

      int getChildType()
      Returns an int of either List, Union or Restriction
    • getParents

      SimpleType[] getParents()
      A simple simpleType when either a List or Restriction ... A set when a Union
    • getFacets

      Facet[] getFacets()
      The list of facets for this Restriction ... Null if another type (List, Union)