EvalEntity Event

Fired every time an entity needs to be evaluated.

Syntax

public class DefaultXmlEventListener implements XmlEventListener {
  ...
  public void evalEntity(XmlEvalEntityEvent e) {}
  ...
}

public class XmlEvalEntityEvent {
  public String entity;
  public String value;
}

Remarks

The Value parameter contains a suggested value for the entity (normally the entity name itself). You may set Value to a value of your choice, which will be later passed into the text stream.

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