com.jaxfront.core.type
Class SimpleType

java.lang.Object
  extended by com.jaxfront.core.type.AbstractType
      extended by com.jaxfront.core.type.SimpleType
All Implemented Interfaces:
DOMChangeListener, QName, Type, XUITypes, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener

public class SimpleType
extends AbstractType

This class represents a SimpleType which is a always a leaf node of the under- lying XML Schema. A SimpleType never holds any other child types.

Version:
1.60
See Also:
Serialized Form

Field Summary
static java.lang.String EMPTY_STRING
           
static java.lang.String SIMPLE_CONTENT_TEXT
           
 
Fields inherited from class com.jaxfront.core.type.AbstractType
_needXUIMaintain, FIELD_ADD, FIELD_LIST_CLOSE_BRACKET, FIELD_LIST_IDENTIFIER, FIELD_LIST_OPEN_BRACKET, FIELD_SLASH, indentChars, MISSING_TYPES_CREATED, PROPERTY_USER_CHANGED_SERIALIZE, TAB_HOLDER
 
Fields inherited from interface com.jaxfront.core.type.Type
ComplexGroup, ComplexGroupList, CompositeType, DummyType, EmptyType, GroupType, ListType, NONE, SimpleGroup, SimpleGroupList, SimpleType, SimpleTypeList, VirtualType
 
Fields inherited from interface com.jaxfront.core.xui.XUITypes
CSS_STYLE_NO_GRADIENT, DEBUG_MODUS, DOM_DERIVATION_NAME_RESOLVER, PRINT_FOOTER_TEXT, PRINT_INTERACTIVE_ELEMENTS, SWT_SHELL, TEMPORARY, UIS_ATT_ALLOW_CONTEXT_NAVIGATION, UIS_ATT_ALLOW_REORDERING, UIS_ATT_ALLOW_SAVING_WITH_ERRORS, UIS_ATT_ALLOW_SORTING, UIS_ATT_ALWAYS, UIS_ATT_APPLICATION_REQUIRED_FIELD_COLOR, UIS_ATT_APPLY_CAPTION_INDENT_ON, UIS_ATT_APPLY_CAPTION_INDENT_ON_BOTH, UIS_ATT_APPLY_CAPTION_INDENT_ON_COMPONENT, UIS_ATT_APPLY_CAPTION_INDENT_ON_LABEL, UIS_ATT_AUTOCREATE_MAXOCCUR_LISTITEMS, UIS_ATT_AUTOCREATE_MINOCCUR_LISTITEMS, UIS_ATT_BACK_LINK, UIS_ATT_BOOLEAN_DEFAULT_OPTION, UIS_ATT_BOOLEAN_VISUALIZER_BUTTON_SEQUENCE, UIS_ATT_BOOLEAN_VISUALIZER_TYPE, UIS_ATT_BOTTOM, UIS_ATT_BOTTOMSPACE_COMPONENT, UIS_ATT_BOTTOMSPACE_HEADER, UIS_ATT_BOTTOMSPACE_SEPARATOR_CLASSIC, UIS_ATT_BOTTOMSPACE_SEPARATOR_MODERN, UIS_ATT_BOTTOMSPACE_TABS, UIS_ATT_BUTTON_NAME, UIS_ATT_CAPTION_BORDER_COLLAPSED, UIS_ATT_CAPTION_BORDER_STYLE, UIS_ATT_CAPTION_HEADER_IMAGE, UIS_ATT_CAPTION_INDENT_NESTED, UIS_ATT_CAPTION_INDENT_VALUE, UIS_ATT_CAPTION_SEPARATOR_CLASSIC, UIS_ATT_CAPTION_SEPARATOR_MODERN, UIS_ATT_CAPTION_SEPARATOR_STYLE, UIS_ATT_CELL_FOCUSINDEX, UIS_ATT_CELL_RENDERER_CLASS, UIS_ATT_CELL_RULEREF, UIS_ATT_CELL_SEPARATOR_CLASSIC, UIS_ATT_CELL_SEPARATOR_LABEL_MULTI_LINE, UIS_ATT_CELL_SEPARATOR_MODERN, UIS_ATT_CELL_TYPE_LABEL_MULTI_LINE, UIS_ATT_CHOICE_DEFAULT_SELECTION, UIS_ATT_CLASS, UIS_ATT_CLASS_NAME, UIS_ATT_CLASSIFICATION_TOOL_TIP, UIS_ATT_CODESET, UIS_ATT_COLLAPSE_OPTIONAL_BORDERS, UIS_ATT_COLUMN_HEADER_XPATH_STRATEGY, UIS_ATT_COLUMN_WIDTH, UIS_ATT_COMPONENT_COLUMN_WIDTH, UIS_ATT_DATA_URL, UIS_ATT_DATE_MODE, UIS_ATT_DEFAULT_TREE_ENTRY_FOR_HEADERS, UIS_ATT_DELETION_CONFIRMATION_MESSAGE, UIS_ATT_DIALOG_BOUNDS, UIS_ATT_DIALOG_BUTTON_SEQUENCE, UIS_ATT_DIALOG_BUTTON_SEQUENCE_ALIGNMENT_LEFT, UIS_ATT_DIALOG_BUTTON_SEQUENCE_ALIGNMENT_RIGHT, UIS_ATT_DIMENSION, UIS_ATT_DIRECTION, UIS_ATT_DIVIDER_LOCATION, UIS_ATT_DOES_CONCERN_NONESERIALIZABLE_SOURCE, UIS_ATT_DOES_CONCERN_ONLY_VISIBLE_SOURCE, UIS_ATT_EDITABLE, UIS_ATT_EDITOR_ALWAYS_VISIBLE, UIS_ATT_ENABLED, UIS_ATT_ERROR_ALTERNATIVE_ERROR_MARKER, UIS_ATT_ERROR_MARKING_COLOR, UIS_ATT_EXECUTION_MODE, UIS_ATT_FILTER, UIS_ATT_FORMAT_DATE, UIS_ATT_FORMAT_DATETIME, UIS_ATT_FORMAT_DECIMAL, UIS_ATT_FORMAT_TIME, UIS_ATT_GLOBAL_BOTTOM_INDENT, UIS_ATT_GLOBAL_CAPTION_ALLOW_COPY_PASTE, UIS_ATT_GLOBAL_CAPTION_HIDE_ONLYONE_VISIBLE_CHILD, UIS_ATT_GLOBAL_CAPTION_HIDE_UNNAMED, UIS_ATT_GLOBAL_CAPTION_INDENT, UIS_ATT_GLOBAL_CAPTION_TYPE, UIS_ATT_GLOBAL_CAPTION_TYPE_BORDER, UIS_ATT_GLOBAL_CAPTION_TYPE_HEADER, UIS_ATT_GLOBAL_CAPTION_TYPE_SEPARATOR_CLASSIC, UIS_ATT_GLOBAL_CAPTION_TYPE_SEPARATOR_HORIZONTAL, UIS_ATT_GLOBAL_CAPTION_TYPE_SEPARATOR_MODERN, UIS_ATT_GLOBAL_CAPTION_TYPE_SEPARATOR_VERTICAL, UIS_ATT_GLOBAL_CHOICE_DEFVAL_POSTFIX, UIS_ATT_GLOBAL_CHOICE_DEFVAL_PREFIX, UIS_ATT_GLOBAL_CHOICE_ORIENTATION, UIS_ATT_GLOBAL_CHOICE_ORIENTATION_HORIZONTAL, UIS_ATT_GLOBAL_CHOICE_ORIENTATION_VERTICAL, UIS_ATT_GLOBAL_CHOICE_TYPE, UIS_ATT_GLOBAL_CHOICE_TYPE_COMBOBOX, UIS_ATT_GLOBAL_CHOICE_TYPE_RADIOBUTTONS, UIS_ATT_GLOBAL_CODESET_URL, UIS_ATT_GLOBAL_COMPONENT_INDENT, UIS_ATT_GLOBAL_ENUMERATION_ORIENTATION, UIS_ATT_GLOBAL_ENUMERATION_ORIENTATION_HORIZONTAL, UIS_ATT_GLOBAL_ENUMERATION_ORIENTATION_VERTICAL, UIS_ATT_GLOBAL_ENUMERATION_TYPE, UIS_ATT_GLOBAL_ENUMERATION_TYPE_COMBOBOX, UIS_ATT_GLOBAL_ENUMERATION_TYPE_RADIOBUTTONS, UIS_ATT_GLOBAL_LABEL_INDENT, UIS_ATT_GLOBAL_LEFT_INDENT, UIS_ATT_GLOBAL_NESTED_INDENT, UIS_ATT_GLOBAL_RIGHT_INDENT, UIS_ATT_GLOBAL_TOP_INDENT, UIS_ATT_GLOBAL_TREELIST_ENDING, UIS_ATT_GLOBAL_VISIBLE_ROW_COUNT, UIS_ATT_HEADER_END_COLOR, UIS_ATT_HEADER_START_COLOR, UIS_ATT_HEADER_TEXT_COLOR, UIS_ATT_HEIGHT, UIS_ATT_HELP_LANGUAGE, UIS_ATT_HELP_LINK, UIS_ATT_HIDE_EDITOR_PANEL, UIS_ATT_HINT_COLOR, UIS_ATT_HINT_ISBOLD, UIS_ATT_HINT_ISFORMULA, UIS_ATT_HINT_TEXT, UIS_ATT_HORIZONTAL_SCROLLBAR_POLICY, UIS_ATT_ID, UIS_ATT_IDREF, UIS_ATT_INCLUDE_ONLY_SERIALIZALBE_NODES, UIS_ATT_INITIAL_EXPAND_DEPTH, UIS_ATT_INNERBOTTOMSPACE_BORDER, UIS_ATT_IS_SELECTOR, UIS_ATT_IS_TABLE_FLIPPABLE_ON_THE_FLY, UIS_ATT_ISXPATH, UIS_ATT_KEY_CONTEXT_DIALOG_CANCEL_BUTTON_ALIGNMENT, UIS_ATT_KEY_CONTEXT_DIALOG_LOCATION, UIS_ATT_KEY_CONTEXT_DIALOG_OK_BUTTON_ALIGNMENT, UIS_ATT_KEY_CONTEXT_DIALOG_OK_BUTTON_POSITION, UIS_ATT_KEY_CONTEXT_DIALOG_SIZE, UIS_ATT_KEY_ID, UIS_ATT_LABEL, UIS_ATT_LABEL_COLUMN_WIDTH, UIS_ATT_LABEL_CSS_STYLE, UIS_ATT_LABEL_FONT_COLOR, UIS_ATT_LABEL_FONT_NAME, UIS_ATT_LABEL_FONT_SIZE, UIS_ATT_LABEL_FONT_STYLE, UIS_ATT_LABEL_INDENT_SPACE, UIS_ATT_LABEL_SHOW, UIS_ATT_LABEL_TYPE, UIS_ATT_LABELPOSTION_CENTER, UIS_ATT_LABELPOSTION_NORTH, UIS_ATT_LABELPOSTION_SOUTH, UIS_ATT_LABELSPACE, UIS_ATT_LANGUAGE, UIS_ATT_LEAF_COMPONENT_BOOLEAN_VISUALIZER, UIS_ATT_LEAF_COMPONENT_CHECK_BOX, UIS_ATT_LEAF_COMPONENT_COLUMN_WIDTH, UIS_ATT_LEAF_COMPONENT_INDENT, UIS_ATT_LEAF_COMPONENT_MULTILINE, UIS_ATT_LEAF_COMPONENT_RADIO_BUTTON, UIS_ATT_LEAF_COMPONENT_RADIO_BUTTON_UNSELECTED, UIS_ATT_LEAF_COMPONENT_SHOW_BACKLINKBUTTON, UIS_ATT_LEAF_COMPONENT_SHOW_DETAILSBUTTON, UIS_ATT_LEAF_COMPONENT_SHOW_NEWBUTTON, UIS_ATT_LEAF_COMPONENT_SINGLE_DEFAULT_VALUE, UIS_ATT_LEAF_COMPONENT_SIZE, UIS_ATT_LEAF_COMPONENT_TIME_FORMAT, UIS_ATT_LEAF_COMPONENT_USEGROUPINGDELIM, UIS_ATT_LEAF_COMPONENT_VISIBLE, UIS_ATT_LEAF_HREF, UIS_ATT_LEAF_LABEL_COLUMN_WIDTH, UIS_ATT_LEAF_LABEL_ICON, UIS_ATT_LEAF_LABEL_ICON_POSITION, UIS_ATT_LEAF_LABEL_INDENT, UIS_ATT_LEAF_LABEL_MULTILINE, UIS_ATT_LEAF_LABEL_USE_UNDERLINE, UIS_ATT_LEAF_LABEL_VISIBLE, UIS_ATT_LEAF_SIZE, UIS_ATT_LEAF_VALUE_ENUMERATION_CODESET_ALLOW_INVALID_CODES, UIS_ATT_LEAF_VALUE_ENUMERATION_CODESET_NAME, UIS_ATT_LEAF_VALUE_ENUMERATION_CODESET_SHOW_ERROR_FOR_INVALID_CODE, UIS_ATT_LEAF_VALUE_ENUMERATION_DEFAULT_SELECTION, UIS_ATT_LEAF_VALUE_SERIALIZE_CONTENT_CDATA, UIS_ATT_LEAF_VALUE_UIS_ATT_LEAF_VALUE_DATATYPE, UIS_ATT_LEFT, UIS_ATT_LOG_LEVEL, UIS_ATT_LOG_SCOPE, UIS_ATT_MANDATORY_EXPRESSION, UIS_ATT_MARGIN, UIS_ATT_MAX_LENGTH_STRING, UIS_ATT_MAX_LENGTH_STRING_MULTILINE, UIS_ATT_METHODNAME, UIS_ATT_MIN_WORKSPACE_WIDTH, UIS_ATT_MODE_CHILDREN_VIEW, UIS_ATT_MODE_DISPLAY_VALUE, UIS_ATT_MODE_EDITABLE, UIS_ATT_MODE_ISREQUIRED, UIS_ATT_MODE_LABELPOSITION, UIS_ATT_MODE_MULTILINE, UIS_ATT_MODE_SERIALIZE, UIS_ATT_MODE_VIEW_HOLDER, UIS_ATT_MODE_VIEW_HOLDER_APPLY_ON_DIRECT_DESCENDANTS, UIS_ATT_NAME, UIS_ATT_NODE_LOCATION, UIS_ATT_OCCURRENCE_VISIBILITY_DEPENDS_ON_XPATH, UIS_ATT_OPERATOR, UIS_ATT_OPTIONAL, UIS_ATT_OPTIONAL_FIELD_COLOR, UIS_ATT_ORIENTATION, UIS_ATT_OUTERBOTTOMSPACE_BORDER, UIS_ATT_PAGESIZE, UIS_ATT_POS, UIS_ATT_POSITION, UIS_ATT_PRINTING_CHOICE_AS_HEADER, UIS_ATT_PRINTING_LIST_PRINT_MODE, UIS_ATT_PRINTING_LIST_PRINT_MODE_SERIAL, UIS_ATT_PRINTING_LIST_PRINT_MODE_TABLE, UIS_ATT_PRINTING_LIST_PRINT_MODE_TABLE_AND_SERIAL, UIS_ATT_PRINTING_PRINTABLE, UIS_ATT_PRINTING_PRINTABLE_ALWAYS, UIS_ATT_PRINTING_PRINTABLE_IFSERIALIZABLE, UIS_ATT_PRINTING_PRINTABLE_IFVISIBLE, UIS_ATT_PRINTING_PRINTABLE_IFVISIBLE_ANDSERIALIZABLE, UIS_ATT_PRINTING_PRINTABLE_NEVER, UIS_ATT_PRIORITY, UIS_ATT_QUERY, UIS_ATT_READONLY, UIS_ATT_REF, UIS_ATT_RIGHT, UIS_ATT_SCHEMA_REQUIRED_FIELD_COLOR, UIS_ATT_SCHEMA_URL, UIS_ATT_SCOPE, UIS_ATT_SCREEN_SIZE, UIS_ATT_SELECTION, UIS_ATT_SELECTION_MODE, UIS_ATT_SELECTION_ONLY, UIS_ATT_SERIALIZE_ATTRIBUTES, UIS_ATT_SERIALIZE_DEFAULTS, UIS_ATT_SERIALIZE_EMPTY_MANDATORY_CONTENT, UIS_ATT_SERIALIZE_SIMPLE_DEFAULT_NULL_VALUE, UIS_ATT_SHOW_ATTRIBUTES, UIS_ATT_SHOW_BUTTONS, UIS_ATT_SHOW_COPY_BUTTON, UIS_ATT_SHOW_DELETE_BUTTON, UIS_ATT_SHOW_EDIT_BUTTON, UIS_ATT_SHOW_ERROR, UIS_ATT_SHOW_FIXEDVALUE, UIS_ATT_SHOW_HELP_PANEL, UIS_ATT_SHOW_NEW_BUTTON, UIS_ATT_SHOW_ONLY_MANDATORY_ELEMENTS, UIS_ATT_SHOW_OPTIONALBORDER_CONTROL, UIS_ATT_SHOW_SEQUENCE_NUMBERING, UIS_ATT_SHOW_TREE, UIS_ATT_SHOW_TREELIST_CONTAINER, UIS_ATT_SINGLECHOICE_AND_SERIALIZE, UIS_ATT_SORT, UIS_ATT_SPACE, UIS_ATT_STARTUP_SELECTION, UIS_ATT_STRING, UIS_ATT_SYSTEM_EXIT_ONCLOSE, UIS_ATT_TABLE_MODEL_CLASS, UIS_ATT_TABLE_POSITION, UIS_ATT_TABLE_VISIBILITY, UIS_ATT_TARGET, UIS_ATT_TEXT_MODULE, UIS_ATT_TEXT_TYPE_BARCODE, UIS_ATT_TEXT_TYPE_FORMULA, UIS_ATT_TEXT_TYPE_HEADER, UIS_ATT_TEXT_TYPE_IMAGE, UIS_ATT_TEXT_TYPE_LABEL, UIS_ATT_TEXT_TYPE_SEPERATOR, UIS_ATT_TOP, UIS_ATT_TOPSPACE_BORDER, UIS_ATT_TOPSPACE_COMPONENT, UIS_ATT_TOPSPACE_HEADER, UIS_ATT_TOPSPACE_SEPARATOR_CLASSIC, UIS_ATT_TOPSPACE_SEPARATOR_MODERN, UIS_ATT_TOPSPACE_TABS, UIS_ATT_TREE_ENTRY_ISFOCUSABLE, UIS_ATT_TREE_ENTRY_SHOW_AS_OPTIONAL, UIS_ATT_TREE_ENTRY_SHOW_CHILDS_OPTIONAL, UIS_ATT_TREE_ROOT, UIS_ATT_TREE_SELECTION, UIS_ATT_TRIGGER, UIS_ATT_TYPE, UIS_ATT_UIS_URL, UIS_ATT_UNIQUE_LIST_ITEM_ID_PATH, UIS_ATT_URL, UIS_ATT_USE_ACTION_TARGET_ASBASE, UIS_ATT_USE_BACKWARD_BUTTON, UIS_ATT_USE_BUTTON_BAR, UIS_ATT_USE_CHRON_ERROR_SEQUENCE, UIS_ATT_USE_DELETION_CONFIRMATION, UIS_ATT_USE_ERROR_SOUND, UIS_ATT_USE_FORWARD_BUTTON, UIS_ATT_USE_INVERSE, UIS_ATT_USE_NAVIGATION_KEYS, UIS_ATT_USE_OPTIONAL_CHECKBOX, UIS_ATT_USE_PLUGINS, UIS_ATT_USE_SEPARATOR, UIS_ATT_USE_STATUS_BAR, UIS_ATT_USE_ZEBRA_LOOK, UIS_ATT_USEANNOTATION_HELP, UIS_ATT_USEANNOTATION_INTOOLTIP, UIS_ATT_USERMODIFIEDSERIALIZATION, UIS_ATT_VALIDATE_EMPTY_MANDATORY_CONTENT, UIS_ATT_VALIDATION_ERROR_MESSAGE, UIS_ATT_VALUE, UIS_ATT_VERSION_NO, UIS_ATT_VERTICAL_SCROLLBAR_POLICY, UIS_ATT_VISIBLE, UIS_ATT_VISIBLE_ROW_COUNT, UIS_ATT_WIDTH, UIS_ATT_XPATH, UIS_CHILDREN_VIEW_SEPARATOR_CLASSIC, UIS_CHILDREN_VIEW_SEPARATOR_MODERN, UIS_CHILDREN_VIEW_SEPARATOR_VERTICAL, UIS_CHILDREN_VIEW_SERIAL, UIS_CHILDREN_VIEW_TAB, UIS_DIRECTION_AS_COLUMN, UIS_DIRECTION_AS_ROW, UIS_EDIT_STEPS_UNBOUND, UIS_ELT_ACTION, UIS_ELT_AREA, UIS_ELT_BEHAVIOUR, UIS_ELT_BUTTON_TYPE_ACTION, UIS_ELT_BUTTON_TYPE_CLASS, UIS_ELT_BUTTON_TYPE_RULE, UIS_ELT_BUTTON_TYPE_SELECTOR, UIS_ELT_CAPTION, UIS_ELT_CAPTION_BORDER, UIS_ELT_CAPTION_HEADER, UIS_ELT_CAPTION_INDENT_ALL_DESCENDANTS, UIS_ELT_CAPTION_INDENT_APPLY_ON, UIS_ELT_CAPTION_INDENT_APPLY_ON_DESCENDANTS, UIS_ELT_CAPTION_INDENT_DIRECT_DESCENDANTS, UIS_ELT_CAPTION_SEPARATOR, UIS_ELT_CAPTION_STYLE, UIS_ELT_CAPTION_TITLE, UIS_ELT_CAPTION_TYPE, UIS_ELT_CAPTION_USERMODIFIEDSERIALIZATION, UIS_ELT_CAPTION_USERMODIFIEDSERIALIZATION_COLLAPSED, UIS_ELT_CELL, UIS_ELT_CELL_TYPE, UIS_ELT_CELL_TYPE_BARCODE, UIS_ELT_CELL_TYPE_BUTTON, UIS_ELT_CELL_TYPE_EDITING_TYPE, UIS_ELT_CELL_TYPE_IMAGE, UIS_ELT_CELL_TYPE_LABEL, UIS_ELT_CELL_TYPE_XPATH, UIS_ELT_CHANGE, UIS_ELT_CHOICE, UIS_ELT_COLUMN, UIS_ELT_COMPONENT, UIS_ELT_CONDITION, UIS_ELT_CONTENT, UIS_ELT_COPY, UIS_ELT_DIALOG, UIS_ELT_EDIT_MODE, UIS_ELT_EVENT, UIS_ELT_EVENT_TYPE, UIS_ELT_FILTER, UIS_ELT_FORMULA, UIS_ELT_FORMULA_EXPRESSION, UIS_ELT_FORMULA_EXPRESSIONS, UIS_ELT_GENERAL, UIS_ELT_GENERALACTION, UIS_ELT_GLOBAL, UIS_ELT_HELP, UIS_ELT_ICON_EXPRESSION, UIS_ELT_INDENT, UIS_ELT_INVERSE_ACTION, UIS_ELT_JAVA_ACTION, UIS_ELT_KEY, UIS_ELT_KEY_CONTEXT, UIS_ELT_KEY_CONTEXT_LOCATION, UIS_ELT_KEYREF, UIS_ELT_KEYREF_CONDITION, UIS_ELT_KEYREF_SELECTION_LINEINFO, UIS_ELT_LABEL, UIS_ELT_LABEL_COMPONENT, UIS_ELT_LABEL_FONT, UIS_ELT_LABELID, UIS_ELT_LAYOUT, UIS_ELT_LEAF, UIS_ELT_LEAF_COMPONENT, UIS_ELT_LEAF_COMPONENT_MASK, UIS_ELT_LEAF_COMPONENT_MASK_ALLOWINVALID, UIS_ELT_LEAF_COMPONENT_MASK_COMMITONVALIDEND, UIS_ELT_LEAF_COMPONENT_MASK_INVALIDCHARS, UIS_ELT_LEAF_COMPONENT_MASK_MASK, UIS_ELT_LEAF_COMPONENT_MASK_OVERWRITEMODE, UIS_ELT_LEAF_COMPONENT_MASK_PLACEHOLDER, UIS_ELT_LEAF_COMPONENT_MASK_VALIDCHARS, UIS_ELT_LEAF_COMPONENT_SHOWASLABEL, UIS_ELT_LEAF_COMPONENT_SINGLE_VALUE, UIS_ELT_LEAF_COMPONENT_VALUE, UIS_ELT_LEAF_LABEL, UIS_ELT_LEAF_VALUE_ENUMARATION_CODESET_CLASS, UIS_ELT_LEAF_VALUE_ENUMERATION, UIS_ELT_LEAF_VALUE_ENUMERATION_CODESET, UIS_ELT_LEAF_VALUE_ENUMERATION_CODESET_URL, UIS_ELT_LEAF_VALUE_ENUMERATION_SELECTION, UIS_ELT_LEAF_VALUE_ENUMERATION_XMLRESOURCE, UIS_ELT_LEAF_VALUE_ENUMERATION_XMLRESOURCE_DESCXPATH, UIS_ELT_LEAF_VALUE_ENUMERATION_XMLRESOURCE_KEYXPATH, UIS_ELT_LEAF_VALUE_ENUMERATION_XMLRESOURCE_LABELXPATH, UIS_ELT_LEAF_VALUE_ENUMERATION_XMLRESOURCE_SERIALIZEASXLINK, UIS_ELT_LEAF_VALUE_ISENUMERATIONTYPE, UIS_ELT_LINE_INFO, UIS_ELT_LINE_INFO_KEYCONTEXT, UIS_ELT_LINE_INFO_TOOLTIP, UIS_ELT_LIST, UIS_ELT_LOAD_SCHEMA, UIS_ELT_LOG, UIS_ELT_MAIN_ACTION, UIS_ELT_MESSAGE, UIS_ELT_MESSAGE_CLASSIFICATION, UIS_ELT_MESSAGE_NEEDSUSERACCEPTANCE, UIS_ELT_MESSAGE_RULE_INVERSEPARAM, UIS_ELT_MESSAGE_RULE_MAINPARAM, UIS_ELT_MESSAGE_TEXT, UIS_ELT_MESSAGE_VALIDATION, UIS_ELT_MODE, UIS_ELT_NAVIGATION, UIS_ELT_NLS, UIS_ELT_OCCURRENCE, UIS_ELT_OCCURRENCE_APPLY_ON_ALL_CHILDS, UIS_ELT_OCCURRENCE_APPLY_ON_DESCENDANTS, UIS_ELT_OCCURRENCE_APPLY_ON_DIRECT_CHILDS, UIS_ELT_OCCURRENCE_VISIBILITY, UIS_ELT_OCCURRENCE_VISIBILITY_ALWAYS, UIS_ELT_OCCURRENCE_VISIBILITY_DEPENDS_ON, UIS_ELT_OCCURRENCE_VISIBILITY_NEVER, UIS_ELT_PAGE_LAYOUT, UIS_ELT_PAGING, UIS_ELT_PANEL, UIS_ELT_PARAM, UIS_ELT_PLUGIN, UIS_ELT_PRINTING, UIS_ELT_REMOVE_SCHEMA, UIS_ELT_RESOURCES, UIS_ELT_RESOURCES_CONTENT, UIS_ELT_RESOURCES_ID, UIS_ELT_RESULT, UIS_ELT_ROW, UIS_ELT_RULE, UIS_ELT_SEARCH, UIS_ELT_SERIAL, UIS_ELT_SNAPLINE, UIS_ELT_SPLIT_PANEL, UIS_ELT_SPLITTER_LAYOUT, UIS_ELT_STYLE, UIS_ELT_TAB, UIS_ELT_TABLE, UIS_ELT_TABLE_LAYOUT, UIS_ELT_TABLE_PDF, UIS_ELT_TREE_ENTRY, UIS_ELT_TREE_ENTRY_ICON, UIS_ELT_TREE_ENTRY_LABEL, UIS_ELT_TREE_ENTRY_POPUP_CLASS, UIS_ELT_TREE_ENTRY_SHOW_SEARCH, UIS_ELT_UIACTION, UIS_ELT_UNNAMED1, UIS_ELT_USE_EVENT_SOURCE_ASBASE, UIS_ELT_USER_ACTION, UIS_ELT_USER_ACTIONS, UIS_ELT_VIRTUAL_COMPONENT, UIS_ELT_VIRTUAL_COMPONENTPOSITION, UIS_ELT_XUI, UIS_ENUM_CLASSIFICATION_ERROR, UIS_ENUM_CLASSIFICATION_HINT, UIS_ENUM_CLASSIFICATION_INCOMPLETE, UIS_ENUM_CLASSIFICATION_INFO, UIS_ENUM_CLASSIFICATION_OK, UIS_ENUM_CLASSIFICATION_QUESTION, UIS_ENUM_CLASSIFICATION_WARNING, UIS_ENUM_EXECMODE_CLIENT, UIS_ENUM_EXECMODE_CLIENTANDSERVER, UIS_ENUM_EXECMODE_SERVER, UIS_EVENT_DEPRICATED_INITIALIZED, UIS_EVENT_DOM_DELETED, UIS_EVENT_DOM_INITIALIZED, UIS_EVENT_LIST_ITEM_DESELECTED, UIS_EVENT_LIST_ITEM_SELECTED, UIS_EVENT_SCOPE_ALL, UIS_EVENT_SCOPE_ALL_DESCENDANTS, UIS_EVENT_SCOPE_DIRECT_DESCENDANTS, UIS_EVENT_SCOPE_DIRECT_PARENT, UIS_EVENT_SCOPE_PARENT, UIS_EVENT_SCOPE_SOURCE, UIS_EVENT_SCOPE_SOURCE_AND_ALLDESCENDANTS, UIS_EVENT_SCOPE_SOURCE_AND_DIRECTDESCENDANTS, UIS_EVENT_SCOPE_SOURCE_AND_REFNODES, UIS_EVENT_SCOPE_SOURCEONLY, UIS_EVENT_STRUCTURE_CHANGE_ADDNODE, UIS_EVENT_STRUCTURE_CHANGE_REMOVENODE, UIS_EVENT_TYPE_ABOUT_TO_PERSISTENT, UIS_EVENT_TYPE_CHANGE, UIS_EVENT_TYPE_CHANGE_AND_INITIALIZATION, UIS_EVENT_TYPE_COPY_CONTENT, UIS_EVENT_TYPE_ONCREATION, UIS_EVENT_TYPE_PASTE_CONTENT, UIS_EVENT_TYPE_PERSISTENT, UIS_EVENT_TYPE_PROPERTY_CHANGE, UIS_EVENT_TYPE_SAVE, UIS_EVENT_TYPE_STRUCTURE_CHANGE, UIS_EVENT_TYPE_STRUCTURE_CHANGE_ADD, UIS_EVENT_TYPE_STRUCTURE_CHANGE_REMOVE, UIS_EVENT_TYPE_VISUALIZED, UIS_GLOBAL_XUI_REF, UIS_INCLUDED, UIS_KEYWORD_THIS, UIS_LAYOUT_DEFAULT, UIS_LAYOUT_GRID, UIS_LAYOUT_SPLITTER, UIS_LAYOUT_TABLE, UIS_LOCKED_AND_NOTEDITABLE, UIS_LOCKED_EXISTING_LISTITEM, UIS_MESSAGE_FORMULA, UIS_MULTI_SELECTION, UIS_NLS, UIS_PDF_ELT_FOOTER, UIS_PDF_ELT_HEADER, UIS_PDF_ELT_XUI, UIS_POSITION_EAST, UIS_POSITION_NORTH, UIS_POSITION_SOUTH, UIS_POSITION_WEST, UIS_SINGLE_SELECTION, UIS_SIZE_LONG, UIS_SIZE_MIDDLE, UIS_SIZE_MULTI, UIS_SIZE_SHORT, UIS_SORT_ASCENDING, UIS_SORT_ASCENDING_BY_CODE, UIS_SORT_ASCENDING_BY_CODE_ASNUMBER, UIS_SORT_ASCENDING_BY_VALUE, UIS_SORT_ASNUMBER, UIS_SORT_DESCENDING, UIS_SORT_DESCENDING_BY_CODE, UIS_SORT_DESCENDING_BY_CODE_ASNUMBER, UIS_SORT_DESCENDING_BY_VALUE, UIS_STYLE_HORIZONTAL, UIS_STYLE_TYPE_COMBOBOX, UIS_STYLE_TYPE_LIST, UIS_STYLE_TYPE_RADIO, UIS_STYLE_VERTICAL, UIS_TYPE_COLOR, UIS_TYPE_PASSWORD, UIS_TYPE_VISUALIZER, UIS_VIEW_HOLDER_PARENT, UIS_VIEW_HOLDER_SELF, UIS_XUI_TARGET_NAMESPACE
 
Constructor Summary
SimpleType(SchemaNode schemaElement)
          SimpleType constructor.
 
Method Summary
 void actAs(java.lang.String extendedType, short dataType)
           
 void actAsBoolean()
          Defines that the primitive data type of this type is Boolean.
 void actAsColor()
          Defines that the primitive data type of this type is Color.
 void actAsDate()
          Defines that the primitive data type of this type is a date.
 void actAsDateTime()
          Defines that the primitive data type of this type is a date.
 void actAsDouble()
          Defines that the primitive data type of this type is Integer.
 void actAsInt()
          Defines that the primitive data type of this type is int.
 void actAsInteger()
          Defines that the primitive data type of this type is Integer.
 void actAsPassword()
          Defines that the primitive data type of this type is a date.
 void actAsString()
          Defines that the primitive data type of this type is String.
 void actAsVisualizer()
          Defines that the primitive data type of this type is Visualizer.
 void bind(Document DOM, org.w3c.dom.Element instanceElement)
          Binds an existing W3C element and its value(s) to the underlying W3C element.
 void bind(Document DOM, org.w3c.dom.Element instanceElement, boolean bindOnlyAvailable)
          Binds the values on a W3C element to the underlying JAXFront type.
 void bind(java.lang.Object trigger, Type type)
          Binds an existing JAXFront type and its value(s) to myself.
 void checkDuplicateID(java.lang.String newValue)
           
 void checkDuplicateKey(java.lang.String newValue)
           
 java.util.List checkForDuplicateID()
           
 void checkKeyExist()
           
 void checkKeyExist(java.lang.String keyValue)
           
 java.lang.Object clone()
          Clones this type.
 int compareValue(SimpleType with)
           
static java.lang.String createVisibleDefaultValue(java.lang.String modelValue, java.lang.String defaultValue, java.lang.String defPrefix, java.lang.String defPostfix)
           
 Type deepClone(Document dom, boolean cloneChoices, boolean includingData)
          Creates a deep clone of this type and all its referenced types.
 Type deepClone(Document dom, boolean cloneChoices, boolean includingData, boolean includeEditingType, SchemaNode schemaNode, org.w3c.dom.Element element)
          Creates a deep clone of this type and all its referenced types.
 Type deepClone(Document dom, boolean cloneChoices, boolean includingData, SchemaNode schemaNode, org.w3c.dom.Element element)
           
 void domChanged(DOMChangeEvent event)
          Respond method for a DOM state changed (DOMChangeEvent).
 ListType evaluateKeyHolderList()
           
 KeyContainer evaluatePossibleKeyContainer()
           
 Type evaluatePossibleKeyType()
           
 Type getChild(java.lang.String name)
          Gets a child (recursive) type with a given name
 Type getChild(java.lang.String name, java.lang.String nameSpace)
          Gets a child (recursive) type with a given name
 java.lang.String getCodeSetHelp()
           
 java.lang.String getCodeSetParam()
           
 java.lang.String getDefaultNullValue()
           
 java.lang.String getDefaultValue()
          Gets the default value of this type according to the schema element.
 Type getDirectChild(java.lang.String name)
          Gets a direct child (next axis) type with a given name
 Type getDirectChild(java.lang.String name, java.lang.String namespace)
          Gets a direct child (next axis) type with a given name
 java.util.List getDirectChildren()
          Gets a list of all child types.
 java.util.List getDirectChildren(java.lang.String name)
          Gets a list of child types with a given name.
 java.lang.String getDisplayValue()
          Returns this type as a String representation for JTables.
 java.lang.String[] getEnumeration()
          Returns the enumeration of a type as String[].
 java.lang.String getFixedValue()
          Gets the fixed value of this type according to the schema element.
 KeyRefDefinition getKeyRefDefinition()
           
 java.lang.Object getMathValueTyped()
          Return the effective type object for the formula expression math evaluator.
 double getMaxExclValue()
           
 double getMaxInclValue()
           
 long getMaxLength()
          Return the maximum length of this type.
 double getMinExclValue()
           
 double getMinInclValue()
           
 long getMinLength()
          Return the minimum length of this type.
 java.lang.String getName()
          Gets the tag name of the resulting W3C DOM.
 java.lang.String getPlainValue()
          Get's the value of this type without any modifications!
 int getPrimitiveDataType()
          Gets the primitive data type (as defined in the XML Schema) of this type.
 java.lang.String getReferencedKeyName()
           
 Type getReferencedKeyType()
           
 SchemaSimpleType getSimpleSchemaType()
           
 int getTotalDigit()
           
 java.lang.String getUserDefaultValue()
          Gets the value of this type.
 java.lang.String getValue()
          Gets the value of this type.
 boolean hasEmptyContent(boolean validationContext)
           
 boolean hasEmptyContent(boolean checkSerializeDefaults, boolean checkDefaultValue)
           
 boolean hasRegularExpression()
          Returns true if this type holds a regular expression.
 boolean isAnyType()
          Returns true if the content of this type can be any type.
 boolean isBoolean()
          Returns if the primitive data type of this type is Boolean.
 boolean isChoice()
          Returns if this type belongs to a choice.
 boolean isColor()
          Returns if the primitive data type of this type is Color.
 boolean isDate()
          Returns if the primitive data type of this type is Date.
 boolean isDateTime()
          Returns if the primitive data type of this type is DateTime.
 boolean isDuration()
          Returns if the primitive data type of this type is Duration.
 boolean isFloatingNumber()
          Return the effective type object for the formula expression math evaluator.
 boolean isKey()
          Returns true if this type is a key selector.
 boolean isKeyRef()
          Returns true if this type is a key ref selector.
 boolean isNumber()
          Returns if the primitive data type of this type is a number like Float, Double or Decimal.
 boolean isPassword()
           
 boolean isSimple()
          Returns true if this is a leaf in the tree.
 boolean isSimpleContent()
          Returns if this type has simple content.
 boolean isString()
          Returns if the primitive data type of this type is String.
 boolean isTime()
          Returns if the primitive data type of this type is Date.
 boolean isUsingDefaultValue()
           
 boolean isUsingDefaultValue(boolean checkXuiDefault)
          Return true if type is using a default value.
 boolean isVisualizer()
          Returns if the primitive data type of this type is Visualizer.
 void markAsDirtyXPath()
          Checks if the passed type holds a recursive element.
static java.lang.String printId(short[] id)
           
 void release()
          Release all allocated resources for this type.
 boolean remove()
          Removes this type from the JAXFront DOM.
 void removeAll()
          Removes all types from this type.
 boolean removeChild(Type child)
          Removes a child from the JAXFront DOM.
 void serialize(java.lang.StringBuffer sb, int indent, boolean writeName, boolean recursive)
          Serializes the current subTree to a StringBuffer
 void setIsAttribute(boolean isAttribute)
           
 void setValue(java.lang.Object eventSource, java.lang.String newValue, boolean isTemporary)
           
 void setValue(java.lang.Object eventSource, java.lang.String newValue, boolean isTemporary, boolean localeConversion)
           
 void setValue(java.lang.Object eventSource, java.lang.String newValue, boolean isTemporary, boolean localeConversion, java.util.Stack callStack)
           
 void setValue(java.lang.String newValue)
          Sets a new value of this type.
 void setValue(java.lang.String newValue, boolean isTemporary)
           
 java.lang.String toString()
          Returns this type as a String representation.
 java.lang.String translateToCodeSetValue()
          Returns the codeset decription value if this type is using a codeset enumeration otherwise return the normal value.
 void validate()
           
 void validate(boolean domIsValidating)
           
 
Methods inherited from class com.jaxfront.core.type.AbstractType
addTreeNode, bind, checkForEmptyContent, checkKeysForDeletion, countSubTypes, deepClone, getAllKeyChilds, getAllKeyFieldChilds, getChoosenType, getClientProperty, getDerivedTypes, getDirectChildValue, getDOM, getFirstNamedParent, getFullCaption, getFullCaption, getId, getLastParentList, getLastParentList, getMixedContent, getNamespace, getNextSibling, getParent, getParent, getParentEditingTypeClone, getParentList, getPrefixedXPathLocation, getPreviousSibling, getPropertyChangeSupport, getQName, getRefName, getRepresentedTableLayoutParent, getRepresentedTabParent, getRepresentedTreeNodeHolder, getRepresentedTreeNodeParent, getRepresentedTreeNodeParentIcon, getRepresentedTreeNodeParentIconName, getSchemaElement, getSchemaType, getSerializationName, getShortCaption, getStyle, getTemplate, getTreeHierarchyContext, getTypeClassification, getUserObject, getVisualName, getW3CXPathLocation, getXPathLocation, getXUIDefinition, getXUIDefinition, getXUIDefinition, hasChoosenType, hasEmptyContentParent, hasRecursionBeenBuilt, hasRepresentableTreeChildren, hasUIDefinition, hasUnChoosenChoiceParent, hasUndefinedChildren, hasValidationError, isAbstract, isAnonymous, isAttribute, isComposite, isDerived, isDerivedFrom, isDerivedFrom, isDerivedFromEditingType, isEditingType, isEmpty, isGlobal, isIncluded, isInRepresentationTree, isKeyContext, isKeyRemovable, isList, isLocked, isMandatoryAxis, isMandatoryAxis, isNoneChoosen, isRecursive, isReleased, isRenderable, isRepresentedAsHeader, isRepresentedAsTab, isRepresentedAsTreeNode, isRequired, isRoot, isSerializable, isSerializable, isUserInstanciated, isVirtual, jumpTo, markAsIncluded, notifyKeyRefChildsForCreation, notifyKeyRefChildsForDeletion, propertyChange, putClientProperty, removeAllKeyReferences, removeClientProperty, removeHint, removeMessage, removeTreeNode, serialize, setAnonymous, setApplicationRequired, setBackground, setChoosenType, setChoosenType, setChoosenType, setChoosenType, setCodeSetValues, setDirectChildValue, setDOM, setEditable, setEnabled, setForeground, setId, setIsChoice, setIsKeyContext, setLabelColor, setLabelText, setNoneChoosen, setParent, setRecursionBuilt, setRenderable, setSchemaElement, setSerializable, setSerializable, setTemplate, setTreeIcon, setUIDefinition, setUserInstanciated, setUserObject, setVisible, setVisibleAndSerializable, showHint, showLabel, showMessage, unChoosenBranch, unmarkAsIncluded
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_STRING

public static final java.lang.String EMPTY_STRING
See Also:
Constant Field Values

SIMPLE_CONTENT_TEXT

public static final java.lang.String SIMPLE_CONTENT_TEXT
See Also:
Constant Field Values
Constructor Detail

SimpleType

public SimpleType(SchemaNode schemaElement)
SimpleType constructor.

Parameters:
schemaElement - the element of the schema that represents this type
Method Detail

actAsBoolean

public void actAsBoolean()
Defines that the primitive data type of this type is Boolean.


actAsColor

public void actAsColor()
Defines that the primitive data type of this type is Color.


actAsDate

public void actAsDate()
Defines that the primitive data type of this type is a date.


actAsPassword

public void actAsPassword()
Defines that the primitive data type of this type is a date.


actAsDateTime

public void actAsDateTime()
Defines that the primitive data type of this type is a date.


actAsInt

public void actAsInt()
Defines that the primitive data type of this type is int.


actAsInteger

public void actAsInteger()
Defines that the primitive data type of this type is Integer.


actAsDouble

public void actAsDouble()
Defines that the primitive data type of this type is Integer.


actAsString

public void actAsString()
Defines that the primitive data type of this type is String.


actAsVisualizer

public void actAsVisualizer()
Defines that the primitive data type of this type is Visualizer.


actAs

public void actAs(java.lang.String extendedType,
                  short dataType)

bind

public void bind(java.lang.Object trigger,
                 Type type)
Binds an existing JAXFront type and its value(s) to myself.

Specified by:
bind in interface Type
Specified by:
bind in class AbstractType
Parameters:
type - the JAXFront type to bind
trigger - trigger object e.g. Clipboard,Button used to identify user triggered actions

bind

public void bind(Document DOM,
                 org.w3c.dom.Element instanceElement)
Binds an existing W3C element and its value(s) to the underlying W3C element.

Specified by:
bind in interface Type
Overrides:
bind in class AbstractType
Parameters:
DOM - the current document to which this type belongs
instanceElement - the element to bind

bind

public void bind(Document DOM,
                 org.w3c.dom.Element instanceElement,
                 boolean bindOnlyAvailable)
Description copied from interface: Type
Binds the values on a W3C element to the underlying JAXFront type. Removes not available types if no W3C element has been found and the flag "bindOnlyAvailable" is set to true.

Specified by:
bind in interface Type
Overrides:
bind in class AbstractType
Parameters:
DOM - the current document to which this type belongs
instanceElement - the element to bind
bindOnlyAvailable - indicates if the not available elements will be removed from type tree

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clones this type.

Returns:
a clone of this type
Throws:
java.lang.CloneNotSupportedException - if this type cannot be cloned
See Also:
Object.clone()

deepClone

public Type deepClone(Document dom,
                      boolean cloneChoices,
                      boolean includingData)
               throws java.lang.CloneNotSupportedException
Creates a deep clone of this type and all its referenced types.

Specified by:
deepClone in interface Type
Specified by:
deepClone in class AbstractType
Parameters:
dom - the current dom to which this type belongs
includingData - indicates if all binded data should be copied as well (default is false)
Returns:
the cloned type
Throws:
java.lang.CloneNotSupportedException

getDirectChild

public Type getDirectChild(java.lang.String name)
Description copied from interface: Type
Gets a direct child (next axis) type with a given name

Specified by:
getDirectChild in interface Type
Specified by:
getDirectChild in class AbstractType
Parameters:
name - name of the child
Returns:
a child with the given name
See Also:
Type.getDirectChild(java.lang.String)

getDirectChild

public Type getDirectChild(java.lang.String name,
                           java.lang.String namespace)
Description copied from interface: Type
Gets a direct child (next axis) type with a given name

Specified by:
getDirectChild in interface Type
Specified by:
getDirectChild in class AbstractType
Parameters:
name - name of the child
namespace - namespace of the child
Returns:
a child with the given name
See Also:
Type.getDirectChild(java.lang.String,java.lang.String)

getEnumeration

public java.lang.String[] getEnumeration()
Returns the enumeration of a type as String[].

Returns:
String[] the enumeration of a type as String[]

getDirectChildren

public java.util.List getDirectChildren()
Gets a list of all child types.

Specified by:
getDirectChildren in interface Type
Specified by:
getDirectChildren in class AbstractType
Returns:
null

getDirectChildren

public java.util.List getDirectChildren(java.lang.String name)
Gets a list of child types with a given name.

Specified by:
getDirectChildren in interface Type
Specified by:
getDirectChildren in class AbstractType
Parameters:
name - the name of the child(s)
Returns:
null

getDefaultValue

public java.lang.String getDefaultValue()
Gets the default value of this type according to the schema element.

Returns:
the default value of this type

createVisibleDefaultValue

public static java.lang.String createVisibleDefaultValue(java.lang.String modelValue,
                                                         java.lang.String defaultValue,
                                                         java.lang.String defPrefix,
                                                         java.lang.String defPostfix)

getFixedValue

public java.lang.String getFixedValue()
Gets the fixed value of this type according to the schema element.

Returns:
the fixed value of this type

getMathValueTyped

public java.lang.Object getMathValueTyped()
Return the effective type object for the formula expression math evaluator.


isFloatingNumber

public boolean isFloatingNumber()
Return the effective type object for the formula expression math evaluator.


getPrimitiveDataType

public int getPrimitiveDataType()
Gets the primitive data type (as defined in the XML Schema) of this type.

Returns:
the primitive data type of this type

getPlainValue

public java.lang.String getPlainValue()
Get's the value of this type without any modifications!

Returns:
the value of this type

getValue

public java.lang.String getValue()
Gets the value of this type.

Returns:
the value of this type

isUsingDefaultValue

public boolean isUsingDefaultValue()

isUsingDefaultValue

public boolean isUsingDefaultValue(boolean checkXuiDefault)
Return true if type is using a default value.

Returns:
the value of this type

isBoolean

public boolean isBoolean()
Returns if the primitive data type of this type is Boolean.

Returns:
true, if the primitive data type of this type is Boolean, false otherwise

isChoice

public boolean isChoice()
Returns if this type belongs to a choice.

Specified by:
isChoice in interface Type
Overrides:
isChoice in class AbstractType
Returns:
true, if this type belongs to a choice, false otherwise

isColor

public boolean isColor()
Returns if the primitive data type of this type is Color.

Returns:
true, if the primitive data type of this type is Color, false otherwise

isPassword

public boolean isPassword()

isDate

public boolean isDate()
Returns if the primitive data type of this type is Date.

Returns:
true, if the primitive data type of this type is Date, false otherwise

isDateTime

public boolean isDateTime()
Returns if the primitive data type of this type is DateTime.

Returns:
true, if the primitive data type of this type is DateTime, false otherwise

isDuration

public boolean isDuration()
Returns if the primitive data type of this type is Duration.

Returns:
true, if the primitive data type of this type is Duration, false otherwise

isNumber

public boolean isNumber()
Returns if the primitive data type of this type is a number like Float, Double or Decimal.

Returns:
true, if the primitive data type of this type is a number, false otherwise

isAnyType

public boolean isAnyType()
Returns true if the content of this type can be any type.

Returns:

isSimpleContent

public boolean isSimpleContent()
Returns if this type has simple content.

Returns:
true, if this type has simple content, false otherwise

isSimple

public boolean isSimple()
Returns true if this is a leaf in the tree.

Specified by:
isSimple in interface Type
Overrides:
isSimple in class AbstractType
Returns:
true

isString

public boolean isString()
Returns if the primitive data type of this type is String.

Returns:
true, if the primitive data type of this type is String, false otherwise

compareValue

public int compareValue(SimpleType with)

isTime

public boolean isTime()
Returns if the primitive data type of this type is Date.

Returns:
true, if the primitive data type of this type is Date, false otherwise

isVisualizer

public boolean isVisualizer()
Returns if the primitive data type of this type is Visualizer.

Returns:
true, if the primitive data type of this type is Visualizer, false otherwise

release

public void release()
Description copied from interface: Type
Release all allocated resources for this type.

Specified by:
release in interface Type
Overrides:
release in class AbstractType
See Also:
Type.release()

remove

public boolean remove()
               throws ListModificationException
Removes this type from the JAXFront DOM.

Specified by:
remove in interface Type
Overrides:
remove in class AbstractType
Throws:
ListModificationException

removeAll

public void removeAll()
Removes all types from this type.

Specified by:
removeAll in interface Type
Specified by:
removeAll in class AbstractType

removeChild

public boolean removeChild(Type child)
Removes a child from the JAXFront DOM.

Specified by:
removeChild in interface Type
Specified by:
removeChild in class AbstractType
Parameters:
child - a child type of this type

serialize

public void serialize(java.lang.StringBuffer sb,
                      int indent,
                      boolean writeName,
                      boolean recursive)
Serializes the current subTree to a StringBuffer

Specified by:
serialize in interface Type
Specified by:
serialize in class AbstractType
Parameters:
sb - a StringBuffer into which the subTree will be serialized
indent - size of indent
writeName - true, if the name of the type should be serialized, false otherwise
recursive - true, if all containing types should be serialized

translateToCodeSetValue

public java.lang.String translateToCodeSetValue()
Returns the codeset decription value if this type is using a codeset enumeration otherwise return the normal value.


getCodeSetParam

public java.lang.String getCodeSetParam()

getCodeSetHelp

public java.lang.String getCodeSetHelp()

setValue

public void setValue(java.lang.String newValue,
                     boolean isTemporary)

setValue

public void setValue(java.lang.Object eventSource,
                     java.lang.String newValue,
                     boolean isTemporary)

setValue

public void setValue(java.lang.Object eventSource,
                     java.lang.String newValue,
                     boolean isTemporary,
                     boolean localeConversion)

setValue

public void setValue(java.lang.Object eventSource,
                     java.lang.String newValue,
                     boolean isTemporary,
                     boolean localeConversion,
                     java.util.Stack callStack)

setValue

public void setValue(java.lang.String newValue)
Sets a new value of this type.

Parameters:
newValue - a new value

toString

public java.lang.String toString()
Returns this type as a String representation.

Overrides:
toString in class AbstractType
Returns:
this type as a String representation

printId

public static java.lang.String printId(short[] id)

getDisplayValue

public java.lang.String getDisplayValue()
Returns this type as a String representation for JTables.

Returns:
this type as a String representation

validate

public void validate()

validate

public void validate(boolean domIsValidating)

checkKeyExist

public void checkKeyExist(java.lang.String keyValue)
                   throws ValidationException
Throws:
ValidationException

checkKeyExist

public void checkKeyExist()
                   throws ValidationException
Throws:
ValidationException

checkDuplicateKey

public void checkDuplicateKey(java.lang.String newValue)
                       throws ValidationException
Throws:
ValidationException

checkDuplicateID

public void checkDuplicateID(java.lang.String newValue)
                      throws ValidationException
Throws:
ValidationException

checkForDuplicateID

public java.util.List checkForDuplicateID()
                                   throws ValidationException
Throws:
ValidationException

getMinLength

public long getMinLength()
Return the minimum length of this type.


getMaxInclValue

public double getMaxInclValue()

getMaxExclValue

public double getMaxExclValue()

getMinInclValue

public double getMinInclValue()

getTotalDigit

public int getTotalDigit()

getMinExclValue

public double getMinExclValue()

getMaxLength

public long getMaxLength()
Return the maximum length of this type.


hasRegularExpression

public boolean hasRegularExpression()
Returns true if this type holds a regular expression.


getChild

public Type getChild(java.lang.String name)
Description copied from interface: Type
Gets a child (recursive) type with a given name

Specified by:
getChild in interface Type
Specified by:
getChild in class AbstractType
Parameters:
name - name of the child
Returns:
a child with the given name
See Also:
Type.getChild(java.lang.String)

getChild

public Type getChild(java.lang.String name,
                     java.lang.String nameSpace)
Description copied from interface: Type
Gets a child (recursive) type with a given name

Specified by:
getChild in interface Type
Specified by:
getChild in class AbstractType
Parameters:
name - name of the child
Returns:
a child with the given name
See Also:
Type.getChild(java.lang.String)

getReferencedKeyName

public java.lang.String getReferencedKeyName()

getReferencedKeyType

public Type getReferencedKeyType()

evaluateKeyHolderList

public ListType evaluateKeyHolderList()

evaluatePossibleKeyType

public Type evaluatePossibleKeyType()

evaluatePossibleKeyContainer

public KeyContainer evaluatePossibleKeyContainer()

getKeyRefDefinition

public KeyRefDefinition getKeyRefDefinition()

domChanged

public void domChanged(DOMChangeEvent event)
Description copied from interface: DOMChangeListener
Respond method for a DOM state changed (DOMChangeEvent).

Specified by:
domChanged in interface DOMChangeListener
Overrides:
domChanged in class AbstractType
Parameters:
event - occured DOMChangeEvent
See Also:
DOMChangeListener.domChanged(com.jaxfront.core.dom.DOMChangeEvent)

getName

public java.lang.String getName()
Gets the tag name of the resulting W3C DOM.

Specified by:
getName in interface QName
Specified by:
getName in interface Type
Overrides:
getName in class AbstractType
Returns:
the tag name of the resulting W3C DOM

markAsDirtyXPath

public void markAsDirtyXPath()
Description copied from class: AbstractType
Checks if the passed type holds a recursive element. If so a new recursion (one level) will be created.

Specified by:
markAsDirtyXPath in interface Type
Specified by:
markAsDirtyXPath in class AbstractType

hasEmptyContent

public boolean hasEmptyContent(boolean validationContext)

hasEmptyContent

public boolean hasEmptyContent(boolean checkSerializeDefaults,
                               boolean checkDefaultValue)
Specified by:
hasEmptyContent in class AbstractType

setIsAttribute

public void setIsAttribute(boolean isAttribute)

deepClone

public Type deepClone(Document dom,
                      boolean cloneChoices,
                      boolean includingData,
                      boolean includeEditingType,
                      SchemaNode schemaNode,
                      org.w3c.dom.Element element)
               throws java.lang.CloneNotSupportedException
Description copied from interface: Type
Creates a deep clone of this type and all its referenced types.

Specified by:
deepClone in interface Type
Specified by:
deepClone in class AbstractType
Parameters:
dom - the current dom to which this type belongs
includingData - indicates if all binded data should be copied as well (default is false)
Returns:
the cloned type
Throws:
java.lang.CloneNotSupportedException

getDefaultNullValue

public java.lang.String getDefaultNullValue()

isKey

public boolean isKey()
Description copied from interface: Type
Returns true if this type is a key selector.

Specified by:
isKey in interface Type
Overrides:
isKey in class AbstractType
See Also:
Type.isKey()

isKeyRef

public boolean isKeyRef()
Description copied from interface: Type
Returns true if this type is a key ref selector.

Specified by:
isKeyRef in interface Type
Overrides:
isKeyRef in class AbstractType
See Also:
Type.isKeyRef()()

getSimpleSchemaType

public SchemaSimpleType getSimpleSchemaType()

getUserDefaultValue

public java.lang.String getUserDefaultValue()
Gets the value of this type.

Returns:
the value of this type

deepClone

public Type deepClone(Document dom,
                      boolean cloneChoices,
                      boolean includingData,
                      SchemaNode schemaNode,
                      org.w3c.dom.Element element)
               throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException