1 58 package org.apache.ecs.rtf; 59 60 public class RTF extends RTFElement 61 { 62 63 { 65 setElementType("\\rtf"); 66 } 67 68 71 public RTF() 72 { 73 } 74 75 80 public RTF addElement(String hashcode,RTFElement element) 81 { 82 addElementToRegistry(hashcode,element); 83 return(this); 84 } 85 86 91 public RTF addElement(String hashcode,String element) 92 { 93 addElementToRegistry(hashcode,element); 94 return(this); 95 } 96 97 101 public RTF addElement(RTFElement element) 102 { 103 addElementToRegistry(element); 104 return(this); 105 } 106 107 111 public RTF addElement(String element) 112 { 113 addElementToRegistry(element); 114 return(this); 115 } 116 117 121 public RTF removeElement(String hashcode) 122 { 123 removeElementFromRegistry(hashcode); 124 return(this); 125 } 126 127 } 128 | Popular Tags |