|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Field Summary | |
static int |
ALL
Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance |
static int |
LIST
Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance |
static int |
NONE
Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance |
static int |
RESTRICTION
Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance |
static int |
UNION
Represents a masks used to represent how this simpleType may or may not be changed though the use of inheritance |
Method Summary | |
boolean |
canCreateAttributes(Attribute attribute,
java.lang.Object value,
java.util.Map hints)
DOCUMENT ME! |
int |
getChildType()
Returns an int of either List, Union or Restriction |
Facet[] |
getFacets()
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. |
java.lang.String |
getId()
The Schema ID for this simpleType definition. |
SimpleType[] |
getParents()
A simple simpleType when either a List or Restriction ... |
AttributeValue |
toAttribute(Attribute attribute,
java.lang.Object value,
java.util.Map hints)
returns the value as a string |
Methods inherited from interface org.geotools.xml.schema.Type |
canEncode, encode, findChildElement, getInstanceType, getName, getNamespace, getValue |
Field Detail |
public static final int NONE
public static final int UNION
public static final int LIST
public static final int RESTRICTION
public static final int ALL
Method Detail |
public int getFinal()
This specifies a mask which represents how this XML Schema SimpleType may be extended/restricted ... through Schema declared derivations.
public java.lang.String getId()
The Schema ID for this simpleType definition.
public AttributeValue toAttribute(Attribute attribute, java.lang.Object value, java.util.Map hints) throws javax.naming.OperationNotSupportedException
returns the value as a string
attribute
- value
- hints
-
javax.naming.OperationNotSupportedException
public boolean canCreateAttributes(Attribute attribute, java.lang.Object value, java.util.Map hints)
attribute
- DOCUMENT ME!value
- DOCUMENT ME!hints
- DOCUMENT ME!
public int getChildType()
public SimpleType[] getParents()
public Facet[] getFacets()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |