public class Shape extends AbstractXJdfType<String,Shape>
| Constructor and Description |
|---|
Shape()
Default constructor.
|
Shape(double x,
double y)
Custom constructor, accepting several values for initializing.
|
Shape(double x,
double y,
double z)
Custom constructor, accepting several values for initializing.
|
Shape(String expression)
Custom Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getX()
Getter for x attribute.
|
double |
getY()
Getter for y attribute.
|
double |
getZ()
Getter for z attribute.
|
String |
marshal(Shape shape) |
String |
toString() |
Shape |
unmarshal(String v) |
equals, hashCodepublic Shape()
public Shape(double x,
double y)
public Shape(double x,
double y,
double z)
public Shape(String expression)
expression - Shape as String expression.public double getX()
public double getY()
public double getZ()
public String marshal(Shape shape)
marshal in class XmlAdapter<String,Shape>XmlAdapter.marshal(java.lang.Object)public Shape unmarshal(String v) throws Exception
unmarshal in class XmlAdapter<String,Shape>ExceptionXmlAdapter.unmarshal(java.lang.Object)public String toString()
toString in class AbstractXJdfType<String,Shape>Object.toString()Copyright © 2016. All rights reserved.