interface ItemFactory<T>
ItemFactory
can be used to instantiate a value object - such as Artist, Album, Track, Tag - from an XML element. Use the
ItemFactoryBuilder
to obtain item factories for a specific type.ItemFactoryBuilder
,
ResponseBuilder
Modifier and Type | Method and Description |
---|---|
T |
createItemFromElement(DomElement element)
Create a new instance of the type
T , based on the passed DomElement . |
T createItemFromElement(DomElement element)
T
, based on the passed DomElement
.element
- the XML elementWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses