eventNode.setScope(scope);
}
}
public void writeNode(Node node, StringBuilder xmlDump, boolean includeMeta) {
EventNode eventNode = (EventNode) node;
writeNode("eventNode", eventNode, xmlDump, includeMeta);
String variableName = eventNode.getVariableName();
if (variableName != null && variableName.length() != 0) {
xmlDump.append("variableName=\"" + variableName + "\" ");
}
String scope = eventNode.getScope();
if (scope != null && scope.length() != 0) {
xmlDump.append("scope=\"" + scope + "\" ");
}
xmlDump.append(">" + EOL);
if (includeMeta) {
writeMetaData(eventNode, xmlDump);
}
xmlDump.append(" <eventFilters>" + EOL);
for (EventFilter filter: eventNode.getEventFilters()) {
if (filter instanceof EventTypeFilter) {
xmlDump.append(" <eventFilter "
+ "type=\"eventType\" "
+ "eventType=\"" + ((EventTypeFilter) filter).getType() + "\" />" + EOL);
} else {