|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.harvard.hul.ois.mets.helper.Enum
edu.harvard.hul.ois.mets.Shape
This class encapsulates the area shape enumeration. See <http://www.loc.gov/standards/mets/>.
| Field Summary | |
static Shape |
CIRCLE
Circle shape. |
static Shape |
POLY
Polygon shape. |
static Shape |
RECT
Rectangle shape. |
| Constructor Summary | |
Shape(java.lang.String value)
Instantiate a Shape object. |
|
| Method Summary | |
static Shape |
parse(java.lang.String name)
Return the area shape by name. |
| Methods inherited from class edu.harvard.hul.ois.mets.helper.Enum |
equals, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final Shape RECT
public static final Shape CIRCLE
public static final Shape POLY
| Constructor Detail |
public Shape(java.lang.String value)
value - Shape value| Method Detail |
public static Shape parse(java.lang.String name)
throws MetsException
name - Shape name
MetsException - Unknown shape
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||