@Override public void plan(final Serializer ser) throws IOException { ser.openElement(this); for (final TypeCase c : cases) c.plan(ser); ts.plan(ser); ser.closeElement(); }
@Override public void plan(final Serializer ser) throws IOException { ser.openElement(this); weight.plan(ser); expr[0].plan(ser); ser.closeElement(); }
@Override public void plan(final Serializer ser) throws IOException { if (func.length == 0) return; ser.openElement(this); for (int i = 0; i < func.length; ++i) func[i].plan(ser); ser.closeElement(); }
@Override public final void plan(final Serializer ser) throws IOException { ser.openElement(this); ser.attribute(AXIS, Token.token(axis.name)); ser.attribute(TEST, Token.token(test.toString())); super.plan(ser); ser.closeElement(); }
@Override public void plan(final Serializer ser) throws IOException { ser.openElement(this, OP, Token.token(calc.name)); for (final Expr e : expr) e.plan(ser); ser.closeElement(); }
@Override public void plan(final Serializer ser) throws IOException { ser.openElement(this, DATA, token(ictx.data.meta.name)); ftexpr.plan(ser); ser.closeElement(); }
@Override public void plan(final Serializer ser) throws IOException { ser.openElement(this, TYP, Token.token(type.toString())); expr.plan(ser); ser.closeElement(); }
/** * Serializes the path node. * * @param ser serializer * @throws IOException I/O exception */ public void plan(final Serializer ser) throws IOException { ser.openElement(PATH); root.plan(data, ser); ser.closeElement(); }