1 58 package org.apache.ecs.rtf; 59 60 public class Info extends RTFElement 61 { 62 63 { 64 setElementType("\\info"); 65 addElement(" "); 66 } 67 68 public Info() 69 { 70 } 71 72 77 public Info addElement(String hashcode,RTFElement element) 78 { 79 addElementToRegistry(hashcode,element); 80 return(this); 81 } 82 83 88 public Info addElement(String hashcode,String element) 89 { 90 addElementToRegistry(hashcode,element); 91 return(this); 92 } 93 94 98 public Info addElement(RTFElement element) 99 { 100 addElementToRegistry(element); 101 return(this); 102 } 103 104 108 public Info addElement(String element) 109 { 110 addElementToRegistry(element); 111 return(this); 112 } 113 117 public Info removeElement(String hashcode) 118 { 119 removeElementFromRegistry(hashcode); 120 return(this); 121 } 122 } 123 | Popular Tags |