Package org.waveprotocol.wave.federation.proto.ProtocolDocumentOperationProtoImpl

Examples of org.waveprotocol.wave.federation.proto.ProtocolDocumentOperationProtoImpl.ComponentProtoImpl.copyFrom()


  private ComponentProtoImpl getOrCreateComponentProtoImpl(Component message) {
    if (message instanceof ComponentProtoImpl) {
      return (ComponentProtoImpl) message;
    } else {
      ComponentProtoImpl messageImpl = new ComponentProtoImpl();
      messageImpl.copyFrom(message);
      return messageImpl;
    }
  }

  /** Get or create a AnnotationBoundaryProtoImpl from a AnnotationBoundary. */
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.