Class PointCardRWService.EscNormalize

java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.pointcardrw.PointCardRWService.PrintDataPart
de.gmxhome.conrad.jpos.jpos_base.pointcardrw.PointCardRWService.EscNormalize
Enclosing class:
PointCardRWService

public static class PointCardRWService.EscNormalize extends PointCardRWService.PrintDataPart
Class describing normalize escape sequences ESC|N.
  • Method Details

    • getEscNormalize

      public static PointCardRWService.PrintDataPart getEscNormalize(PointCardRWService.PrintDataPart obj, int type, int subtype, boolean valueispresent)
      Checks whether the specified esc sequence parameters form a normalize sequence. If so, it returns an EscNormalize object. If not, the object given as first parameter will be returned.
      Parameters:
      obj - An object containing corresponding sequence parameters or null.
      type - The sequence type (see EscUnknown, property Esc).
      subtype - The subtype (see EscUnknown, property Subtype).
      valueispresent - The present flag (see EscUnknown, property ValuePresent).
      Returns:
      An EscNormalize object, if the sequence is a well-formed normalize sequence, otherwise obj.