Package org.openxava.util.xmlparse
Class ParserBase
- java.lang.Object
-
- org.openxava.util.xmlparse.XmlElementsNames
-
- org.openxava.util.xmlparse.ParserBase
-
- Direct Known Subclasses:
AnnotationTypeDefaultParser
,ApplicationParser
,ControllersParser
,ConvertersParser
,DefaultSizeParser
,EditorsParser
,StereotypeTypeDefaultParser
,TabsDefaultValuesParser
,ValidatorsParser
public abstract class ParserBase extends XmlElementsNames
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
ENGLISH
protected static int
ESPANOL
protected int
lang
-
Fields inherited from class org.openxava.util.xmlparse.XmlElementsNames
xaction, xaction_property, xadd_action, xafter_each_request, xaggregate, xaggregate_mapping, xaligned_by_columns, xalmost_always, xalmost_never, xalways, xalways_enabled, xalways_reload, xannotation, xapply, xarguments, xas_aggregate, xavailable_on_new, xbase_condition, xbean, xbefore_each_request, xby_default, xcalculation, xcalculator, xclass, xcmp_field, xcmp_type, xcollapsed, xcollection, xcollection_view, xcomposite, xcondition, xconfirm, xconsult, xcontext, xcontroller, xconverter, xconverter_class, xconverter_property, xcreate, xcreate_reference, xdefault_label_format, xdefault_module, xdefault_order, xdefault_value_calculator, xdepends, xdepends_properties, xdepends_stereotypes, xdescription, xdescription_properties, xdescription_property, xdescriptions_list, xdetail_action, xdisplay_size, xdoc, xedit_action, xedit_only, xeditor, xeditors, xejb, xentity, xentity_mapping, xenvironment_var, xexcept_for_model, xexcept_for_models, xexceptions, xexclude_all, xexclude_by_key, xexcluded_actions, xextends, xfilter, xfinder, xfolder, xfor, xfor_all_models, xfor_annotation, xfor_collection, xfor_collections, xfor_element_collections, xfor_model, xfor_model_property, xfor_models, xfor_reference, xfor_references, xfor_stereotype, xfor_tab, xfor_tabs, xfor_type, xfor_valid_values, xformat, xformatter, xformula, xframe, xfrom, xfrom_type, xglobal, xgroup, xhas_annotation, xhas_stereotype, xhas_type, xhidden, xhide_detail_action, xhome, xicon, xif_possible, ximage, ximplements, xin_each_row, xinit_action, xinterface, xjndi, xkey, xkeystroke, xlabel, xlabel_format, xlabel_id, xlabel_style, xlanguages, xlike, xlist_action, xlist_formatter, xlist_properties, xloses_changed_data, xmaximum, xmediator, xmembers, xmethod, xminimum, xmode, xmode_controller, xmodel, xmodel_property, xmodel_reference, xmodel_type, xmodify, xmodify_reference, xmodule, xmultiple_property_mapping, xname, xnever, xnew_action, xno_label, xnormal, xnot_for_tabs, xobject, xon_change, xon_change_search, xon_create, xon_each_request, xon_init, xon_select_element_action, xonly_on_create, xorder, xorder_by_key, xpackage, xparameter, xpostcreate_calculator, xpostload_calculator, xpostmodify_calculator, xpostremove_calculator, xpreremove_calculator, xprimaryKey, xprocess_selected_items, xproperties, xproperty, xproperty_mapping, xproperty_view, xrange, xread_only, xreference, xreference_mapping, xreference_mapping_detail, xreference_view, xreferenced_model_property, xrelease_action, xremote, xremove_action, xremove_selected_action, xremove_validator, xreport, xrequired, xrole, xrow_action, xrow_style, xsave_action, xscale, xscope, xsearch, xsearch_action, xsearch_key, xsearch_list_condition, xsection, xselectable_items, xset, xshow_reference_view, xsize, xsmall, xstereotype, xstyle, xsubcontroller, xswing_view, xtab, xtable, xtable_column, xtakes_long, xtransient, xtype, xurl, xuse_object, xvalid_value, xvalid_values, xvalidator, xvalue, xversion, xview, xview_action, xweb_view, xwithframe
-
-
Constructor Summary
Constructors Constructor Description ParserBase(java.lang.String xmlFileURL)
ParserBase(java.lang.String xmlFileURL, int language)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
createObjects()
protected boolean
getAttributeBoolean(org.w3c.dom.Element el, java.lang.String label)
protected boolean
getAttributeBoolean(org.w3c.dom.Element el, java.lang.String label, boolean defaultValue)
protected int
getAttributeInt(org.w3c.dom.Element el, java.lang.String label)
protected boolean
getBoolean(org.w3c.dom.Element el, java.lang.String label)
protected org.w3c.dom.Element
getElement(org.w3c.dom.Element el, java.lang.String label)
protected int
getInt(org.w3c.dom.Element el, java.lang.String label)
protected org.w3c.dom.Element
getRoot()
protected java.lang.String
getString(org.w3c.dom.Element el, java.lang.String label)
void
parse()
-
-
-
Field Detail
-
ENGLISH
protected static final int ENGLISH
- See Also:
- Constant Field Values
-
ESPANOL
protected static final int ESPANOL
- See Also:
- Constant Field Values
-
lang
protected int lang
-
-
Method Detail
-
createObjects
protected abstract void createObjects() throws XavaException
- Throws:
XavaException
-
getBoolean
protected boolean getBoolean(org.w3c.dom.Element el, java.lang.String label)
-
getAttributeBoolean
protected boolean getAttributeBoolean(org.w3c.dom.Element el, java.lang.String label)
-
getAttributeBoolean
protected boolean getAttributeBoolean(org.w3c.dom.Element el, java.lang.String label, boolean defaultValue)
-
getElement
protected org.w3c.dom.Element getElement(org.w3c.dom.Element el, java.lang.String label)
-
getInt
protected int getInt(org.w3c.dom.Element el, java.lang.String label) throws XavaException
- Throws:
XavaException
-
getAttributeInt
protected int getAttributeInt(org.w3c.dom.Element el, java.lang.String label) throws XavaException
- Throws:
XavaException
-
getRoot
protected org.w3c.dom.Element getRoot()
-
getString
protected java.lang.String getString(org.w3c.dom.Element el, java.lang.String label)
-
parse
public void parse() throws XavaException
- Throws:
XavaException
-
-