Package com.io7m.smfj.parser.api
Class SMFParserEventsDataAttributeValuesIgnoringReceiver
- java.lang.Object
-
- com.io7m.smfj.parser.api.SMFParserEventsDataAttributeValuesIgnoringReceiver
-
- All Implemented Interfaces:
SMFParserEventsDataAttributeValuesType,SMFParserEventsErrorType
public final class SMFParserEventsDataAttributeValuesIgnoringReceiver extends java.lang.Object implements SMFParserEventsDataAttributeValuesType
A convenient implementation of theSMFParserEventsDataAttributeValuesTypeinterface that delegates warnings and errors but ignores data.
-
-
Constructor Summary
Constructors Constructor Description SMFParserEventsDataAttributeValuesIgnoringReceiver(SMFParserEventsErrorType in_receiver)Construct a receiver.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonDataAttributeValueFinish()Parsing of data for the attribute has finished.voidonDataAttributeValueFloat1(double x)A data value has been received.voidonDataAttributeValueFloat2(double x, double y)A data value has been received.voidonDataAttributeValueFloat3(double x, double y, double z)A data value has been received.voidonDataAttributeValueFloat4(double x, double y, double z, double w)A data value has been received.voidonDataAttributeValueIntegerSigned1(long x)A data value has been received.voidonDataAttributeValueIntegerSigned2(long x, long y)A data value has been received.voidonDataAttributeValueIntegerSigned3(long x, long y, long z)A data value has been received.voidonDataAttributeValueIntegerSigned4(long x, long y, long z, long w)A data value has been received.voidonDataAttributeValueIntegerUnsigned1(long x)A data value has been received.voidonDataAttributeValueIntegerUnsigned2(long x, long y)A data value has been received.voidonDataAttributeValueIntegerUnsigned3(long x, long y, long z)A data value has been received.voidonDataAttributeValueIntegerUnsigned4(long x, long y, long z, long w)A data value has been received.voidonError(SMFErrorType e)An error has occurred.voidonWarning(SMFWarningType w)An error has occurred of a severity low enough that it should just be considered a warning.
-
-
-
Constructor Detail
-
SMFParserEventsDataAttributeValuesIgnoringReceiver
public SMFParserEventsDataAttributeValuesIgnoringReceiver(SMFParserEventsErrorType in_receiver)
Construct a receiver.- Parameters:
in_receiver- The error/warning receiver
-
-
Method Detail
-
onDataAttributeValueIntegerSigned1
public void onDataAttributeValueIntegerSigned1(long x)
Description copied from interface:SMFParserEventsDataAttributeValuesTypeA data value has been received.- Specified by:
onDataAttributeValueIntegerSigned1in interfaceSMFParserEventsDataAttributeValuesType- Parameters:
x- The x value
-
onDataAttributeValueIntegerSigned2
public void onDataAttributeValueIntegerSigned2(long x, long y)Description copied from interface:SMFParserEventsDataAttributeValuesTypeA data value has been received.- Specified by:
onDataAttributeValueIntegerSigned2in interfaceSMFParserEventsDataAttributeValuesType- Parameters:
x- The x valuey- The y value
-
onDataAttributeValueIntegerSigned3
public void onDataAttributeValueIntegerSigned3(long x, long y, long z)Description copied from interface:SMFParserEventsDataAttributeValuesTypeA data value has been received.- Specified by:
onDataAttributeValueIntegerSigned3in interfaceSMFParserEventsDataAttributeValuesType- Parameters:
x- The x valuey- The y valuez- The z value
-
onDataAttributeValueIntegerSigned4
public void onDataAttributeValueIntegerSigned4(long x, long y, long z, long w)Description copied from interface:SMFParserEventsDataAttributeValuesTypeA data value has been received.- Specified by:
onDataAttributeValueIntegerSigned4in interfaceSMFParserEventsDataAttributeValuesType- Parameters:
x- The x valuey- The y valuez- The z valuew- The w value
-
onDataAttributeValueIntegerUnsigned1
public void onDataAttributeValueIntegerUnsigned1(long x)
Description copied from interface:SMFParserEventsDataAttributeValuesTypeA data value has been received.- Specified by:
onDataAttributeValueIntegerUnsigned1in interfaceSMFParserEventsDataAttributeValuesType- Parameters:
x- The x value
-
onDataAttributeValueIntegerUnsigned2
public void onDataAttributeValueIntegerUnsigned2(long x, long y)Description copied from interface:SMFParserEventsDataAttributeValuesTypeA data value has been received.- Specified by:
onDataAttributeValueIntegerUnsigned2in interfaceSMFParserEventsDataAttributeValuesType- Parameters:
x- The x valuey- The y value
-
onDataAttributeValueIntegerUnsigned3
public void onDataAttributeValueIntegerUnsigned3(long x, long y, long z)Description copied from interface:SMFParserEventsDataAttributeValuesTypeA data value has been received.- Specified by:
onDataAttributeValueIntegerUnsigned3in interfaceSMFParserEventsDataAttributeValuesType- Parameters:
x- The x valuey- The y valuez- The z value
-
onDataAttributeValueIntegerUnsigned4
public void onDataAttributeValueIntegerUnsigned4(long x, long y, long z, long w)Description copied from interface:SMFParserEventsDataAttributeValuesTypeA data value has been received.- Specified by:
onDataAttributeValueIntegerUnsigned4in interfaceSMFParserEventsDataAttributeValuesType- Parameters:
x- The x valuey- The y valuez- The z valuew- The w value
-
onDataAttributeValueFloat1
public void onDataAttributeValueFloat1(double x)
Description copied from interface:SMFParserEventsDataAttributeValuesTypeA data value has been received.- Specified by:
onDataAttributeValueFloat1in interfaceSMFParserEventsDataAttributeValuesType- Parameters:
x- The x value
-
onDataAttributeValueFloat2
public void onDataAttributeValueFloat2(double x, double y)Description copied from interface:SMFParserEventsDataAttributeValuesTypeA data value has been received.- Specified by:
onDataAttributeValueFloat2in interfaceSMFParserEventsDataAttributeValuesType- Parameters:
x- The x valuey- The y value
-
onDataAttributeValueFloat3
public void onDataAttributeValueFloat3(double x, double y, double z)Description copied from interface:SMFParserEventsDataAttributeValuesTypeA data value has been received.- Specified by:
onDataAttributeValueFloat3in interfaceSMFParserEventsDataAttributeValuesType- Parameters:
x- The x valuey- The y valuez- The z value
-
onDataAttributeValueFloat4
public void onDataAttributeValueFloat4(double x, double y, double z, double w)Description copied from interface:SMFParserEventsDataAttributeValuesTypeA data value has been received.- Specified by:
onDataAttributeValueFloat4in interfaceSMFParserEventsDataAttributeValuesType- Parameters:
x- The x valuey- The y valuez- The z valuew- The w value
-
onDataAttributeValueFinish
public void onDataAttributeValueFinish()
Description copied from interface:SMFParserEventsDataAttributeValuesTypeParsing of data for the attribute has finished.- Specified by:
onDataAttributeValueFinishin interfaceSMFParserEventsDataAttributeValuesType
-
onWarning
public void onWarning(SMFWarningType w)
Description copied from interface:SMFParserEventsErrorTypeAn error has occurred of a severity low enough that it should just be considered a warning.- Specified by:
onWarningin interfaceSMFParserEventsErrorType- Parameters:
w- The warning
-
onError
public void onError(SMFErrorType e)
Description copied from interface:SMFParserEventsErrorTypeAn error has occurred. Parsing will continue but the file as a whole must be considered invalid.- Specified by:
onErrorin interfaceSMFParserEventsErrorType- Parameters:
e- The error
-
-