/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public Summary(final ParameterList aList, final String aValue) { super(SUMMARY, aList, new Factory()); setValue(aValue); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public Summary(final ParameterList aList, final String aValue) { super(SUMMARY, aList, PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public Summary(final ParameterList aList, final String aValue) { super(SUMMARY, aList, new Factory()); setValue(aValue); }
/** * @param aValue a value string for this component */ public Summary(final String aValue) { super(SUMMARY, PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public Summary(final ParameterList aList, final String aValue) { super(SUMMARY, aList, new OneOrLessParameterValidator(Parameter.ALTREP, Parameter.LANGUAGE), PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * @param aValue a value string for this component */ public Summary(final String aValue) { super(SUMMARY, new ParameterList(), new Factory()); setValue(aValue); }
/** * @param aValue a value string for this component */ public Summary(final String aValue) { super(SUMMARY, new ParameterList(), new Factory()); setValue(aValue); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component */ public Summary(final ParameterList aList, final String aValue) { super(SUMMARY, aList, new OneOrLessParameterValidator(Parameter.ALTREP, Parameter.LANGUAGE), PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * @param aValue a value string for this component */ public Summary(final String aValue) { super(SUMMARY, new ParameterList(), new OneOrLessParameterValidator(Parameter.ALTREP, Parameter.LANGUAGE), PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * @param aValue a value string for this component */ public Summary(final String aValue) { super(SUMMARY, new ParameterList(), new OneOrLessParameterValidator(Parameter.ALTREP, Parameter.LANGUAGE), PropertyFactoryImpl.getInstance()); setValue(aValue); }
/** * Update the SUMMARY property on a component. * @param text SUMMARY value to update. If null, the SUMMARY property * will be removed * @param comp component to update */ public static void setSummary(String text, Component comp) { Summary summary = (Summary) comp.getProperties().getProperty(Property.SUMMARY); if (text == null) { if (summary != null) { comp.getProperties().remove(summary); } return; } if (summary == null) { summary = new Summary(); comp.getProperties().add(summary); } summary.setValue(text); }
/** * Update the SUMMARY property on a component. * @param text SUMMARY value to update. If null, the SUMMARY property * will be removed * @param comp component to update */ public static void setSummary(String text, Component comp) { Summary summary = (Summary) comp.getProperties().getProperty(Property.SUMMARY); if (text == null) { if (summary != null) { comp.getProperties().remove(summary); } return; } if (summary == null) { summary = new Summary(); comp.getProperties().add(summary); } summary.setValue(text); }