public static class SchemaTypes.SchemaSimpleType extends CommonTypeDefinition implements INamed
Modifier and Type | Field and Description |
---|---|
private QName |
m_qname
Qualified name.
|
private boolean |
m_string
String-derived type flag.
|
s_allowedAttributes
ALL_TYPE, ANNOTATION_TYPE, ANY_TYPE, ANYATTRIBUTE_TYPE, APPINFO_TYPE, ATTRIBUTE_TYPE, ATTRIBUTEGROUP_TYPE, CHOICE_TYPE, COMPLEXCONTENT_TYPE, COMPLEXTYPE_TYPE, DOCUMENTATION_TYPE, ELEMENT_MASKS, ELEMENT_NAMES, ELEMENT_TYPE, ENUMERATION_TYPE, EXTENSION_TYPE, FIELD_TYPE, FRACTIONDIGITS_TYPE, GROUP_TYPE, IMPORT_TYPE, INCLUDE_TYPE, KEY_TYPE, KEYREF_TYPE, LENGTH_TYPE, LIST_TYPE, MAXEXCLUSIVE_TYPE, MAXINCLUSIVE_TYPE, MAXLENGTH_TYPE, MINEXCLUSIVE_TYPE, MININCLUSIVE_TYPE, MINLENGTH_TYPE, NOTATION_TYPE, PATTERN_TYPE, REDEFINE_TYPE, RESTRICTION_TYPE, SCHEMA_TYPE, SELECTOR_TYPE, SEQUENCE_TYPE, SIMPLECONTENT_TYPE, SIMPLETYPE_TYPE, TOTALDIGITS_TYPE, UNION_TYPE, UNIQUE_TYPE, WHITESPACE_TYPE
SCHEMA_NAMESPACE
Modifier | Constructor and Description |
---|---|
protected |
SchemaTypes.SchemaSimpleType(java.lang.String name,
boolean isstring)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get 'name' attribute value.
|
QName |
getQName()
Get qualified name for element.
|
boolean |
isComplexType()
Check if a complex type definition.
|
boolean |
isPredefinedType()
Check if a predefined type definition.
|
boolean |
isString()
Check for schema type derived from string.
|
prevalidate, setName
getAnnotation, getId, setAnnotation, setId
addExtraAttribute, clearExtraAttributes, compactChildren, detachChild, getChild, getChildCount, getChildIterator, getChildrenWritable, getExtraAttributes, preget, replaceChild, validateAttributes
addNamespaceDeclaration, bit, clearNamespaceDeclarations, getExtension, getNamespaceDeclarations, getParent, getSchema, isGlobal, name, preset, readNamespaces, setExtension, setParent, type, validate, validateAttributes, writeNamespaces
private final QName m_qname
private final boolean m_string
protected SchemaTypes.SchemaSimpleType(java.lang.String name, boolean isstring)
name
- schema type local nameisstring
- type derived from string flagpublic boolean isComplexType()
CommonTypeDefinition
isComplexType
in class CommonTypeDefinition
true
if complex type, false
if simple
typepublic boolean isPredefinedType()
CommonTypeDefinition
isPredefinedType
in class CommonTypeDefinition
true
if predefined, false
if user typepublic java.lang.String getName()
getName
in interface INamed
getName
in class CommonTypeDefinition
public QName getQName()
getQName
in interface INamed
getQName
in class CommonTypeDefinition
public boolean isString()
true
if derived from string, false
if not