Package xml.factories.element
Class XmlGeometryFactory
java.lang.Object
- Direct Known Subclasses:
XmlCylinderFactory
,XmlPlaneFactory
,XmlPolygonFactory
,XmlSphereFactory
,XmlTriangleFactory
,XmlTubeFactory
public abstract class XmlGeometryFactory extends XmlFactoryFromElement<Geometry>
This interface represents a class which is able to create
Geometry
instances from XML Element
s.-
Constructor Summary
Constructors Constructor Description XmlGeometryFactory()
-
Method Summary
Methods inherited from class xml.factories.element.XmlFactoryFromElement
create, createHelper
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
XmlGeometryFactory
public XmlGeometryFactory()
-
-
Method Details
-
material
Given an XML element for a geometry, it will extract and return the material of it.- Parameters:
element
- The XML element representing the geometry.- Returns:
- The material of the geometry according to the XML.
-