Package org.geotools.xml.schema
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
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
FieldsModifier and TypeFieldDescriptionstatic final int
Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritancestatic final int
Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritancestatic final int
Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritancestatic final int
Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritancestatic 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 TypeMethodDescriptionboolean
int
Returns an int of either List, Union or RestrictionFacet[]
The list of facets for this Restriction ...int
getFinal()
This specifies a mask which represents how this XML Schema SimpleType may be extended/restricted ... through Schema declared derivations.getId()
The Schema ID for this simpleType definition.A simple simpleType when either a List or Restriction ...returns the value as a stringMethods inherited from interface Type
canEncode, encode, findChildElement, getInstanceType, getName, getNamespace, getValue
-
Field Details
-
NONE
static final int NONERepresents 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 UNIONRepresents 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 LISTRepresents 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 RESTRICTIONRepresents 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 ALLRepresents 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 OperationNotSupportedExceptionreturns the value as a string- Throws:
OperationNotSupportedException
-
canCreateAttributes
-
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)
-