| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| RichText |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Copyright 2011 The Kuali Foundation | |
| 3 | * | |
| 4 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
| 5 | * you may not use this file except in compliance with the License. | |
| 6 | * You may obtain a copy of the License at | |
| 7 | * | |
| 8 | * http://www.osedu.org/licenses/ECL-2.0 | |
| 9 | * | |
| 10 | * Unless required by applicable law or agreed to in writing, software | |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 | * See the License for the specific language governing permissions and | |
| 14 | * limitations under the License. | |
| 15 | */ | |
| 16 | package org.kuali.student.common.infc; | |
| 17 | ||
| 18 | /** | |
| 19 | * A small object to hold rich text along with plain formatting that can be | |
| 20 | * more easily searched. | |
| 21 | * | |
| 22 | * @author Kuali Student Team (Kamal) | |
| 23 | * | |
| 24 | */ | |
| 25 | public interface RichText { | |
| 26 | ||
| 27 | /** | |
| 28 | * Name: Plain Text | |
| 29 | * | |
| 30 | * Plain text version of the rich text with all the special formatting | |
| 31 | * stripped out. | |
| 32 | * | |
| 33 | * @author nwright | |
| 34 | */ | |
| 35 | public String getPlain(); | |
| 36 | ||
| 37 | /** | |
| 38 | * Name: Formatted Text | |
| 39 | * | |
| 40 | * Formatted version of the rich text with all the formatting included. | |
| 41 | * | |
| 42 | * TODO: Define what format is to be used? Is it assumed to be HTML? or WORD? | |
| 43 | * or Wiki? | |
| 44 | */ | |
| 45 | public String getFormatted(); | |
| 46 | } | |
| 47 |