|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectviper.descriptors.attributes.Attribute_ellipse.EllipseValue
| Nested Class Summary |
| Nested classes inherited from class viper.descriptors.attributes.Measurable |
Measurable.Difference |
| Constructor Summary | |
protected |
Attribute_ellipse.EllipseValue()
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
|
Measurable.Difference |
getDifference(Measurable beta,
Measurable blackout,
Measurable ignore,
CanonicalFileDescriptor cfd)
Not optimized version. |
Measurable.Difference |
getDifference(Measurable beta,
Measurable blackout,
Measurable ignore,
CanonicalFileDescriptor cfd,
Measurable.Difference old)
For performance reasons, takes an optional (could be null) Measurable.Difference to replace the data from. |
java.lang.String |
getType()
Gets the type name. |
int |
hashCode()
|
AttributeValue |
setValue(org.w3c.dom.Element el)
Sets the state of the object to the data the xml-dom element represents. |
AttributeValue |
setValue(java.lang.String S)
Sets the state of the object to the data the String represents. |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc)
Returns an xml element for this object. |
boolean |
validate(AttributeValue v)
Checks to make sure that the value can be set. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected Attribute_ellipse.EllipseValue()
| Method Detail |
public java.lang.String toString()
public boolean equals(java.lang.Object o)
public int hashCode()
public Measurable.Difference getDifference(Measurable beta,
Measurable blackout,
Measurable ignore,
CanonicalFileDescriptor cfd)
MeasurablegetDifference (..., null).
getDifference in interface Measurablebeta - the value to subtract/get the difference fromblackout - the bad regionignore - the ignored regioncfd - the media's information
Measurable.getDifference(Measurable, Measurable, Measurable,
CanonicalFileDescriptor, Measurable.Difference)
public Measurable.Difference getDifference(Measurable beta,
Measurable blackout,
Measurable ignore,
CanonicalFileDescriptor cfd,
Measurable.Difference old)
Measurable
getDistance (alpha, beta, blackout, ignore)
should
have the same effect as
getDistance (alpha.getDifference (beta, blackout, ignore))
(Except for if alpha is null... then it will use
Distances.DefaultDifference
getDifference in interface Measurablebeta - the difference to get againstblackout - the measurable to count as badignore - the measurable region to ignorecfd - the media file descriptorold - an old difference to copy into, if possible, like the array
passed to list.toArray()
public java.lang.String getType()
Measurable
getType in interface Measurablepublic AttributeValue setValue(org.w3c.dom.Element el)
setValue in interface AttributeValueel - DOM Node to parse
java.lang.IllegalArgumentException - If the data is ill-formedpublic AttributeValue setValue(java.lang.String S)
setValue in interface AttributeValueS - String representation of this type of value.
java.lang.IllegalArgumentException - If the data is ill-formedpublic org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
Attribute.DEFAULT_NAMESPACE_QUALIFIER :type
.
toXML in interface AttributeValuedoc - The root for the element.
public boolean validate(AttributeValue v)
validate in interface AttributeValuev - the value to check
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||