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