public class PropertyFactoryRegistry
extends net.fortuna.ical4j.vcard.PropertyFactoryRegistry
Constructor and Description |
---|
PropertyFactoryRegistry()
Support overwriting default factories
|
Modifier and Type | Method and Description |
---|---|
net.fortuna.ical4j.vcard.PropertyFactory<? extends net.fortuna.ical4j.vcard.Property> |
getFactory(java.lang.String value) |
void |
register(java.lang.String value,
net.fortuna.ical4j.vcard.PropertyFactory<net.fortuna.ical4j.vcard.Property> factory) |
public PropertyFactoryRegistry()
public net.fortuna.ical4j.vcard.PropertyFactory<? extends net.fortuna.ical4j.vcard.Property> getFactory(java.lang.String value)
getFactory
in class net.fortuna.ical4j.vcard.PropertyFactoryRegistry
value
- a string representation of a property identifierpublic void register(java.lang.String value, net.fortuna.ical4j.vcard.PropertyFactory<net.fortuna.ical4j.vcard.Property> factory)
register
in class net.fortuna.ical4j.vcard.PropertyFactoryRegistry
name
- a non-standard property name to registerfactory
- a property factory for creating instances of the non-standard
property typeCopyright © 2021. All Rights Reserved.