Search in sources :

Example 1 with X_AD_Preference

use of org.compiere.model.X_AD_Preference in project adempiere by adempiere.

the class PreferenceElementHandler method create.

public void create(Properties ctx, TransformerHandler document) throws SAXException {
    int AD_Preference_ID = Env.getContextAsInt(ctx, X_AD_Preference.COLUMNNAME_AD_Preference_ID);
    X_AD_Preference m_Preference = new X_AD_Preference(ctx, AD_Preference_ID, getTrxName(ctx));
    AttributesImpl atts = new AttributesImpl();
    createPreferenceBinding(atts, m_Preference);
    document.startElement("", "", "preference", atts);
    document.endElement("", "", "preference");
}
Also used : AttributesImpl(org.xml.sax.helpers.AttributesImpl) X_AD_Preference(org.compiere.model.X_AD_Preference)

Aggregations

X_AD_Preference (org.compiere.model.X_AD_Preference)1 AttributesImpl (org.xml.sax.helpers.AttributesImpl)1