|
JPBRT 0.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpbrt.io.AbstractFactory<Shape>
org.jpbrt.io.ShapeFactory
public class ShapeFactory
ShapeFactory
creates a Shape
object based on the
following parameters.
Field Summary |
---|
Fields inherited from class org.jpbrt.io.AbstractFactory |
---|
params |
Constructor Summary | |
---|---|
ShapeFactory(java.util.HashMap<java.lang.String,java.lang.Object> params)
|
Method Summary | |
---|---|
Shape |
create(FactoryContext context)
|
void |
verifyParameters()
|
Methods inherited from class org.jpbrt.io.AbstractFactory |
---|
get, get, getArray, getBoolean, getFloat, getFloatArray, getInt, getIntArray, getString, put, verifyParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShapeFactory(java.util.HashMap<java.lang.String,java.lang.Object> params)
Method Detail |
---|
public Shape create(FactoryContext context)
create
in class AbstractFactory<Shape>
public void verifyParameters() throws java.io.IOException
verifyParameters
in class AbstractFactory<Shape>
java.io.IOException
|
Copyright 2010 © by the authors and contributors of the JPBRT project. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |