StartElement Event

Fired when a begin-element tag is encountered in the document.

Syntax

public class DefaultRestEventListener implements RestEventListener {
  ...
  public void startElement(RestStartElementEvent e) {}
  ...
}

public class RestStartElementEvent {
  public String namespace;
  public String element;
  public String QName;
  public boolean isEmpty;
}

Remarks

The StartElement event is fired when a begin-element tag is found in the document.

The element name is provided through the Element parameter. The attribute names and values (if any) are provided through the XAttributes collection.

The IsEmpty parameter is true when the event corresponds with an empty element declaration.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Java Edition - Version 20.0 [Build 8307]