com.jaxfront.core.type
Class AbstractListType
java.lang.Object
com.jaxfront.core.type.AbstractType
com.jaxfront.core.type.AbstractListType
- All Implemented Interfaces:
- DOMChangeListener, QName, ListType, Type, XUITypes, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.EventListener, java.util.List
- Direct Known Subclasses:
- ComplexGroupList, SimpleGroupList, SimpleTypeList
public abstract class AbstractListType
- extends AbstractType
- implements ListType
This class represents an abstract list type. A list type is a JAXFront type
that holds a list of other types.
- Version:
- 1.60
- See Also:
- Serialized Form
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 |
Method Summary |
void |
add(int index,
java.lang.Object element)
|
boolean |
add(java.lang.Object o)
|
Type |
add(java.lang.Object source,
Type type,
int index,
boolean check)
Adds a new type to the list with the possibility to place it somewhere in
the list. |
Type |
add(Type type)
Adds a new type to the list. |
boolean |
addAll(java.util.Collection c)
|
boolean |
addAll(int index,
java.util.Collection c)
|
Type |
addNewChild()
Adds a new child to the list. |
Type |
addNewChild(int index)
Adds a new child to the list. |
Type |
addNewChild(java.lang.Object source,
Type templateType,
int targetIndex)
Copies the given templateType and adds it to the list at the given index
position. |
Type |
addNewChild(Type templateType)
Adds a new child to the list. |
Type |
addNewChild(Type templateType,
int targetIndex)
Copies the given templateType and adds it to the list at the given index
position. |
Type |
addNewChild(Type templateType,
Type beforeType)
Adds a new child to the list and puts it before the passing type. |
void |
addNoTargetXUIDefinition(Type xuiType)
Adds an information to a XUI type if a list doesn't contain any types for
which a XUI definition would exist. |
void |
autoCreateEntries()
Create the initial number of required min occur list items. |
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(Document DOM,
org.w3c.dom.Element instanceElement,
boolean bindOnlyAvailable,
boolean removeChilds)
|
void |
bind(java.lang.Object trigger,
Type type)
Binds an existing JAXFront type and its value(s) to myself. |
void |
checkCardinality(int changes)
Checks if removing or adding a new list entry violates the cardinality. |
void |
checkXUIDefinition(Type originalType,
Type newType)
|
void |
clear()
|
boolean |
contains(java.lang.Object o)
|
boolean |
containsAll(java.util.Collection c)
|
void |
copyAndPasteChild(java.lang.Integer typeToCopyIndex,
java.lang.Integer targetIndex)
|
void |
copyAndPasteChild(Type typeToCopy)
|
void |
copyAndPasteChild(Type typeToCopy,
java.lang.Integer targetIndex)
|
Type |
copyChild(java.lang.Integer typeToCopyindex)
Copies the child with the given index and returns it. |
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. |
java.lang.Object |
delete(java.lang.Object source,
int index,
boolean isTemporary,
boolean check)
Deletes a type according its index from the list saying if this is just
temporary and if the cardinality should be checked. |
java.lang.Object |
delete(Type type)
Deletes a type from the list. |
java.lang.Object |
delete(Type type,
boolean isTemporary)
Deletes a type from the list saying if this is just temporary. |
java.lang.Object |
delete(Type type,
boolean isTemporary,
boolean check)
Deletes a type from the list saying if this is just temporary and if the
cardinality should be checked. |
java.lang.Object |
get(int index)
|
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 |
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. |
Type |
getEditingType()
Gets the current editable type of the list. |
java.util.List |
getList()
Gets the list of types. |
int |
getMaxOccurs()
Returns the maximum number of allowed list entries. |
int |
getMinOccurs()
Returns the minimum number of allowed list entries. |
java.util.List |
getNoTargetXUIDefinitions()
Gets a list of all noTargetXUIDefinitions. |
int[] |
getSortIndexes()
Returns the sort indexes or null. |
boolean |
hasAbstractContent()
|
boolean |
hasEmptyContent(boolean checkSerializeDefaults,
boolean checkDefaultValue)
|
int |
indexOf(java.lang.Object o)
|
boolean |
isChoice()
Returns true if this type is acting as a choice. |
boolean |
isList()
Returns true if this type represents a list. |
boolean |
isListItemRemoveable(Type listEntry)
|
java.util.Iterator |
iterator()
|
int |
lastIndexOf(java.lang.Object o)
|
java.util.ListIterator |
listIterator()
|
java.util.ListIterator |
listIterator(int index)
|
void |
maintainEditingTypeParent(Type editingType,
Type parent)
|
void |
maintainXUIDefinitions(Type type)
Traverses down the editing type and maintains all the xui definitions set
on the editing type axis to the passed type. |
void |
markAsDirtyXPath()
Checks if the passed type holds a recursive element. |
void |
move(int from,
int to)
Moves the type from position "from" to position "to", shifting the other
elements |
void |
release()
Release all allocated resources for this type. |
java.lang.Object |
remove(int index)
|
boolean |
remove(java.lang.Object o)
|
void |
removeAll()
Removes all childs of the list. |
void |
removeAll(boolean isTemporary,
boolean check)
Removes all childs of the list. |
boolean |
removeAll(java.util.Collection c)
|
java.lang.Object |
removeChild(int index)
Removes the child with the given index from the list. |
boolean |
removeChild(Type child)
Removes a child from the JAXFront DOM. |
java.lang.Object |
removeLastChild(boolean isTemporary)
Removes a child from the JAXFront DOM. |
void |
removeNoTargetXUIDefinition(Type xuiType)
Removes an information of a XUI type if a list doesn't contain any types
for which a XUI definition would exist. |
boolean |
retainAll(java.util.Collection c)
|
void |
serialize(java.lang.StringBuffer sb,
int indent,
boolean writeName,
boolean recursive)
Serializes the current subTree to a StringBuffer |
java.lang.Object |
set(int index,
java.lang.Object element)
|
void |
setChoosenKeyContextValue(java.lang.String xpathRelativeToChoosenKeyContext,
java.lang.String newValue)
|
void |
setChoosenKeyValue(java.lang.String xpathRelativeToChoosenKey,
java.lang.String newValue)
|
void |
setEditingType(Type editingType)
Resets the editing type. |
void |
setList(java.util.List list)
Sets the list entries. |
void |
setSortIndexes(int[] sortIndexes)
Set the sort indexes. |
int |
size()
|
java.util.List |
sort(int direction)
|
java.util.List |
subList(int fromIndex,
int toIndex)
|
void |
swap(int from,
int to)
Swaps the position of two given types in the list |
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.Object[] a)
|
boolean |
violateCardinality(int changes)
Checks if removing or adding a new list entry violates the cardinality. |
Methods inherited from class com.jaxfront.core.type.AbstractType |
addTreeNode, bind, checkForEmptyContent, checkKeysForDeletion, countSubTypes, deepClone, domChanged, getAllKeyChilds, getAllKeyFieldChilds, getChoosenType, getClientProperty, getDerivedTypes, getDirectChildValue, getDOM, getFirstNamedParent, getFullCaption, getFullCaption, getId, getLastParentList, getLastParentList, getMixedContent, getName, 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, isKey, isKeyContext, isKeyRef, isKeyRemovable, isLocked, isMandatoryAxis, isMandatoryAxis, isNoneChoosen, isRecursive, isReleased, isRenderable, isRepresentedAsHeader, isRepresentedAsTab, isRepresentedAsTreeNode, isRequired, isRoot, isSerializable, isSerializable, isSimple, isUserInstanciated, isVirtual, jumpTo, markAsIncluded, notifyKeyRefChildsForCreation, notifyKeyRefChildsForDeletion, propertyChange, putClientProperty, remove, 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, toString, unChoosenBranch, 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 |
addTreeNode, bind, getChoosenType, getClientProperty, getDerivedTypes, getDirectChildValue, getDOM, getFullCaption, getFullCaption, getId, getMixedContent, getName, getNamespace, getNextSibling, getParent, getParent, getParentList, getPrefixedXPathLocation, getPreviousSibling, getPropertyChangeSupport, getQName, getRepresentedTableLayoutParent, getRepresentedTabParent, getRepresentedTreeNodeHolder, getRepresentedTreeNodeParent, getRepresentedTreeNodeParentIcon, getRepresentedTreeNodeParentIconName, getSchemaElement, getSchemaType, getSerializationName, getShortCaption, getStyle, getTemplate, getTreeHierarchyContext, getTypeClassification, getUserObject, getVisualName, getW3CXPathLocation, getXPathLocation, getXUIDefinition, getXUIDefinition, hasChoosenType, hasRecursionBeenBuilt, hasRepresentableTreeChildren, hasUIDefinition, hasUnChoosenChoiceParent, hasUndefinedChildren, hasValidationError, isAbstract, isAnonymous, isAttribute, isComposite, isDerived, isDerivedFrom, isDerivedFromEditingType, isEditingType, isEmpty, isGlobal, isIncluded, isKey, isKeyContext, isKeyRef, isLocked, isRecursive, isReleased, isRenderable, isRepresentedAsHeader, isRepresentedAsTab, isRepresentedAsTreeNode, isRequired, isRoot, isSerializable, isSerializable, isSimple, isUserInstanciated, isVirtual, putClientProperty, remove, removeClientProperty, removeMessage, removeTreeNode, serialize, setApplicationRequired, setBackground, setChoosenType, setChoosenType, setCodeSetValues, setDirectChildValue, setDOM, setEditable, setEnabled, setForeground, setId, setIsKeyContext, setLabelColor, setLabelText, setParent, setRenderable, setSchemaElement, setSerializable, setSerializable, setTemplate, setTreeIcon, setUIDefinition, setUserInstanciated, setUserObject, setVisible, setVisibleAndSerializable, showLabel, showMessage, unChoosenBranch |
Methods inherited from interface java.util.List |
equals, hashCode, isEmpty |
AbstractListType
public AbstractListType(SchemaNode schemaElement,
Type editingType)
- AbstractListType constructor.
- Parameters:
schemaElement
- the element of the schema that represents this typeeditingType
- the current type to edit
add
public Type add(Type type)
- Adds a new type to the list.
- Specified by:
add
in interface ListType
- Parameters:
type
- a new type to add
- Returns:
- the type that was added to the list
sort
public java.util.List sort(int direction)
add
public Type add(java.lang.Object source,
Type type,
int index,
boolean check)
- Adds a new type to the list with the possibility to place it somewhere in
the list.
- Parameters:
type
- a new type to addbeforeType
- the type after which the new type should be placed in the listcheck
- saying if the cardinality/keyref should be checked
- Returns:
- the type that was added to the list
addNewChild
public Type addNewChild()
- Adds a new child to the list.
- Specified by:
addNewChild
in interface ListType
- Returns:
- the new child that has been added to the list
addNewChild
public Type addNewChild(int index)
- Adds a new child to the list.
- Specified by:
addNewChild
in interface ListType
- Returns:
- the new child that has been added to the list
addNewChild
public Type addNewChild(Type templateType)
- Adds a new child to the list.
- Specified by:
addNewChild
in interface ListType
- Parameters:
templateType
- the child to be cloned or null if none
- Returns:
- the new child that has been added to the list
addNewChild
public Type addNewChild(Type templateType,
Type beforeType)
- Adds a new child to the list and puts it before the passing type.
- Parameters:
templateType
- the child to be cloned or null if nonebeforeType
- the followed type of the new added type
- Returns:
- the new child that has been added to the list
hasAbstractContent
public boolean hasAbstractContent()
addNewChild
public Type addNewChild(java.lang.Object source,
Type templateType,
int targetIndex)
- Copies the given templateType and adds it to the list at the given index
position.
- Parameters:
templateType
- the child to be cloned or null if nonetargetIndex
- the index where to copy should be placed in the list
- Returns:
- the new child that has been added to the list
addNewChild
public Type addNewChild(Type templateType,
int targetIndex)
- Copies the given templateType and adds it to the list at the given index
position.
- Specified by:
addNewChild
in interface ListType
- Parameters:
templateType
- the child to be cloned or null if nonetargetIndex
- the index where to copy should be placed in the list
- Returns:
- the new child that has been added to the list
addNoTargetXUIDefinition
public void addNoTargetXUIDefinition(Type xuiType)
- Adds an information to a XUI type if a list doesn't contain any types for
which a XUI definition would exist. As soon as one or more types of the
list exist(s), the XUI definition will be applied to them.
- Specified by:
addNoTargetXUIDefinition
in interface ListType
- Parameters:
xuiType
- the type for which a XUI definition exists but no subtypes
were created
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 bindtrigger
- 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 belongsinstanceElement
- 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 belongsinstanceElement
- the element to bindbindOnlyAvailable
- indicates if the not available elements will be removed from
type tree
bind
public void bind(Document DOM,
org.w3c.dom.Element instanceElement,
boolean bindOnlyAvailable,
boolean removeChilds)
- Specified by:
bind
in interface ListType
checkCardinality
public void checkCardinality(int changes)
throws ValidationException
- Checks if removing or adding a new list entry violates the cardinality.
The passed int value indicates: 0 = no change, simple validation 1 = try
to add a new list entry -1 = try to remove a list entry
- Specified by:
checkCardinality
in interface ListType
- Parameters:
changes
- number of new list entries
- Throws:
ValidationException
violateCardinality
public boolean violateCardinality(int changes)
- Checks if removing or adding a new list entry violates the cardinality.
The passed int value indicates: true = ok, false = violate cardinality 0 =
no change, simple validation 1 = try to add a new list entry -1 = try to
remove a list entry
- Specified by:
violateCardinality
in interface ListType
- Parameters:
changes
- number of new list entries
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 belongsincludingData
- indicates if all binded data should be copied as well (default
is false)
- Returns:
- the cloned type
- Throws:
java.lang.CloneNotSupportedException
- if this type cannot be cloned
delete
public java.lang.Object delete(Type type)
throws ListModificationException
- Deletes a type from the list.
- Specified by:
delete
in interface ListType
- Parameters:
type
- the type to delete
- Throws:
ListModificationException
delete
public java.lang.Object delete(Type type,
boolean isTemporary)
throws ListModificationException
- Deletes a type from the list saying if this is just temporary.
- Parameters:
type
- the type to deleteisTemporary
- saying if this deletion is just temporary
- Throws:
ListModificationException
delete
public java.lang.Object delete(Type type,
boolean isTemporary,
boolean check)
throws ListModificationException
- Deletes a type from the list saying if this is just temporary and if the
cardinality should be checked.
- Parameters:
type
- the type to deleteisTemporary
- saying if this deletion is just temporarycheck
- indicates if cardinality/keyRef violation should be checked
- Throws:
ListModificationException
delete
public java.lang.Object delete(java.lang.Object source,
int index,
boolean isTemporary,
boolean check)
throws ListModificationException
- Deletes a type according its index from the list saying if this is just
temporary and if the cardinality should be checked.
- Parameters:
index
- index of the type to deleteisTemporary
- saying if this deletion is just temporarycheck
- indicates if cardinality/keyRef violation should be checked
- Throws:
ListModificationException
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 childnamespace
- namespace of the child
- Returns:
- a child with the given name
- See Also:
Type.getDirectChild(java.lang.String,java.lang.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:
- a list of all child types
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:
- a list of child types with a given name
getEditingType
public Type getEditingType()
- Gets the current editable type of the list.
- Specified by:
getEditingType
in interface ListType
- Returns:
- the current editable type of the list
getList
public java.util.List getList()
- Gets the list of types.
- Specified by:
getList
in interface ListType
- Returns:
- the list of types
getMaxOccurs
public int getMaxOccurs()
- Returns the maximum number of allowed list entries.
- Specified by:
getMaxOccurs
in interface ListType
getMinOccurs
public int getMinOccurs()
- Returns the minimum number of allowed list entries.
- Specified by:
getMinOccurs
in interface ListType
getNoTargetXUIDefinitions
public java.util.List getNoTargetXUIDefinitions()
- Gets a list of all noTargetXUIDefinitions. See
addNoTargetXUIDefinition(Type) for more details.
- Returns:
- a list of all noTargetXUIDefinitions
checkXUIDefinition
public void checkXUIDefinition(Type originalType,
Type newType)
isList
public boolean isList()
- Returns true if this type represents a list.
- Specified by:
isList
in interface Type
- Overrides:
isList
in class AbstractType
- Returns:
- true if this type represents a list, false otherwise
maintainXUIDefinitions
public void maintainXUIDefinitions(Type type)
- Description copied from interface:
ListType
- Traverses down the editing type and maintains all the xui definitions set
on the editing type axis to the passed type.
- Specified by:
maintainXUIDefinitions
in interface ListType
move
public void move(int from,
int to)
- Moves the type from position "from" to position "to", shifting the other
elements
- Specified by:
move
in interface ListType
- Parameters:
from
- the source positionto
- the destination position
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()
removeAll
public void removeAll()
- Removes all childs of the list.
- Specified by:
removeAll
in interface Type
- Specified by:
removeAll
in class AbstractType
removeAll
public void removeAll(boolean isTemporary,
boolean check)
- Removes all childs of the list.
- Specified by:
removeAll
in interface ListType
- Parameters:
isTemporary
- indicates if this deletion is temporarycheck
- indicates if cardinality/keyRef violation should be checked
removeChild
public boolean removeChild(Type child)
throws ListModificationException
- 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
- Throws:
ListModificationException
KeyRefException
removeChild
public java.lang.Object removeChild(int index)
throws ListModificationException
- Removes the child with the given index from the list.
- Specified by:
removeChild
in interface ListType
- Parameters:
index
- the index of the child that should be removed from the list
- Throws:
ListModificationException
removeLastChild
public java.lang.Object removeLastChild(boolean isTemporary)
throws ListModificationException
- Removes a child from the JAXFront DOM.
- Specified by:
removeLastChild
in interface ListType
- Parameters:
child
- a child type of this type
- Throws:
ListModificationException
removeNoTargetXUIDefinition
public void removeNoTargetXUIDefinition(Type xuiType)
- Removes an information of a XUI type if a list doesn't contain any types
for which a XUI definition would exist. As soon as one or more types of
the list exist(s), the XUI definition will be applied to them.
- Specified by:
removeNoTargetXUIDefinition
in interface ListType
- Parameters:
xuiType
- the type for which a XUI definition exists but no subtypes
were created
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 serializedindent
- size of indentwriteName
- true, if the name of the type should be serialized, false
otherwiserecursive
- true, if all containing types should be serialized
swap
public void swap(int from,
int to)
- Swaps the position of two given types in the list
- Specified by:
swap
in interface ListType
- Parameters:
from
- the source positionto
- the destination position
getDisplayValue
public java.lang.String getDisplayValue()
- Returns this type as a String representation.
- Specified by:
getDisplayValue
in interface Type
- Returns:
- this type as a String representation
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)
setChoosenKeyValue
public void setChoosenKeyValue(java.lang.String xpathRelativeToChoosenKey,
java.lang.String newValue)
- See Also:
com.jaxfront.core.type.AbstractType#setChoosenKeyValue(java.lang.String,
java.lang.String)
setChoosenKeyContextValue
public void setChoosenKeyContextValue(java.lang.String xpathRelativeToChoosenKeyContext,
java.lang.String newValue)
- See Also:
com.jaxfront.core.type.AbstractType#setChoosenKeyContextValue(java.lang.String,
java.lang.String)
setList
public void setList(java.util.List list)
- Description copied from interface:
ListType
- Sets the list entries.
- Specified by:
setList
in interface ListType
- Parameters:
list
- list entries- See Also:
ListType.setList(java.util.List)
getSortIndexes
public int[] getSortIndexes()
- Description copied from interface:
ListType
- Returns the sort indexes or null.
- Specified by:
getSortIndexes
in interface ListType
setSortIndexes
public void setSortIndexes(int[] sortIndexes)
- Description copied from interface:
ListType
- Set the sort indexes.
- Specified by:
setSortIndexes
in interface ListType
- Parameters:
sortIndexes
- new sort index array
isChoice
public boolean isChoice()
- Description copied from class:
AbstractType
- Returns true if this type is acting as a choice.
- Specified by:
isChoice
in interface Type
- Overrides:
isChoice
in class AbstractType
- Returns:
- true if this type is acting as a choice, false otherwise
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 checkSerializeDefaults,
boolean checkDefaultValue)
- Specified by:
hasEmptyContent
in class AbstractType
copyChild
public Type copyChild(java.lang.Integer typeToCopyindex)
- Copies the child with the given index and returns it.
- Specified by:
copyChild
in interface ListType
- Parameters:
typeToCopyIndex
- the index of the child that should be copied
copyAndPasteChild
public void copyAndPasteChild(Type typeToCopy,
java.lang.Integer targetIndex)
- Specified by:
copyAndPasteChild
in interface ListType
copyAndPasteChild
public void copyAndPasteChild(java.lang.Integer typeToCopyIndex,
java.lang.Integer targetIndex)
- Specified by:
copyAndPasteChild
in interface ListType
copyAndPasteChild
public void copyAndPasteChild(Type typeToCopy)
- Specified by:
copyAndPasteChild
in interface ListType
maintainEditingTypeParent
public void maintainEditingTypeParent(Type editingType,
Type parent)
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 belongsincludingData
- indicates if all binded data should be copied as well (default is false)
- Returns:
- the cloned type
- Throws:
java.lang.CloneNotSupportedException
setEditingType
public void setEditingType(Type editingType)
- Description copied from interface:
ListType
- Resets the editing type.
- Specified by:
setEditingType
in interface ListType
- Parameters:
editingType
- template type for a list
autoCreateEntries
public void autoCreateEntries()
- Description copied from interface:
ListType
- Create the initial number of required min occur list items.
- Specified by:
autoCreateEntries
in interface ListType
size
public int size()
- Specified by:
size
in interface java.util.Collection
- Specified by:
size
in interface java.util.List
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection
- Specified by:
clear
in interface java.util.List
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interface java.util.Collection
- Specified by:
toArray
in interface java.util.List
get
public java.lang.Object get(int index)
- Specified by:
get
in interface java.util.List
remove
public java.lang.Object remove(int index)
- Specified by:
remove
in interface java.util.List
add
public void add(int index,
java.lang.Object element)
- Specified by:
add
in interface java.util.List
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf
in interface java.util.List
isListItemRemoveable
public boolean isListItemRemoveable(Type listEntry)
throws ListModificationException
- Specified by:
isListItemRemoveable
in interface ListType
- Throws:
ListModificationException
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf
in interface java.util.List
add
public boolean add(java.lang.Object o)
- Specified by:
add
in interface java.util.Collection
- Specified by:
add
in interface java.util.List
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interface java.util.Collection
- Specified by:
contains
in interface java.util.List
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection
- Specified by:
remove
in interface java.util.List
addAll
public boolean addAll(int index,
java.util.Collection c)
- Specified by:
addAll
in interface java.util.List
addAll
public boolean addAll(java.util.Collection c)
- Specified by:
addAll
in interface java.util.Collection
- Specified by:
addAll
in interface java.util.List
containsAll
public boolean containsAll(java.util.Collection c)
- Specified by:
containsAll
in interface java.util.Collection
- Specified by:
containsAll
in interface java.util.List
removeAll
public boolean removeAll(java.util.Collection c)
- Specified by:
removeAll
in interface java.util.Collection
- Specified by:
removeAll
in interface java.util.List
retainAll
public boolean retainAll(java.util.Collection c)
- Specified by:
retainAll
in interface java.util.Collection
- Specified by:
retainAll
in interface java.util.List
iterator
public java.util.Iterator iterator()
- Specified by:
iterator
in interface java.lang.Iterable
- Specified by:
iterator
in interface java.util.Collection
- Specified by:
iterator
in interface java.util.List
subList
public java.util.List subList(int fromIndex,
int toIndex)
- Specified by:
subList
in interface java.util.List
listIterator
public java.util.ListIterator listIterator()
- Specified by:
listIterator
in interface java.util.List
listIterator
public java.util.ListIterator listIterator(int index)
- Specified by:
listIterator
in interface java.util.List
set
public java.lang.Object set(int index,
java.lang.Object element)
- Specified by:
set
in interface java.util.List
toArray
public java.lang.Object[] toArray(java.lang.Object[] a)
- Specified by:
toArray
in interface java.util.Collection
- Specified by:
toArray
in interface java.util.List