Class BaseActionEventQRCodeScan

java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
javax.faces.event.ActionEvent
org.eclnt.jsfserver.elements.BaseActionEvent
org.eclnt.jsfserver.elements.events.BaseActionEventQRCodeScan
All Implemented Interfaces:
Serializable, IBaseActionEvent

public class BaseActionEventQRCodeScan extends BaseActionEvent
Event that is processed when a QR-Code is triggered by the QRCODESCANNERJSQR component.
See Also:
  • Constructor Details

    • BaseActionEventQRCodeScan

      public BaseActionEventQRCodeScan(javax.faces.component.UIComponent component, String type)
  • Method Details

    • getQRCodeDataAsBytes

      public byte[] getQRCodeDataAsBytes()
      Returns:
      The scanned QR-code as byte[] representation. May return an empty array if no QR-code was passed.
    • getQRCodeAsHexString

      public String getQRCodeAsHexString()
      Returns:
      The scanned QR-code as hexadecimal string representation. May return an empty string ("") if no QR-code was passed.
    • getQRCodeAsUTF8String

      public String getQRCodeAsUTF8String()
      Returns:
      The scanned QR-code as UTF-8 character representation. This method might throw some Error if the QR-code cannot be transferred into UTF-8 characters properly.