public interface SimpleType extends Type
| Modifier and Type | Field and Description |
|---|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreateAttributes(Attribute attribute,
Object value,
Map<String,Object> hints) |
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<String,Object> hints)
returns the value as a string
|
canEncode, encode, findChildElement, getInstanceType, getName, getNamespace, getValuestatic final int NONE
static final int UNION
static final int LIST
static final int RESTRICTION
static final int ALL
int getFinal()
String getId()
AttributeValue toAttribute(Attribute attribute, Object value, Map<String,Object> hints) throws OperationNotSupportedException
OperationNotSupportedExceptionboolean canCreateAttributes(Attribute attribute, Object value, Map<String,Object> hints)
int getChildType()
SimpleType[] getParents()
Facet[] getFacets()
Copyright © 1996–2021 Geotools. All rights reserved.