Пример #1
0
 @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();
 }
Пример #2
0
 @Override
 public void plan(final Serializer ser) throws IOException {
   ser.openElement(this);
   weight.plan(ser);
   expr[0].plan(ser);
   ser.closeElement();
 }
Пример #3
0
 @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();
 }
Пример #4
0
 @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();
 }
Пример #5
0
 @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();
 }
Пример #6
0
 @Override
 public void plan(final Serializer ser) throws IOException {
   ser.openElement(this, DATA, token(ictx.data.meta.name));
   ftexpr.plan(ser);
   ser.closeElement();
 }
Пример #7
0
 @Override
 public void plan(final Serializer ser) throws IOException {
   ser.openElement(this, TYP, Token.token(type.toString()));
   expr.plan(ser);
   ser.closeElement();
 }
Пример #8
0
 /**
  * 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();
 }