public class XMLSimpleType extends Object
Modifier and Type | Field and Description |
---|---|
DatatypeValidator |
datatypeValidator
datatypeValidator
|
static short |
DEFAULT_TYPE_DEFAULT
DEFAULT_TYPE_DEFAULT
|
static short |
DEFAULT_TYPE_FIXED
DEFAULT_TYPE_FIXED
|
static short |
DEFAULT_TYPE_IMPLIED
DEFAULT_TYPE_IMPLIED
|
static short |
DEFAULT_TYPE_REQUIRED
DEFAULT_TYPE_REQUIRED
|
short |
defaultType
defaultType
|
String |
defaultValue
defaultValue
|
String[] |
enumeration
enumeration
|
boolean |
list
list
|
String |
name
name
|
String |
nonNormalizedDefaultValue
non-normalized defaultValue
|
short |
type
type
|
static short |
TYPE_CDATA
TYPE_CDATA
|
static short |
TYPE_ENTITY
TYPE_ENTITY
|
static short |
TYPE_ENUMERATION
TYPE_ENUMERATION
|
static short |
TYPE_ID
TYPE_ID
|
static short |
TYPE_IDREF
TYPE_IDREF
|
static short |
TYPE_NAMED
TYPE_NAMED
|
static short |
TYPE_NMTOKEN
TYPE_NMTOKEN
|
static short |
TYPE_NOTATION
TYPE_NOTATION
|
Constructor and Description |
---|
XMLSimpleType() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
clear
|
void |
setValues(short type,
String name,
String[] enumeration,
boolean list,
short defaultType,
String defaultValue,
String nonNormalizedDefaultValue,
DatatypeValidator datatypeValidator)
setValues
|
void |
setValues(XMLSimpleType simpleType)
Set values.
|
public static final short TYPE_CDATA
public static final short TYPE_ENTITY
public static final short TYPE_ENUMERATION
public static final short TYPE_ID
public static final short TYPE_IDREF
public static final short TYPE_NMTOKEN
public static final short TYPE_NOTATION
public static final short TYPE_NAMED
public static final short DEFAULT_TYPE_DEFAULT
public static final short DEFAULT_TYPE_FIXED
public static final short DEFAULT_TYPE_IMPLIED
public static final short DEFAULT_TYPE_REQUIRED
public short type
public String name
public String[] enumeration
public boolean list
public short defaultType
public String defaultValue
public String nonNormalizedDefaultValue
public DatatypeValidator datatypeValidator
public void setValues(short type, String name, String[] enumeration, boolean list, short defaultType, String defaultValue, String nonNormalizedDefaultValue, DatatypeValidator datatypeValidator)
type
- name
- enumeration
- list
- defaultType
- defaultValue
- nonNormalizedDefaultValue
- datatypeValidator
- public void setValues(XMLSimpleType simpleType)
public void clear()
Copyright © 2021 JBoss by Red Hat. All rights reserved.