com.jaxfront.core.type
Class AbstractType

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

public abstract class AbstractType
extends java.lang.Object
implements Type, XUITypes, java.lang.Cloneable, java.beans.PropertyChangeListener, java.io.Serializable, DOMChangeListener, QName

This class represents an abstract JAXFront type. Every type holds the belonging meta information (XML schema element), a W3C element, the target JAXFront DOM and the XUIDefinition.

Version:
1.60
See Also:
Serialized Form

Field Summary
 boolean _needXUIMaintain
           
static java.lang.String FIELD_ADD
           
static java.lang.String FIELD_LIST_CLOSE_BRACKET
           
static java.lang.String FIELD_LIST_IDENTIFIER
           
static java.lang.String FIELD_LIST_OPEN_BRACKET
           
static java.lang.String FIELD_SLASH
           
static char[] indentChars
           
static java.lang.String MISSING_TYPES_CREATED
           
static java.lang.String PROPERTY_USER_CHANGED_SERIALIZE
           
static java.lang.String 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
AbstractType()
           
AbstractType(SchemaNode schemaElement)
          AbstractType constructor.
 
Method Summary
 void addTreeNode(boolean shouldBeSerialized)
          Adds this type to the tree.
 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.
abstract  void bind(java.lang.Object trigger, Type type)
          Binds an existing JAXFront type and its value(s) to myself.
 void bind(Type type)
          Binds the values of an JAXFront type to myself.
 boolean checkForEmptyContent()
          Flags this type as checked for empty content.
 void checkKeysForDeletion(Type childToDelete)
           
 int countSubTypes()
           
 Type deepClone(Document dom)
          Creates a deep clone of this type and all its referenced types.
abstract  Type deepClone(Document dom, boolean cloneChoices, boolean includingData)
          Creates a deep clone of this type and all its referenced types.
abstract  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.
 void domChanged(DOMChangeEvent event)
          Respond method for a DOM state changed (DOMChangeEvent).
 void getAllKeyChilds(java.util.List found, Type type)
           
 void getAllKeyFieldChilds(java.util.List found, Type type)
           
abstract  Type getChild(java.lang.String name)
          Gets a child (recursive) type with a given name
abstract  Type getChild(java.lang.String nameSpace, java.lang.String name)
          Gets a child (recursive) type with a given name
 Type getChoosenType()
          Gets the choosen type if this type is a choice element.
 java.lang.Object getClientProperty(java.lang.String key)
          Gets a client property for this type.
 java.util.List getDerivedTypes()
          Gets a list of all derived types if this type is an abstract type.
abstract  Type getDirectChild(java.lang.String name)
          Gets a direct child (next axis) type with a given name
abstract  Type getDirectChild(java.lang.String name, java.lang.String namespace)
          Gets a direct child (next axis) type with a given name
abstract  java.util.List getDirectChildren()
          Gets a list of all child types.
abstract  java.util.List getDirectChildren(java.lang.String name)
          Gets a list of child types with a given name.
 java.lang.String getDirectChildValue(java.lang.String name)
          Gets the value of a child type with a given name.
 Document getDOM()
          Gets the current JAXFront document (DOM).
 Type getFirstNamedParent()
           
 java.lang.String getFullCaption()
          Returns the nls translated (if any) xpath of a type up to its upper most represented tree node parent.
 java.lang.String getFullCaption(int labelLength)
          Returns the nls translated (if any) xpath of a type up to its upper most represented tree node parent.
 short[] getId()
          Gets a unique ID within the current JAXFront documennt (DOM) expressing axis position.
 ListType getLastParentList()
           
 ListType getLastParentList(ListType listType)
           
 Type getMixedContent()
          Returns the mixed content leaf type or null if none.
 java.lang.String getName()
          Returns the name witout namespace previx.
 java.lang.String getNamespace()
          Gets the namespace name of the underlying W3C DOM.
 Type getNextSibling()
          Returns the next sibling type of the current type.
 Type getParent()
          Gets the parent type of the current type.
 Type getParent(java.lang.String parentName)
          Gets the parent type with the given name.
 Type getParentEditingTypeClone(ListType parentList, Type choiceType)
           
 ListType getParentList()
          Gets the parent list type of the current type.
 java.lang.String getPrefixedXPathLocation()
          Gets the prefixed xpath location of the current type.
 Type getPreviousSibling()
          Returns the previous sibling type of the current type.
 java.beans.PropertyChangeSupport getPropertyChangeSupport()
          Gets the PropertyChangeSupport helper instance for this type.
 java.lang.String getQName()
          Gets the tag name including namespace prefix.
 java.lang.String getRefName()
           
 Type getRepresentedTableLayoutParent()
          Returns the type (one of my parents) which defines a tableLayout which represents this type or null.
 Type getRepresentedTabParent(boolean checkCurrentType)
          Gets the holding tree parent type that is represented as tab.
 Type getRepresentedTreeNodeHolder()
          Gets the holding tree parent type in the navigation tree, where the view holder is self.
 Type getRepresentedTreeNodeParent()
          Gets the holding tree parent type in the navigation tree.
 javax.swing.ImageIcon getRepresentedTreeNodeParentIcon()
          Returns the uppermost icon that can be found of the tree node parents of the current type.
 java.lang.String getRepresentedTreeNodeParentIconName()
          Returns the name of the uppermost icon that can be found of the tree node parents of the current type.
 SchemaNode getSchemaElement()
          Gets the meta information schema element.
 SchemaType getSchemaType()
           
 java.lang.String getSerializationName()
           
 java.lang.String getShortCaption()
          Returns the nls translated (if any) xpath of a type up to its upper most represented tree node parent.
 StyleDefinition getStyle()
           
 Type getTemplate()
           
 java.lang.String getTreeHierarchyContext()
          Returns the treeEntry hierarchy of the current type as coma separated String (context).
 short getTypeClassification()
          Returns the type classification.
 java.lang.Object getUserObject()
          Gets any user object set to this type.
 java.lang.String getVisualName()
          Returns the visual name of this type.
 java.lang.String getW3CXPathLocation(boolean prefixed)
          Gets the W3C xpath location of the current type.This method returns the xpath without internal created unnamed elements!
 java.lang.String getXPathLocation()
          Gets the xpath location of the current type.
 XUIDefinition getXUIDefinition()
          Gets the current XUI definition.
 XUIDefinition getXUIDefinition(boolean create)
          Gets the current XUI definition saying if a xui definition should be initialized lazy if it does not exist.
 XUIDefinition getXUIDefinition(boolean create, boolean isReleasing)
           
 boolean hasChoosenType()
           
abstract  boolean hasEmptyContent(boolean checkSerializeDefaults, boolean checkDefaultValue)
           
 boolean hasEmptyContentParent(boolean checkSerializeDefaults, boolean checkDefaultValue)
          Returns true if my parent holds empty content.
 boolean hasRecursionBeenBuilt()
          Returns true if type is a recursion holder and recursive start element has been created yet.
 boolean hasRepresentableTreeChildren()
          Returns true if this type has any child types represented in the navigation tree.
 boolean hasUIDefinition()
          Returns true if the uiDefinition is alredy set.
 boolean hasUnChoosenChoiceParent()
          Returns true if this type has an unchoosen choice parent, false otherwise
 boolean hasUndefinedChildren()
          Returns true it this type holds a direct optional child.
 boolean hasValidationError()
          Returns true if an validation error exists for this type.
 boolean isAbstract()
          Returns true if this type is defined abstract in the schema element.
 boolean isAnonymous()
          Returns true if this type has no tag element (unnamed holder).
 boolean isAttribute()
          Returns true if this type is defined as an attribute in the XML schema.
 boolean isChoice()
          Returns true if this type is acting as a choice.
 boolean isComposite()
          Returns true if this type consists of other types.
 boolean isDerived()
          Returns true if this type is implementing an abstract type.
 boolean isDerivedFrom(Type type)
          Returns true if this type is a child of a given type.
 boolean isDerivedFrom(Type type, boolean firstIteration)
           
 boolean isDerivedFromEditingType()
          Returns true if this type is derived from an editing type.
 boolean isEditingType()
          Returns true if my parent is a list and this type is a template for further addings.
 boolean isEmpty()
          Returns true if this type is not represented in the target JAXFront DOM.
 boolean isGlobal()
          Return true it this type is global.
 boolean isIncluded()
          Returns true if this type was included from an included xui file.
 boolean isInRepresentationTree(Type type)
          Returns true if the passing type is represented in the tree.
 boolean isKey()
          Returns true if this type is a key selector.
 boolean isKeyContext()
          Returns true if this type is a key context used in KeyKeyRefManager.
 boolean isKeyRef()
          Returns true if this type is a key ref selector.
 boolean isKeyRemovable()
          Adds a new key reference to the key selector type.
 boolean isList()
          Returns true if this type represents a list.
 boolean isLocked()
          Returns true if this type is locked via document.lock().
 boolean isMandatoryAxis()
           
 boolean isMandatoryAxis(boolean checkForEmptyContent)
          Returns true if this type and all its ancestors are mandatory (1:1 cardinality).
 boolean isNoneChoosen()
           
 boolean isRecursive()
          Returns true if this type is starting a new recursion.
 boolean isReleased()
           
 boolean isRenderable()
          Returns true if the type is included into the rendering process.
 boolean isRepresentedAsHeader()
          Returns true if this type has a header.
 boolean isRepresentedAsTab()
          Returns true if this type is represented as tab.
 boolean isRepresentedAsTreeNode()
          Returns true if this type is represented in the navigation tree.
 boolean isRequired()
          Returns true if this type is defined mandatory in the xml schema.
 boolean isRoot()
          Returns true if this type is the root of the JAXFront DOM.
 boolean isSerializable()
          Returns true if this type should be serialized in the resulting W3C DOM.
 boolean isSerializable(boolean checkValue)
          Returns true if this type should be serialized in the resulting W3C DOM.
 boolean isSimple()
          Returns true if this is a leaf in the tree.
 boolean isUserInstanciated()
           
 boolean isVirtual()
          Returns true if this type is implementing an virtual type.
 void jumpTo()
           
abstract  void markAsDirtyXPath()
          Checks if the passed type holds a recursive element.
 void markAsIncluded()
          Marks this type as included.
 void notifyKeyRefChildsForCreation(Type createdChild)
           
 void notifyKeyRefChildsForDeletion(Type childToDelete, boolean check)
           
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 void putClientProperty(java.lang.String key, java.lang.Object object)
           
 void release()
          Release all allocated resources for this type.
 boolean remove()
          Removes this type from the JAXFront DOM.
abstract  void removeAll()
          Removes all types from this type.
 void removeAllKeyReferences()
          Adds a new key reference to the key selector type.
abstract  boolean removeChild(Type child)
          Removes a child from the JAXFront DOM.
 void removeClientProperty(java.lang.String key)
           
 void removeHint()
          Removes a user defined hint message below the current component.
 void removeMessage()
          Removes all validation error messages for this type.
 void removeTreeNode(boolean shouldBeSerialized)
          Removes this type from the tree.
 java.lang.StringBuffer serialize()
          Serializes the current subTree to a StringBuffer
abstract  void serialize(java.lang.StringBuffer sb, int indent, boolean writeName, boolean recursive)
          Serializes the current subTree to a StringBuffer
 void setAnonymous(boolean isAnonymous)
           
 void setApplicationRequired(boolean required)
          Sets if an user input is required for this type or not (overwrites xml schema cardinality).
 void setBackground(java.awt.Color color)
           
 void setChoosenType(java.lang.Object source, Type type, boolean isTemporary, boolean includingData)
          Sets the choosen type if this type is a choice.
 void setChoosenType(java.lang.Object source, Type type, boolean isTemporary, boolean includingData, boolean isInitializing)
          Sets the choosen type if this type is a choice.
 void setChoosenType(Type type)
          Sets the choosen type if this type is a choice.
 void setChoosenType(Type type, boolean isTemporary)
          Sets the choosen type if this type is a choice.
 void setCodeSetValues(java.lang.String url, java.lang.String codeSetName, java.lang.String[] values, java.lang.String defaultSelection)
          Sets the codeSet values for the current type.
 void setDirectChildValue(java.lang.String childName, java.lang.String value)
          Sets the value of a child type of this type.
 void setDOM(Document DOM)
          Sets a current JAXFront document (DOM).
 void setEditable(boolean editable)
          Sets the component editable or not editable.
 void setEnabled(boolean enabled)
          Sets if this type is enabled.
 void setForeground(java.awt.Color color)
           
 void setId(short[] id)
          Sets a unique ID within the current JAXFront documennt (DOM) expressing axis position.
 void setIsChoice(boolean isChoice)
           
 void setIsKeyContext(boolean isContext)
          Set true if this type is a key context!
 void setLabelColor(java.awt.Color color)
           
 void setLabelText(java.lang.String text)
           
 void setNoneChoosen(boolean noneChoosen)
           
 void setParent(Type parent)
          Gets the parent type of the current type.
 void setRecursionBuilt(boolean built)
           
 void setRenderable(boolean renderable)
          Defines if the type should be included into the rendering process.
 void setSchemaElement(SchemaNode element)
          Sets the meta information schema element.
 void setSerializable(boolean isSerializable)
          Sets if this type should be serialized in the resulting W3C DOM.
 void setSerializable(boolean isSerializable, boolean checkForEmptyContent)
          Sets if this type should be serialized in the resulting W3C DOM and if it should be checked for empty content.
 void setTemplate(Type template)
           
 void setTreeIcon(java.lang.String gifName)
          Set the tree icon for this type.
 void setUIDefinition(XUIDefinition uiDefinition)
          Sets a XUI definition to this type.
 void setUserInstanciated(boolean userTriggered)
           
 void setUserObject(java.lang.Object object)
          Sets any user object to this type.
 void setVisible(boolean visible)
          Sets the visualizer of this type visible or invisible at runtime.
 void setVisibleAndSerializable(boolean visible, boolean isSerializable)
          Sets the component visible or invisible at runtime and defines if the data will be serialized or not.
 void showHint(java.lang.String text, boolean isFormula, java.awt.Color color, boolean isBold)
          Shows an user defined hint message below the current component.
 void showLabel(boolean visible)
          Sets the label visible or invisible.
 void showMessage(java.lang.String message, java.lang.String classification, boolean showDialog, boolean needsUserAcceptance)
          Dislplays a message for this type with the passed information.
 java.lang.String toString()
          Returns this type as a String representation.
 boolean unChoosenBranch()
           
 void unmarkAsIncluded()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jaxfront.core.type.Type
getDisplayValue
 

Field Detail

MISSING_TYPES_CREATED

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

TAB_HOLDER

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

PROPERTY_USER_CHANGED_SERIALIZE

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

FIELD_SLASH

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

FIELD_LIST_IDENTIFIER

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

FIELD_LIST_OPEN_BRACKET

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

FIELD_LIST_CLOSE_BRACKET

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

FIELD_ADD

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

indentChars

public static final char[] indentChars

_needXUIMaintain

public boolean _needXUIMaintain
Constructor Detail

AbstractType

public AbstractType()

AbstractType

public AbstractType(SchemaNode schemaElement)
AbstractType constructor.

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

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
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
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

bind

public abstract 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
Parameters:
type - the JAXFront type to bind
trigger - trigger object e.g. Clipboard,Button used to identify user triggered actions

bind

public void bind(Type type)
Binds the values of an JAXFront type to myself.

Specified by:
bind in interface Type
Parameters:
DOM - the current document to which this type belongs
trigger - trigger object e.g. Clipboard,Button used to identify user triggered actions
type - the type to bind to

markAsIncluded

public void markAsIncluded()
Marks this type as included. This type should never be serialized nor be able to change its content.


unmarkAsIncluded

public void unmarkAsIncluded()

removeAllKeyReferences

public void removeAllKeyReferences()
                            throws ListModificationException
Adds a new key reference to the key selector type.

Throws:
ListModificationException

isKeyRemovable

public boolean isKeyRemovable()
                       throws KeyRefException
Adds a new key reference to the key selector type.

Returns:
Type the new added type
Throws:
KeyRefException

checkKeysForDeletion

public void checkKeysForDeletion(Type childToDelete)
                          throws KeyRefException
Throws:
KeyRefException

deepClone

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

Parameters:
dom - the current dom to which this type belongs
Returns:
the cloned type
Throws:
java.lang.CloneNotSupportedException - if this type cannot be cloned

deepClone

public abstract 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
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

deepClone

public abstract 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
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 abstract 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
Parameters:
name - name of the child
Returns:
a child with the given name
See Also:
Type.getDirectChild(java.lang.String)

getDirectChild

public abstract 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
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)

getDirectChildren

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

Specified by:
getDirectChildren in interface Type
Returns:
a list of all child types

getDirectChildren

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

Specified by:
getDirectChildren in interface Type
Parameters:
name - the name of the child(s)
Returns:
a list of child types with a given name

getDirectChildValue

public java.lang.String getDirectChildValue(java.lang.String name)
Gets the value of a child type with a given name.

Specified by:
getDirectChildValue in interface Type
Parameters:
name - the name of the child
Returns:
the value of a child type with a given name

getChoosenType

public Type getChoosenType()
Gets the choosen type if this type is a choice element.

Specified by:
getChoosenType in interface Type
Returns:
the choosen type if this type is a choice, null otherwise

getClientProperty

public java.lang.Object getClientProperty(java.lang.String key)
Description copied from interface: Type
Gets a client property for this type.

Specified by:
getClientProperty in interface Type
See Also:
Type.getClientProperty(java.lang.String)

getDerivedTypes

public java.util.List getDerivedTypes()
Gets a list of all derived types if this type is an abstract type.

Specified by:
getDerivedTypes in interface Type
Returns:
a list of all derived types if this type is an abstract type, null otherwise

getDOM

public Document getDOM()
Gets the current JAXFront document (DOM).

Specified by:
getDOM in interface Type
Returns:
the current JAXFront document (DOM)

getId

public short[] getId()
Gets a unique ID within the current JAXFront documennt (DOM) expressing axis position.

Specified by:
getId in interface Type
Returns:
a unique ID

getName

public java.lang.String getName()
Description copied from interface: Type
Returns the name witout namespace previx.

Specified by:
getName in interface QName
Specified by:
getName in interface Type

getQName

public java.lang.String getQName()
Description copied from interface: Type
Gets the tag name including namespace prefix.

Specified by:
getQName in interface QName
Specified by:
getQName in interface Type
Returns:
the tag name name including namespace prefix

getSerializationName

public java.lang.String getSerializationName()
Specified by:
getSerializationName in interface Type

getNamespace

public java.lang.String getNamespace()
Gets the namespace name of the underlying W3C DOM.

Specified by:
getNamespace in interface QName
Specified by:
getNamespace in interface Type
Returns:
the namespace name of the underlying W3C DOM

getParent

public Type getParent()
Gets the parent type of the current type.

Specified by:
getParent in interface Type
Returns:
the parent type of the current type

hasChoosenType

public boolean hasChoosenType()
Specified by:
hasChoosenType in interface Type

getParent

public Type getParent(java.lang.String parentName)
Gets the parent type with the given name.

Specified by:
getParent in interface Type
Parameters:
parentName - the name of the parent type
Returns:
the parent type with the given name

getParentList

public ListType getParentList()
Gets the parent list type of the current type.

Specified by:
getParentList in interface Type
Returns:
the parent list type of the current type

getPropertyChangeSupport

public java.beans.PropertyChangeSupport getPropertyChangeSupport()
Gets the PropertyChangeSupport helper instance for this type.

Specified by:
getPropertyChangeSupport in interface Type
Returns:
the PropertyChangeSupport helper instance for this type

getRepresentedTabParent

public Type getRepresentedTabParent(boolean checkCurrentType)
Gets the holding tree parent type that is represented as tab.

Specified by:
getRepresentedTabParent in interface Type
Returns:
the holding tree parent type that is represented as tab

jumpTo

public void jumpTo()

getRepresentedTreeNodeParent

public Type getRepresentedTreeNodeParent()
Gets the holding tree parent type in the navigation tree.

Specified by:
getRepresentedTreeNodeParent in interface Type
Returns:
the holding tree parent type in the navigation tree

getRepresentedTreeNodeHolder

public Type getRepresentedTreeNodeHolder()
Description copied from interface: Type
Gets the holding tree parent type in the navigation tree, where the view holder is self.

Specified by:
getRepresentedTreeNodeHolder in interface Type
Returns:
the holding tree parent type in the navigation tree

getRepresentedTreeNodeParentIconName

public java.lang.String getRepresentedTreeNodeParentIconName()
Description copied from interface: Type
Returns the name of the uppermost icon that can be found of the tree node parents of the current type.

Specified by:
getRepresentedTreeNodeParentIconName in interface Type
Returns:
the name of the icon of the uppermost tree node parent
See Also:
Type.getRepresentedTreeNodeParentIconName()

getRepresentedTreeNodeParentIcon

public javax.swing.ImageIcon getRepresentedTreeNodeParentIcon()
Description copied from interface: Type
Returns the uppermost icon that can be found of the tree node parents of the current type.

Specified by:
getRepresentedTreeNodeParentIcon in interface Type
Returns:
the icon of the uppermost tree node parent
See Also:
Type.getRepresentedTreeNodeParentIcon()

getSchemaElement

public SchemaNode getSchemaElement()
Gets the meta information schema element.

Specified by:
getSchemaElement in interface Type
Returns:
the meta information schema element

getXUIDefinition

public XUIDefinition getXUIDefinition()
Gets the current XUI definition.

Specified by:
getXUIDefinition in interface Type
Returns:
the current XUI definition

getUserObject

public java.lang.Object getUserObject()
Gets any user object set to this type.

Specified by:
getUserObject in interface Type
Returns:
any user object set to this type

getShortCaption

public java.lang.String getShortCaption()
Description copied from interface: Type
Returns the nls translated (if any) xpath of a type up to its upper most represented tree node parent. Only tree node parents are listed whereas all other parents as well as the root type are dismissed. Hierarchies are separated by " - ". Example: /purchaseOrder/shipToAdress/name -> purchaseOrder has a treeEntry, shipToAdress not. This would give following expression: purchaseOrder - name

Specified by:
getShortCaption in interface Type
Returns:
an nls translated (if any) xpath of a type up to its upper most represented tree node parent
See Also:
Type.getShortCaption()

getXPathLocation

public java.lang.String getXPathLocation()
Gets the xpath location of the current type.

Specified by:
getXPathLocation in interface Type
Returns:
the xpath location of the current type

getPrefixedXPathLocation

public java.lang.String getPrefixedXPathLocation()
Description copied from interface: Type
Gets the prefixed xpath location of the current type.

Specified by:
getPrefixedXPathLocation in interface Type
Returns:
the prefixed xpath location of the current type

getW3CXPathLocation

public java.lang.String getW3CXPathLocation(boolean prefixed)
Description copied from interface: Type
Gets the W3C xpath location of the current type.This method returns the xpath without internal created unnamed elements!

Specified by:
getW3CXPathLocation in interface Type
Parameters:
prefixed - true if the xpath should be generated with namespace prefixes.
Returns:
the xpath location of the current type

hasEmptyContentParent

public boolean hasEmptyContentParent(boolean checkSerializeDefaults,
                                     boolean checkDefaultValue)
Returns true if my parent holds empty content.


hasEmptyContent

public abstract boolean hasEmptyContent(boolean checkSerializeDefaults,
                                        boolean checkDefaultValue)

getRepresentedTableLayoutParent

public Type getRepresentedTableLayoutParent()
Description copied from interface: Type
Returns the type (one of my parents) which defines a tableLayout which represents this type or null.

Specified by:
getRepresentedTableLayoutParent in interface Type
See Also:
Type.getRepresentedTableLayoutParent()

hasRepresentableTreeChildren

public boolean hasRepresentableTreeChildren()
Returns true if this type has any child types represented in the navigation tree.

Specified by:
hasRepresentableTreeChildren in interface Type
Returns:
true, if this type has any child types represented in the navigation tree, false otherwise

getTypeClassification

public short getTypeClassification()
Description copied from interface: Type
Returns the type classification.

Specified by:
getTypeClassification in interface Type

unChoosenBranch

public boolean unChoosenBranch()
Specified by:
unChoosenBranch in interface Type

hasUnChoosenChoiceParent

public boolean hasUnChoosenChoiceParent()
Description copied from interface: Type
Returns true if this type has an unchoosen choice parent, false otherwise

Specified by:
hasUnChoosenChoiceParent in interface Type

isInRepresentationTree

public boolean isInRepresentationTree(Type type)
Returns true if the passing type is represented in the tree.

Parameters:
type - to lookup in the representation tree
Returns:

hasUndefinedChildren

public boolean hasUndefinedChildren()
Returns true it this type holds a direct optional child.

Specified by:
hasUndefinedChildren in interface Type

isAbstract

public boolean isAbstract()
Returns true if this type is defined abstract in the schema element.

Specified by:
isAbstract in interface Type
Returns:
true if this type is defined abstract in the schema element, false otherwise

isAnonymous

public boolean isAnonymous()
Returns true if this type has no tag element (unnamed holder).

Specified by:
isAnonymous in interface Type
Returns:
true if this type has no tag element (unnamed holder), false otherwise

isAttribute

public boolean isAttribute()
Returns true if this type is defined as an attribute in the XML schema.

Specified by:
isAttribute in interface Type
Returns:
true if this type is defined as an attribute in the XML schema, false otherwise

isChoice

public boolean isChoice()
Returns true if this type is acting as a choice.

Specified by:
isChoice in interface Type
Returns:
true if this type is acting as a choice, false otherwise

setIsChoice

public void setIsChoice(boolean isChoice)

isComposite

public boolean isComposite()
Returns true if this type consists of other types.

Specified by:
isComposite in interface Type
Returns:
true if this type consists of other types, false otherwise

isSerializable

public boolean isSerializable()
Description copied from interface: Type
Returns true if this type should be serialized in the resulting W3C DOM.

Specified by:
isSerializable in interface Type
Returns:
true if this type should be serialized in the resulting W3C DOM, false otherwise
See Also:
Type.isSerializable()

isSerializable

public boolean isSerializable(boolean checkValue)
Description copied from interface: Type
Returns true if this type should be serialized in the resulting W3C DOM.

Specified by:
isSerializable in interface Type
Parameters:
checkValue - true if the serialize process should check if the type's value is null
Returns:
true if this type should be serialized in the resulting W3C DOM, false otherwise
See Also:
Type.isSerializable(boolean)

isDerived

public boolean isDerived()
Returns true if this type is implementing an abstract type.

Specified by:
isDerived in interface Type
Returns:
true if this type is implementing an abstract type

isDerivedFrom

public boolean isDerivedFrom(Type type)
Returns true if this type is a child of a given type.

Specified by:
isDerivedFrom in interface Type
Parameters:
type - parent type
Returns:
true if this type is a child of a given type, false otherwise

isDerivedFromEditingType

public boolean isDerivedFromEditingType()
Returns true if this type is derived from an editing type.

Specified by:
isDerivedFromEditingType in interface Type

isDerivedFrom

public boolean isDerivedFrom(Type type,
                             boolean firstIteration)

isEditingType

public boolean isEditingType()
Returns true if my parent is a list and this type is a template for further addings.

Specified by:
isEditingType in interface Type
Returns:
true if my parent is a list and this type is a template for further addings, false otherwise

isEmpty

public boolean isEmpty()
Returns true if this type is not represented in the target JAXFront DOM.

Specified by:
isEmpty in interface Type
Returns:
true if this type is not represented in the target JAXFront DOM, false otherwise

isList

public boolean isList()
Returns true if this type represents a list.

Specified by:
isList in interface Type
Returns:
true if this type represents a list, false otherwise

isLocked

public boolean isLocked()
Description copied from interface: Type
Returns true if this type is locked via document.lock().

Specified by:
isLocked in interface Type
Returns:
true if this type is locked.

isRecursive

public boolean isRecursive()
Description copied from interface: Type
Returns true if this type is starting a new recursion.

Specified by:
isRecursive in interface Type
See Also:
Type.isRecursive()

isRepresentedAsHeader

public boolean isRepresentedAsHeader()
Returns true if this type has a header.

Specified by:
isRepresentedAsHeader in interface Type
Returns:
true if this type has a header, false otherwise

isRepresentedAsTab

public boolean isRepresentedAsTab()
Returns true if this type is represented as tab.

Specified by:
isRepresentedAsTab in interface Type
Returns:
true if this type is represented as tab, false otherwise

isRepresentedAsTreeNode

public boolean isRepresentedAsTreeNode()
Returns true if this type is represented in the navigation tree.

Specified by:
isRepresentedAsTreeNode in interface Type
Returns:
true if this type is represented in the navigation tree, false otherwise

isRequired

public boolean isRequired()
Returns true if this type is defined mandatory in the xml schema.

Specified by:
isRequired in interface Type
Returns:
true if this type is defined mandatory in the xml schema, false otherwise

isRoot

public boolean isRoot()
Returns true if this type is the root of the JAXFront DOM.

Specified by:
isRoot in interface Type
Returns:
true if this type is the root of the JAXFront DOM, false otherwise

isSimple

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

Specified by:
isSimple in interface Type
Returns:
true if this is a leaf in the tree, false otherwise

isVirtual

public boolean isVirtual()
Description copied from interface: Type
Returns true if this type is implementing an virtual type.

Specified by:
isVirtual in interface Type
Returns:
true if this type is implementing an virtual type

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener
See Also:
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)

putClientProperty

public void putClientProperty(java.lang.String key,
                              java.lang.Object object)
Specified by:
putClientProperty in interface Type
See Also:
Type.putClientProperty(java.lang.String, java.lang.Object)

release

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

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

remove

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

Specified by:
remove in interface Type
Throws:
ListModificationException

removeAll

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

Specified by:
removeAll in interface Type
Throws:
ListModificationException

removeChild

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

Specified by:
removeChild in interface Type
Parameters:
child - a child type of this type
Throws:
KeyRefException
ListModificationException

serialize

public java.lang.StringBuffer serialize()
Serializes the current subTree to a StringBuffer

Specified by:
serialize in interface Type

serialize

public abstract 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
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

setApplicationRequired

public void setApplicationRequired(boolean required)
Sets if an user input is required for this type or not (overwrites xml schema cardinality).

Specified by:
setApplicationRequired in interface Type
Parameters:
required - true if an user input is required for this type

setCodeSetValues

public void setCodeSetValues(java.lang.String url,
                             java.lang.String codeSetName,
                             java.lang.String[] values,
                             java.lang.String defaultSelection)
Description copied from interface: Type
Sets the codeSet values for the current type.

Specified by:
setCodeSetValues in interface Type
Parameters:
url - the url of the codeSet to be set
codeSetName - the name of the codeSet to be set
values - the values of the codeSet
defaultSelection - the default selected code
See Also:
Type.setCodeSetValues(java.lang.String, java.lang.String, java.lang.String[], java.lang.String)

setDirectChildValue

public void setDirectChildValue(java.lang.String childName,
                                java.lang.String value)
Sets the value of a child type of this type.

Specified by:
setDirectChildValue in interface Type
Parameters:
childName - the name of the child
value - the value to set

setChoosenType

public void setChoosenType(Type type)
Sets the choosen type if this type is a choice.

Specified by:
setChoosenType in interface Type
Parameters:
type - the type that is currently choosen

setChoosenType

public void setChoosenType(Type type,
                           boolean isTemporary)
Sets the choosen type if this type is a choice.

Specified by:
setChoosenType in interface Type
Parameters:
type - the type that is currently choosen
isTemporary - indicates if this selection is temporary

setChoosenType

public void setChoosenType(java.lang.Object source,
                           Type type,
                           boolean isTemporary,
                           boolean includingData)
Sets the choosen type if this type is a choice.

Parameters:
type - the type that is choosen
isTemporary - true, if the choosen type acts temporarily as choosen type, false otherwise
includingData - indicates if the choosen type came from a deepclone of an editing type

setChoosenType

public void setChoosenType(java.lang.Object source,
                           Type type,
                           boolean isTemporary,
                           boolean includingData,
                           boolean isInitializing)
Sets the choosen type if this type is a choice.

Parameters:
type - the type that is choosen
isTemporary - true, if the choosen type acts temporarily as choosen type, false otherwise
includingData - indicates if the choosen type came from a deepclone of an editing type
isInitializing - indicates if the setChoosenType is called from a lazybuild visualizer!

setDOM

public void setDOM(Document DOM)
Sets a current JAXFront document (DOM).

Specified by:
setDOM in interface Type
Parameters:
DOM - a JAXFront document (DOM)

setId

public void setId(short[] id)
Sets a unique ID within the current JAXFront documennt (DOM) expressing axis position.

Specified by:
setId in interface Type
Parameters:
id - a unique ID

setSerializable

public void setSerializable(boolean isSerializable)
Sets if this type should be serialized in the resulting W3C DOM.

Specified by:
setSerializable in interface Type
Parameters:
isSerializable - true if this type should be serialized in the resulting W3C DOM, false otherwise

setSerializable

public void setSerializable(boolean isSerializable,
                            boolean checkForEmptyContent)
Sets if this type should be serialized in the resulting W3C DOM and if it should be checked for empty content.

Specified by:
setSerializable in interface Type
Parameters:
isSerializable - true if this type should be serialized in the resulting W3C DOM, false otherwise
checkForEmptyContent - true if the serialize mechanism should check this type for empty content

checkForEmptyContent

public boolean checkForEmptyContent()
Flags this type as checked for empty content.


showLabel

public void showLabel(boolean visible)
Sets the label visible or invisible.

Specified by:
showLabel in interface Type
Parameters:
visible - true if the label should be visible

setVisible

public void setVisible(boolean visible)
Description copied from interface: Type
Sets the visualizer of this type visible or invisible at runtime. Note: If you want to exclude the type of the rendering process, use setRenderable(false)!

Specified by:
setVisible in interface Type
Parameters:
visible - true if the component should be visible
See Also:
Type.setVisible(boolean)

setRenderable

public void setRenderable(boolean renderable)
Description copied from interface: Type
Defines if the type should be included into the rendering process. Note: If the type is not rendered it can't be make visible by an uiAction defined in a rule!

Specified by:
setRenderable in interface Type
Parameters:
renderable - false if the type should not be rendered
See Also:
Type.setRenderable(boolean)

isRenderable

public boolean isRenderable()
Description copied from interface: Type
Returns true if the type is included into the rendering process. Note: If the type is not rendered it can't be make visible by an uiAction defined in a rule!

Specified by:
isRenderable in interface Type
See Also:
Type.isRenderable()

setVisibleAndSerializable

public void setVisibleAndSerializable(boolean visible,
                                      boolean isSerializable)
Sets the component visible or invisible at runtime and defines if the data will be serialized or not.

Specified by:
setVisibleAndSerializable in interface Type
Parameters:
visible - true if the component should be visible at runtime
isSerializable - true if the entered data should be serialized

setEnabled

public void setEnabled(boolean enabled)
Sets if this type is enabled.

Specified by:
setEnabled in interface Type
Parameters:
enabled - indicates if this type is enabled

setParent

public void setParent(Type parent)
Gets the parent type of the current type.

Specified by:
setParent in interface Type
Parameters:
parent - the parent type of the current type

setSchemaElement

public void setSchemaElement(SchemaNode element)
Sets the meta information schema element.

Specified by:
setSchemaElement in interface Type
Parameters:
element - the meta information schema element

setTreeIcon

public void setTreeIcon(java.lang.String gifName)
Set the tree icon for this type.

Specified by:
setTreeIcon in interface Type
Parameters:
gifName - name of the gif for the tree icon

setUIDefinition

public void setUIDefinition(XUIDefinition uiDefinition)
Sets a XUI definition to this type.

Specified by:
setUIDefinition in interface Type
Parameters:
uiDefinition - a XUI definition

setUserObject

public void setUserObject(java.lang.Object object)
Sets any user object to this type.

Specified by:
setUserObject in interface Type
Parameters:
object - any user object

toString

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

Overrides:
toString in class java.lang.Object
Returns:
this type as a String representation

showMessage

public void showMessage(java.lang.String message,
                        java.lang.String classification,
                        boolean showDialog,
                        boolean needsUserAcceptance)
Description copied from interface: Type
Dislplays a message for this type with the passed information.

Specified by:
showMessage in interface Type
Parameters:
message -
classification -
showDialog -
needsUserAcceptance -

showHint

public void showHint(java.lang.String text,
                     boolean isFormula,
                     java.awt.Color color,
                     boolean isBold)
Shows an user defined hint message below the current component.

Parameters:
text - a hint text or a formula expression
isFormula - true, if the hint text should be treated as formula expression
color - the color of the hint text
isBold - true, if the hint text should be displayed bold

removeHint

public void removeHint()
Removes a user defined hint message below the current component.


removeMessage

public void removeMessage()
Removes all validation error messages for this type.

Specified by:
removeMessage in interface Type

addTreeNode

public void addTreeNode(boolean shouldBeSerialized)
Adds this type to the tree.

Specified by:
addTreeNode in interface Type
Parameters:
shouldBeSerialized - defines if this type should be serialized

removeTreeNode

public void removeTreeNode(boolean shouldBeSerialized)
Removes this type from the tree.

Specified by:
removeTreeNode in interface Type
Parameters:
shouldBeSerialized - defines if the content of this type will be serialized

hasValidationError

public boolean hasValidationError()
Description copied from interface: Type
Returns true if an validation error exists for this type.

Specified by:
hasValidationError in interface Type
See Also:
Type.hasValidationError()

isKeyContext

public boolean isKeyContext()
Description copied from interface: Type
Returns true if this type is a key context used in KeyKeyRefManager.

Specified by:
isKeyContext in interface Type
See Also:
Type.isKey()

setIsKeyContext

public void setIsKeyContext(boolean isContext)
Description copied from interface: Type
Set true if this type is a key context!

Specified by:
setIsKeyContext in interface Type
Parameters:
isContext - true if this type is a key context
See Also:
Type.isKey()

isKey

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

Specified by:
isKey in interface Type
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
See Also:
Type.isKeyRef()()

isGlobal

public boolean isGlobal()
Return true it this type is global.

Specified by:
isGlobal in interface Type

setBackground

public void setBackground(java.awt.Color color)
Specified by:
setBackground in interface Type
See Also:
Component.setBackground(java.awt.Color)

setForeground

public void setForeground(java.awt.Color color)
Specified by:
setForeground in interface Type
See Also:
Component.setForeground(java.awt.Color)

setLabelColor

public void setLabelColor(java.awt.Color color)
Specified by:
setLabelColor in interface Type
See Also:
Visualizer.setLabelColor(java.awt.Color)

setLabelText

public void setLabelText(java.lang.String text)
Specified by:
setLabelText in interface Type
See Also:
Visualizer.setLabelText(java.lang.String)

getChild

public abstract 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
Parameters:
name - name of the child
Returns:
a child with the given name
See Also:
Type.getChild(java.lang.String)

getChild

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

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

getTreeHierarchyContext

public java.lang.String getTreeHierarchyContext()
Description copied from interface: Type
Returns the treeEntry hierarchy of the current type as coma separated String (context).

Specified by:
getTreeHierarchyContext in interface Type
Returns:
the treeEntry hierarchy as String
See Also:
Type.getTreeHierarchyContext()

getFullCaption

public java.lang.String getFullCaption()
Description copied from interface: Type
Returns the nls translated (if any) xpath of a type up to its upper most represented tree node parent. All parent types are checked (unlike getShortCaption()). The parent type that are represented as tree nodes will be listed with their nls treeEntry label. Each element caption will be cut by the global defined length and will get the string "...". The elements will be separated by the string " - ". For elements with cardinality n, the index within the list will be added at the end. If a schema key has been defined for an element, the key will be used as index for n, else the xpath-index will be applied. Example: /purchaseOrder/item[s]/item[1]/productDescription This would give following expression: purchaseOrder - item - item[1] - productDescription

Specified by:
getFullCaption in interface Type
Returns:
an nls translated (if any) xpath of a type up to its upper most represented tree node parent
See Also:
Type.getFullCaption()

getFullCaption

public java.lang.String getFullCaption(int labelLength)
Description copied from interface: Type
Returns the nls translated (if any) xpath of a type up to its upper most represented tree node parent. All parent types are checked (unlike getShortCaption()). The parent type that are represented as tree nodes will be listed with their nls treeEntry label. Each element caption will be cut by the global defined length and will get the string "...". The elements will be separated by the string " - ". For elements with cardinality n, the index within the list will be added at the end. If a schema key has been defined for an element, the key will be used as index for n, else the xpath-index will be applied. Example: /purchaseOrder/item[s]/item[1]/productDescription This would give following expression: purchaseOrder - item - item[1] - productDescription

Specified by:
getFullCaption in interface Type
Parameters:
labelLength - the length of each element description label that will be displayed
Returns:
an nls translated (if any) xpath of a type up to its upper most represented tree node parent
See Also:
Type.getFullCaption(int)

getVisualName

public java.lang.String getVisualName()
Description copied from interface: Type
Returns the visual name of this type.

Specified by:
getVisualName in interface Type

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
Parameters:
event - occured DOMChangeEvent
See Also:
DOMChangeListener.domChanged(com.jaxfront.core.dom.DOMChangeEvent)

getPreviousSibling

public Type getPreviousSibling()
Description copied from interface: Type
Returns the previous sibling type of the current type.

Specified by:
getPreviousSibling in interface Type
Returns:
the previous sibling type
See Also:
Type.getPreviousSibling()

getNextSibling

public Type getNextSibling()
Description copied from interface: Type
Returns the next sibling type of the current type.

Specified by:
getNextSibling in interface Type
Returns:
the next sibling type
See Also:
Type.getNextSibling()

hasUIDefinition

public boolean hasUIDefinition()
Description copied from interface: Type
Returns true if the uiDefinition is alredy set.

Specified by:
hasUIDefinition in interface Type
See Also:
Type.hasUIDefinition()

setEditable

public void setEditable(boolean editable)
Description copied from interface: Type
Sets the component editable or not editable.

Specified by:
setEditable in interface Type
See Also:
Type.setEditable(boolean)

isIncluded

public boolean isIncluded()
Description copied from interface: Type
Returns true if this type was included from an included xui file.

Specified by:
isIncluded in interface Type

getMixedContent

public Type getMixedContent()
Description copied from interface: Type
Returns the mixed content leaf type or null if none.

Specified by:
getMixedContent in interface Type

setRecursionBuilt

public void setRecursionBuilt(boolean built)

hasRecursionBeenBuilt

public boolean hasRecursionBeenBuilt()
Description copied from interface: Type
Returns true if type is a recursion holder and recursive start element has been created yet.

Specified by:
hasRecursionBeenBuilt in interface Type

markAsDirtyXPath

public abstract void markAsDirtyXPath()
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
Parameters:
type - possible holder of a recursive element
instanceElement - to figure out deepness of the recursion

countSubTypes

public int countSubTypes()

getXUIDefinition

public XUIDefinition getXUIDefinition(boolean create,
                                      boolean isReleasing)

getXUIDefinition

public XUIDefinition getXUIDefinition(boolean create)
Description copied from interface: Type
Gets the current XUI definition saying if a xui definition should be initialized lazy if it does not exist.

Specified by:
getXUIDefinition in interface Type
Returns:
the current XUI definition

getLastParentList

public ListType getLastParentList()

getLastParentList

public ListType getLastParentList(ListType listType)

removeClientProperty

public void removeClientProperty(java.lang.String key)
Specified by:
removeClientProperty in interface Type

isMandatoryAxis

public boolean isMandatoryAxis()

isMandatoryAxis

public boolean isMandatoryAxis(boolean checkForEmptyContent)
Returns true if this type and all its ancestors are mandatory (1:1 cardinality). If an ancestor is root or another list, stop evaluating.


setAnonymous

public void setAnonymous(boolean isAnonymous)

isUserInstanciated

public boolean isUserInstanciated()
Specified by:
isUserInstanciated in interface Type

setUserInstanciated

public void setUserInstanciated(boolean userTriggered)
Specified by:
setUserInstanciated in interface Type

notifyKeyRefChildsForDeletion

public void notifyKeyRefChildsForDeletion(Type childToDelete,
                                          boolean check)
                                   throws KeyRefException
Throws:
KeyRefException

notifyKeyRefChildsForCreation

public void notifyKeyRefChildsForCreation(Type createdChild)

getAllKeyChilds

public void getAllKeyChilds(java.util.List found,
                            Type type)

getAllKeyFieldChilds

public void getAllKeyFieldChilds(java.util.List found,
                                 Type type)

getTemplate

public Type getTemplate()
Specified by:
getTemplate in interface Type

setTemplate

public void setTemplate(Type template)
Specified by:
setTemplate in interface Type

getParentEditingTypeClone

public Type getParentEditingTypeClone(ListType parentList,
                                      Type choiceType)

isReleased

public boolean isReleased()
Specified by:
isReleased in interface Type

getRefName

public java.lang.String getRefName()
Specified by:
getRefName in interface QName

setNoneChoosen

public void setNoneChoosen(boolean noneChoosen)

isNoneChoosen

public boolean isNoneChoosen()

getSchemaType

public SchemaType getSchemaType()
Specified by:
getSchemaType in interface Type

getStyle

public StyleDefinition getStyle()
Specified by:
getStyle in interface Type

getFirstNamedParent

public Type getFirstNamedParent()