|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimpleType
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 ... |
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 |
---|
static final int NONE
static final int UNION
static final int LIST
static final int RESTRICTION
static final int ALL
Method Detail |
---|
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.
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
boolean canCreateAttributes(Attribute attribute, java.lang.Object value, java.util.Map hints)
attribute
- DOCUMENT ME!value
- DOCUMENT ME!hints
- DOCUMENT ME!int getChildType()
SimpleType[] getParents()
Facet[] getFacets()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |