org.exolab.castor.xml.schema

Class SchemaNames

public class SchemaNames extends Object

A class which holds the names for many of the Schema related components.

Version: $Revision: 1.2 $ $Date: 2003/11/19 07:20:51 $

Author: Keith Visco

Field Summary
static StringABSTRACT
static StringALL
static StringANNOTATION
static StringANY
static StringANYTYPE
static StringANY_ATTRIBUTE
static StringAPPINFO
static StringATTRIBUTE
static StringATTRIBUTE_GROUP
static StringATTR_FORM_DEFAULT_ATTR
static StringBASE_ATTR
static StringBLOCK_ATTR
static StringBLOCK_DEFAULT_ATTR
static StringCHOICE
static StringCOMPLEX_CONTENT
static StringCOMPLEX_TYPE
static StringDEFAULT_ATTR
static StringDOCUMENTATION
static StringELEMENT
static StringELEM_FORM_DEFAULT_ATTR
static StringENUMERATION
static StringEXTENSION
static StringFIELD
static StringFINAL_ATTR
static StringFINAL_DEFAULT_ATTR
static StringFIXED_ATTR
static StringFORM
static StringGROUP
static StringID_ATTR
static StringIMPORT
static StringINCLUDE
static StringINTEGER_TYPE
static StringINT_TYPE
static StringITEM_TYPE_ATTR
static StringKEY
static StringKEYREF
static StringLAX
static StringLIST
static StringMAX_EXCLUSIVE
static StringMAX_INCLUSIVE
static StringMAX_OCCURS_ATTR
static StringMEMBER_TYPES_ATTR
static StringMIN_EXCLUSIVE
static StringMIN_INCLUSIVE
static StringMIN_OCCURS_ATTR
static StringMIXED
static StringNAMESPACE
static StringNAMESPACE_ANY
static StringNAMESPACE_LOCAL
static StringNAMESPACE_OTHER
static StringNAMESPACE_TARGET
static StringNAME_ATTR
static StringNILLABLE_ATTR
static StringORDER_ATTR
static StringPROCESS_CONTENTS
static StringREDEFINE
static StringREFER_ATTR
static StringREF_ATTR
static StringRESTRICTION
static StringSCHEMA
static StringSCHEMALOCATION_ATTR
static StringSCHEMA_PACKAGE
static StringSELECTOR
static StringSEQUENCE
static StringSIMPLETYPE_REF
static StringSIMPLE_CONTENT
static StringSIMPLE_TYPE
static StringSKIP
static StringSOURCE_ATTR
static StringSTRICT
static StringSTRING_TYPE
static StringSUBSTITUTION_GROUP_ATTR
static StringTARGET_NS_ATTR
static StringTYPE_ATTR
static StringUNION
static StringUNIQUE
static StringUSE_ATTR
static StringVALUE_ATTR
static StringVERSION_ATTR
static StringWILDCARD
static StringXPATH_ATTR
Method Summary
static StringgetStructureName(Structure structure)
Returns the name for the Schema Structure.
static booleanisGroupName(String name)
Determines whether or not the given name is the name of an XML Schema group structure.
static booleanisNamespaceName(String name)
Determines whether or not the given name is the name of an XML Schema namespace attributes.
static booleanisProcessName(String name)
Determines whether or not the given name is the name of an XML Schema Wildcard processContents attribute.

Field Detail

ABSTRACT

public static final String ABSTRACT

ALL

public static final String ALL

ANNOTATION

public static final String ANNOTATION

ANY

public static final String ANY

ANYTYPE

public static final String ANYTYPE

ANY_ATTRIBUTE

public static final String ANY_ATTRIBUTE

APPINFO

public static final String APPINFO

ATTRIBUTE

public static final String ATTRIBUTE

ATTRIBUTE_GROUP

public static final String ATTRIBUTE_GROUP

ATTR_FORM_DEFAULT_ATTR

public static final String ATTR_FORM_DEFAULT_ATTR

BASE_ATTR

public static final String BASE_ATTR

BLOCK_ATTR

public static final String BLOCK_ATTR

BLOCK_DEFAULT_ATTR

public static final String BLOCK_DEFAULT_ATTR

CHOICE

public static final String CHOICE

COMPLEX_CONTENT

public static final String COMPLEX_CONTENT

COMPLEX_TYPE

public static final String COMPLEX_TYPE

DEFAULT_ATTR

public static final String DEFAULT_ATTR

DOCUMENTATION

public static final String DOCUMENTATION

ELEMENT

public static final String ELEMENT

ELEM_FORM_DEFAULT_ATTR

public static final String ELEM_FORM_DEFAULT_ATTR

ENUMERATION

public static final String ENUMERATION

EXTENSION

public static final String EXTENSION

FIELD

public static final String FIELD

FINAL_ATTR

public static final String FINAL_ATTR

FINAL_DEFAULT_ATTR

public static final String FINAL_DEFAULT_ATTR

FIXED_ATTR

public static final String FIXED_ATTR

FORM

public static final String FORM

GROUP

public static final String GROUP

ID_ATTR

public static final String ID_ATTR

IMPORT

public static final String IMPORT

INCLUDE

public static final String INCLUDE

INTEGER_TYPE

public static final String INTEGER_TYPE

INT_TYPE

public static final String INT_TYPE

ITEM_TYPE_ATTR

public static final String ITEM_TYPE_ATTR

KEY

public static final String KEY

KEYREF

public static final String KEYREF

LAX

public static final String LAX

LIST

public static final String LIST

MAX_EXCLUSIVE

public static final String MAX_EXCLUSIVE

MAX_INCLUSIVE

public static final String MAX_INCLUSIVE

MAX_OCCURS_ATTR

public static final String MAX_OCCURS_ATTR

MEMBER_TYPES_ATTR

public static final String MEMBER_TYPES_ATTR

MIN_EXCLUSIVE

public static final String MIN_EXCLUSIVE

MIN_INCLUSIVE

public static final String MIN_INCLUSIVE

MIN_OCCURS_ATTR

public static final String MIN_OCCURS_ATTR

MIXED

public static final String MIXED

NAMESPACE

public static final String NAMESPACE

NAMESPACE_ANY

public static final String NAMESPACE_ANY

NAMESPACE_LOCAL

public static final String NAMESPACE_LOCAL

NAMESPACE_OTHER

public static final String NAMESPACE_OTHER

NAMESPACE_TARGET

public static final String NAMESPACE_TARGET

NAME_ATTR

public static final String NAME_ATTR

NILLABLE_ATTR

public static final String NILLABLE_ATTR

ORDER_ATTR

public static final String ORDER_ATTR

PROCESS_CONTENTS

public static final String PROCESS_CONTENTS

REDEFINE

public static final String REDEFINE

REFER_ATTR

public static final String REFER_ATTR

REF_ATTR

public static final String REF_ATTR

RESTRICTION

public static final String RESTRICTION

SCHEMA

public static final String SCHEMA

SCHEMALOCATION_ATTR

public static final String SCHEMALOCATION_ATTR

SCHEMA_PACKAGE

public static final String SCHEMA_PACKAGE

SELECTOR

public static final String SELECTOR

SEQUENCE

public static final String SEQUENCE

SIMPLETYPE_REF

public static final String SIMPLETYPE_REF

SIMPLE_CONTENT

public static final String SIMPLE_CONTENT

SIMPLE_TYPE

public static final String SIMPLE_TYPE

public static final String SKIP

SOURCE_ATTR

public static final String SOURCE_ATTR

STRICT

public static final String STRICT

STRING_TYPE

public static final String STRING_TYPE

SUBSTITUTION_GROUP_ATTR

public static final String SUBSTITUTION_GROUP_ATTR

TARGET_NS_ATTR

public static final String TARGET_NS_ATTR

TYPE_ATTR

public static final String TYPE_ATTR

UNION

public static final String UNION

UNIQUE

public static final String UNIQUE

USE_ATTR

public static final String USE_ATTR

VALUE_ATTR

public static final String VALUE_ATTR

VERSION_ATTR

public static final String VERSION_ATTR

WILDCARD

public static final String WILDCARD

XPATH_ATTR

public static final String XPATH_ATTR

Method Detail

getStructureName

public static String getStructureName(Structure structure)
Returns the name for the Schema Structure.

Parameters: structure the Structure to return the name for

Returns: the Structure name

isGroupName

public static boolean isGroupName(String name)
Determines whether or not the given name is the name of an XML Schema group structure.

Parameters: name the name to test

Returns: true if the given name is the name of a schema group

isNamespaceName

public static boolean isNamespaceName(String name)
Determines whether or not the given name is the name of an XML Schema namespace attributes. Note: it assumes that the URI used are valid URL

Parameters: name the name to test

Returns: true if the given name is the name of a schema group

UNKNOWN: change the above restriction

isProcessName

public static boolean isProcessName(String name)
Determines whether or not the given name is the name of an XML Schema Wildcard processContents attribute.

Parameters: name the name to test

Returns: true if the given name is a valid name of a processContents attribute

Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com