Package org.waveprotocol.wave.model.schema.conversation.ConversationSchemas

Examples of org.waveprotocol.wave.model.schema.conversation.ConversationSchemas.DefaultDocumentSchema


       * Note that this is only necessary for new element types that are not
       * already in the main document schema.
       */
      @Override
      public DocumentSchema getSchema() {
        return new DefaultDocumentSchema() {
          {
            // Permit our doodad to appear inside a <body> element
            addChildren("body", MyDoodad.TAGNAME);

            // Permit a 'ref' attribute on the <mydoodad> element.
View Full Code Here


       * Note that this is only necessary for new element types that are not
       * already in the main document schema.
       */
      @Override
      public DocumentSchema getSchema() {
        return new DefaultDocumentSchema() {
          {
            // Permit our doodad to appear inside a <body> element
            addChildren("body", MyDoodad.TAGNAME);

            // Permit a 'ref' attribute on the <mydoodad> element.
View Full Code Here

TOP

Related Classes of org.waveprotocol.wave.model.schema.conversation.ConversationSchemas.DefaultDocumentSchema

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.