SecureBlackbox 2020 Android Edition

Questions / Feedback?

FormatElement Event

Reports the XML element that is currently being processed.

Syntax

public class DefaultSoapsignerEventListener implements SoapsignerEventListener {
  ...
  public void formatElement(SoapsignerFormatElementEvent e) {}
  ...
}

public class SoapsignerFormatElementEvent {
  public String startTagWhitespace;
  public String endTagWhitespace;
  public int level;
  public String path;
  public boolean hasChildElements;
}

Remarks

Path and Level specify the path to the XML element being processed and its nesting level, respectively.

HasChildElements specify if processed XML element has child elements.

Among other purposes, this event may be used to add whitespace formatting before or after a particular element in the signature.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Android Edition - Version 20.0 [Build 8156]