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