|
||||||||||
| 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,
Object value,
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. |
String |
getId()
The Schema ID for this simpleType definition. |
SimpleType[] |
getParents()
A simple simpleType when either a List or Restriction ... |
AttributeValue |
toAttribute(Attribute attribute,
Object value,
Map hints)
returns the value as a string |
| Methods inherited from interface 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.
String getId()
The Schema ID for this simpleType definition.
AttributeValue toAttribute(Attribute attribute,
Object value,
Map hints)
throws OperationNotSupportedException
returns the value as a string
attribute - value - hints -
OperationNotSupportedException
boolean canCreateAttributes(Attribute attribute,
Object value,
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 | |||||||||