Package xml.factories.element
Class XmlLightSourcesFactory
java.lang.Object
xml.factories.element.XmlFactoryFromElement<java.util.List<LightSource>>
xml.factories.element.XmlLightSourcesFactory
public class XmlLightSourcesFactory extends XmlFactoryFromElement<java.util.List<LightSource>>
This class is able to create a list of
LightSource
instances from an XML Element
.-
Constructor Summary
Constructors Constructor Description XmlLightSourcesFactory()
-
Method Summary
Modifier and Type Method Description protected java.util.List<LightSource>
createHelper(org.w3c.dom.Element element)
Construct a new instance of type T from an XMLElement
.Methods inherited from class xml.factories.element.XmlFactoryFromElement
create
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
XmlLightSourcesFactory
public XmlLightSourcesFactory()
-
-
Method Details
-
createHelper
Description copied from class:XmlFactoryFromElement
Construct a new instance of type T from an XMLElement
. This method is intended to be called byXmlFactoryFromElement.create(Element)
.- Specified by:
createHelper
in classXmlFactoryFromElement<java.util.List<LightSource>>
- Parameters:
element
- The XMLElement
representing the object to be created.- Returns:
- A new instance of type T created from the XML
Element
.
-