/** * Constructs a new instance using the specified parser and registry. * @param parser a calendar parser used to construct the calendar * @param tzRegistry a timezone registry used to retrieve {@link TimeZone}s and * register additional timezone information found * in the calendar */ public CalendarBuilder(CalendarParser parser, TimeZoneRegistry tzRegistry) { this(parser, new PropertyFactoryRegistry(), new ParameterFactoryRegistry(), tzRegistry); }
/** * @param name a non-standard property name * @param factory a factory for the non-standard property */ public void register(String name, PropertyFactory factory) { registerExtendedFactory(name, factory); } }
/** * {@inheritDoc} */ public void startProperty(final String name) { // property names are case-insensitive, but convert to upper case to simplify further processing property = propertyFactory.createProperty(name.toUpperCase()); } }
/** * Constructs a new instance using the specified parser and registry. * * @param parser a calendar parser used to construct the calendar * @param tzRegistry a timezone registry used to retrieve {@link TimeZone}s and * register additional timezone information found * in the calendar */ public CalendarBuilder(CalendarParser parser, TimeZoneRegistry tzRegistry) { this(parser, new PropertyFactoryRegistry(), new ParameterFactoryRegistry(), tzRegistry); }
/** * @param name a non-standard property name * @param factory a factory for the non-standard property */ public void register(String name, PropertyFactory factory) { registerExtendedFactory(name, factory); } }
/** * {@inheritDoc} */ public void startProperty(final String name) { // property names are case-insensitive, but convert to upper case to simplify further processing property = propertyFactory.createProperty(name.toUpperCase()); } }
/** * Constructs a new instance using the specified parser and registry. * @param parser a calendar parser used to construct the calendar * @param tzRegistry a timezone registry used to retrieve {@link TimeZone}s and * register additional timezone information found * in the calendar */ public CalendarBuilder(final CalendarParser parser, final TimeZoneRegistry tzRegistry) { this(parser, new PropertyFactoryRegistry(), new ParameterFactoryRegistry(), tzRegistry); }
/** * @param name a non-standard property name * @param factory a factory for the non-standard property */ public void register(String name, PropertyFactory factory) { registerExtendedFactory(name, factory); } }
/** * {@inheritDoc} */ @Override public void startProperty(final String name) { // property names are case-insensitive, but convert to upper case to simplify further processing property = propertyFactory.createProperty(name.toUpperCase()); } }
/** * Constructs a new instance using the specified parser and registry. * * @param parser a calendar parser used to construct the calendar * @param tzRegistry a timezone registry used to retrieve {@link TimeZone}s and * register additional timezone information found * in the calendar */ public CalendarBuilder(CalendarParser parser, TimeZoneRegistry tzRegistry) { this(parser, new PropertyFactoryRegistry(), new ParameterFactoryRegistry(), tzRegistry); }
/** * @param name a non-standard property name * @param factory a factory for the non-standard property */ public void register(String name, PropertyFactory factory) { registerExtendedFactory(name, factory); } }
/** * {@inheritDoc} */ @Override public void startProperty(final String name) { // property names are case-insensitive, but convert to upper case to simplify further processing bs.setProperty(propertyFactory.createProperty(name.toUpperCase())); }
/** * @param bs the state */ public ContentHandlerImpl(final BuildState bs) { this.bs = bs; componentFactory = ComponentFactoryImpl.getInstance(); propertyFactory = new PropertyFactoryRegistry(); parameterFactory = new ParameterFactoryRegistry(); }
/** * @param name a non-standard property name * @param factory a factory for the non-standard property */ public void register(String name, PropertyFactory factory) { registerExtendedFactory(name, factory); } }
/** * Constructs a new calendar builder using the specified calendar parser. * * @param parser a calendar parser used to parse calendar files */ public CalendarBuilder(final CalendarParser parser) { this(parser, new PropertyFactoryRegistry(), new ParameterFactoryRegistry(), TimeZoneRegistryFactory.getInstance().createRegistry()); }
/** * Constructs a new calendar builder using the specified calendar parser. * * @param parser a calendar parser used to parse calendar files */ public CalendarBuilder(final CalendarParser parser) { this(parser, new PropertyFactoryRegistry(), new ParameterFactoryRegistry(), TimeZoneRegistryFactory.getInstance().createRegistry()); }
/** * Constructs a new calendar builder using the specified calendar parser. * @param parser a calendar parser used to parse calendar files */ public CalendarBuilder(final CalendarParser parser) { this(parser, new PropertyFactoryRegistry(), new ParameterFactoryRegistry(), TimeZoneRegistryFactory.getInstance().createRegistry()); }
/** * Constructs a new calendar builder using the specified timezone registry. * * @param tzRegistry a timezone registry to populate with discovered timezones */ public CalendarBuilder(final TimeZoneRegistry tzRegistry) { this(CalendarParserFactory.getInstance().createParser(), new PropertyFactoryRegistry(), new ParameterFactoryRegistry(), tzRegistry); }
/** * Constructs a new calendar builder using the specified timezone registry. * @param tzRegistry a timezone registry to populate with discovered timezones */ public CalendarBuilder(final TimeZoneRegistry tzRegistry) { this(CalendarParserFactory.getInstance().createParser(), new PropertyFactoryRegistry(), new ParameterFactoryRegistry(), tzRegistry); }
/** * Constructs a new calendar builder using the specified calendar parser. * @param parser a calendar parser used to parse calendar files */ public CalendarBuilder(final CalendarParser parser) { this(parser, new PropertyFactoryRegistry(), new ParameterFactoryRegistry(), TimeZoneRegistryFactory.getInstance().createRegistry()); }