|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ndx.WrapperNdxImpl
public class WrapperNdxImpl
Provides an NdxImpl based on an Ndx.
Constructor Summary | |
---|---|
WrapperNdxImpl(Ndx ndx)
|
Method Summary | |
---|---|
int |
getBadBits()
Returns the bad bits mask used to mask the image/variance arrays against the quality array. |
Source |
getEtc()
Gets an XML Source holding the extension information. |
NDArray |
getImage()
Gets an NDArray containing the image data. |
String |
getLabel()
Gets the label component. |
NDArray |
getQuality()
Gets an NDArray containing the quality data. |
String |
getTitle()
Gets the title component. |
String |
getUnits()
Gets the units component. |
NDArray |
getVariance()
Gets an NDArray containing the variance data. |
Object |
getWCS()
Gets an object representing the world coordinate systems of this Ndx. |
boolean |
hasEtc()
Indicates whether an extensions DOM is available. |
boolean |
hasLabel()
Indicates whether a label component is available. |
boolean |
hasQuality()
Indicates whether quality array data is present. |
boolean |
hasTitle()
Indicates whether a title component is available. |
boolean |
hasUnits()
Indicates whether a units component is available. |
boolean |
hasVariance()
Indicates whether variance array data is present. |
boolean |
hasWCS()
Indicates whether a WCS component is available. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WrapperNdxImpl(Ndx ndx)
Method Detail |
---|
public int getBadBits()
NdxImpl
getBadBits
in interface NdxImpl
public boolean hasTitle()
NdxImpl
hasTitle
in interface NdxImpl
NdxImpl.getTitle()
will return a stringpublic String getTitle()
NdxImpl
NdxImpl.hasTitle()
returns true.
getTitle
in interface NdxImpl
public boolean hasLabel()
NdxImpl
hasLabel
in interface NdxImpl
NdxImpl.getLabel()
will return a stringpublic String getLabel()
NdxImpl
NdxImpl.hasLabel()
returns true.
getLabel
in interface NdxImpl
public boolean hasUnits()
NdxImpl
hasUnits
in interface NdxImpl
NdxImpl.getUnits()
will return a stringpublic String getUnits()
NdxImpl
NdxImpl.hasUnits()
returns true.
getUnits
in interface NdxImpl
public boolean hasEtc()
NdxImpl
hasEtc
in interface NdxImpl
public Source getEtc()
NdxImpl
NdxImpl.hasEtc()
returns true.
The result must represent an element, or a document with a root
element, whose tagname is "etc". This method may be called more
than once by BridgeNdx, so it must not return a source
which may have been exhausted by a previous call (for instance
an old StreamSource).
getEtc
in interface NdxImpl
public boolean hasWCS()
NdxImpl
hasWCS
in interface NdxImpl
public Object getWCS()
NdxImpl
NdxImpl.hasWCS()
returns true.
getWCS
in interface NdxImpl
public NDArray getImage()
NdxImpl
getImage
in interface NdxImpl
public boolean hasVariance()
NdxImpl
hasVariance
in interface NdxImpl
public NDArray getVariance()
NdxImpl
NdxImpl.hasVariance()
returns true.
getVariance
in interface NdxImpl
public boolean hasQuality()
NdxImpl
hasQuality
in interface NdxImpl
public NDArray getQuality()
NdxImpl
NdxImpl.hasQuality()
returns true.
getQuality
in interface NdxImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |