@Override public final void writeXML(final IndentWriter stream) throws XMLWriteError { stream.println("<Action name=\"" + mActionName + "\">"); stream.push(); for (final ActiconFeature feature : mFeatureList) { feature.writeXML(stream); stream.endl(); } stream.pop(); stream.print("</Action>"); stream.flush(); }
@Override public final void writeXML(final IndentWriter stream) throws XMLWriteError { stream.println( "<ActionObject " + "lower=\"" + mLower + "\" " + "upper=\"" + mUpper + "\" " + "name=\"" + mName + "\">"); stream.push(); for (final ActionFeature feature : mFeatureList) { feature.writeXML(stream); if (!feature.equals(mFeatureList.getLast())) { stream.endl(); } } stream.pop(); stream.print("</ActionObject>"); }