public class SchemaElementSimple extends Object implements SchemaElement, Serializable
Constructor and Description |
---|
SchemaElementSimple(String name,
String namespace,
short type,
String typeName,
boolean isArray,
Integer fractionDigits)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getFractionDigits()
Returns the fraction digits if defined.
|
String |
getName()
Returns element name.
|
String |
getNamespace()
Returns the namespace.
|
String |
getTypeName()
Returns the type name.
|
short |
getXsSimpleType()
Returns type.
|
boolean |
isArray()
Returns true for unbounded or max>1
|
String |
toString() |
public SchemaElementSimple(String name, String namespace, short type, String typeName, boolean isArray, Integer fractionDigits)
name
- namenamespace
- namespacetype
- is the simple element typeisArray
- if unboundtypeName
- name of typefractionDigits
- fraction digits if definedpublic String getName()
getName
in interface SchemaElement
public short getXsSimpleType()
public String getNamespace()
SchemaElement
getNamespace
in interface SchemaElement
public boolean isArray()
SchemaElement
isArray
in interface SchemaElement
public String getTypeName()
public Integer getFractionDigits()