Coverage Report - org.apache.shindig.social.core.model.MessageImpl
 
Classes in this File Line Coverage Branch Coverage Complexity
MessageImpl
0%
0/17
N/A
1
 
 1  
 /*
 2  
  * Licensed to the Apache Software Foundation (ASF) under one
 3  
  * or more contributor license agreements. See the NOTICE file
 4  
  * distributed with this work for additional information
 5  
  * regarding copyright ownership. The ASF licenses this file
 6  
  * to you under the Apache License, Version 2.0 (the
 7  
  * "License"); you may not use this file except in compliance
 8  
  * with the License. You may obtain a copy of the License at
 9  
  *
 10  
  *     http://www.apache.org/licenses/LICENSE-2.0
 11  
  *
 12  
  * Unless required by applicable law or agreed to in writing,
 13  
  * software distributed under the License is distributed on an
 14  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 15  
  * KIND, either express or implied. See the License for the
 16  
  * specific language governing permissions and limitations under the License.
 17  
  */
 18  
 package org.apache.shindig.social.core.model;
 19  
 
 20  
 import org.apache.shindig.social.opensocial.model.Message;
 21  
 
 22  
 public final class MessageImpl implements Message {
 23  
 
 24  
   private String body;
 25  
   private String title;
 26  
   private Type type;
 27  
 
 28  0
   public MessageImpl() {
 29  0
   }
 30  
 
 31  0
   public MessageImpl(String initBody, String initTitle, Type initType) {
 32  0
     this.body = initBody;
 33  0
     this.title = initTitle;
 34  0
     this.type = initType;
 35  0
   }
 36  
 
 37  
   public String getBody() {
 38  0
     return this.body;
 39  
   }
 40  
 
 41  
   public void setBody(String newBody) {
 42  0
     this.body = newBody;
 43  0
   }
 44  
 
 45  
   public String getTitle() {
 46  0
     return this.title;
 47  
   }
 48  
 
 49  
   public void setTitle(String newTitle) {
 50  0
     this.title = newTitle;
 51  0
   }
 52  
 
 53  
   public Type getType() {
 54  0
     return type;
 55  
   }
 56  
 
 57  
   public void setType(Type newType) {
 58  0
     this.type = newType;
 59  0
   }
 60  
 
 61  
   public String sanitizeHTML(String htmlStr) {
 62  0
     return htmlStr;
 63  
   }
 64  
 }