Package org.waveprotocol.wave.model.adt.docbased

Examples of org.waveprotocol.wave.model.adt.docbased.CompoundInitializer


        return DocumentBasedAssignment.create(router, element);
      }

      @Override
      public Initializer createInitializer(AssignmentInitializer initialState) {
        return new CompoundInitializer(
            DocumentBasedStructuredValue.createInitialiser(Serializer.STRING,
                CollectionUtils.immutableMap(Key.ADDRESS, initialState.address, Key.ROLE,
                    RoleSerializer.INSTANCE.toString(initialState.role))));
      }
    };
View Full Code Here


        return DocumentBasedManifestThread.create(router, element);
      }

      @Override
      public Initializer createInitializer(ThreadInitialiser initialState) {
        return new CompoundInitializer(
            DocumentBasedBasicValue.createInitialiser(Serializer.STRING, THREAD_ID_ATTR,
                initialState.id),
            // NOTE(anorth): initialise the inline attribute only if true as
            // empty implies false.
            DocumentBasedBasicValue.createInitialiser(Serializer.BOOLEAN, INLINE_ATTR,
View Full Code Here

        return DocumentBasedAssignment.create(router, element);
      }

      @Override
      public Initializer createInitializer(AssignmentInitializer initialState) {
        return new CompoundInitializer(
            DocumentBasedStructuredValue.createInitialiser(Serializer.STRING,
                CollectionUtils.immutableMap(Key.ADDRESS, initialState.address, Key.ROLE,
                    RoleSerializer.INSTANCE.toString(initialState.role))));
      }
    };
View Full Code Here

        return DocumentBasedManifestThread.create(router, element);
      }

      @Override
      public Initializer createInitializer(ThreadInitialiser initialState) {
        return new CompoundInitializer(
            DocumentBasedBasicValue.createInitialiser(Serializer.STRING, THREAD_ID_ATTR,
                initialState.id),
            // NOTE(anorth): initialise the inline attribute only if true as
            // empty implies false.
            DocumentBasedBasicValue.createInitialiser(Serializer.BOOLEAN, INLINE_ATTR,
View Full Code Here

TOP

Related Classes of org.waveprotocol.wave.model.adt.docbased.CompoundInitializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.