- java.lang.Object
-
- de.bernd_michaely.x3i.types.FovDataType
-
public class FovDataType extends Object
Class to represent the Fov data parser result.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FovDataType()
Protected default constructor.protected
FovDataType(FovData fovData)
Protected constructor to encapsulate any subtype of FovData.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<X3fData>
getListX3fData()
Returns an unmodifiable list of the X3fData found.X3fData
getX3fData()
Returns the X3fData found or null.X3iData
getX3iData()
Returns the X3iData found or null.boolean
isParsedSuccessfully()
boolean
isRecoverable()
boolean
isRecoveryMode()
boolean
isTypeRecognized()
Returns true, if any known type (X3[F|I] or FOV[b|i]) is recognized.boolean
isX3fData()
Returns true, if X3F (FOVb) data was found, false otherwise.boolean
isX3iData()
Returns true, if X3I (FOVi) data was found, false otherwise.
-
-
-
Constructor Detail
-
FovDataType
protected FovDataType()
Protected default constructor.
-
FovDataType
protected FovDataType(FovData fovData)
Protected constructor to encapsulate any subtype of FovData.- Parameters:
fovData
- the data to encapsulate
-
-
Method Detail
-
isX3iData
public boolean isX3iData()
Returns true, if X3I (FOVi) data was found, false otherwise.- Returns:
- true, if X3I (FOVi) data was found, false otherwise
-
isTypeRecognized
public boolean isTypeRecognized()
Returns true, if any known type (X3[F|I] or FOV[b|i]) is recognized.- Returns:
- true, if any known type is recognized
-
isX3fData
public boolean isX3fData()
Returns true, if X3F (FOVb) data was found, false otherwise.- Returns:
- true, if X3F (FOVb) data was found, false otherwise
-
getX3fData
public X3fData getX3fData()
Returns the X3fData found or null.- Returns:
- the X3fData found or null
-
getX3iData
public X3iData getX3iData()
Returns the X3iData found or null.- Returns:
- the X3iData found or null
-
getListX3fData
public List<X3fData> getListX3fData()
Returns an unmodifiable list of the X3fData found. The list is never null, but may be empty.- Returns:
- an unmodifiable list of X3fData found
-
isParsedSuccessfully
public boolean isParsedSuccessfully()
-
isRecoverable
public boolean isRecoverable()
-
isRecoveryMode
public boolean isRecoveryMode()
-
-