code: public boolean handleCloseGroup() {
  		if (this.text.length() > 0) {		
  			Document doc = this.rtfParser.getDocument();
  			if(doc != null) {
  				if(this.elementName.equals("author")){
  					doc.addAuthor(this.text);
  				}
  				if(this.elementName.equals("title")){
  					doc.addTitle(this.text);
  				}
  				if(this.elementName.equals("subject")){
  					doc.addSubject(this.text);
  				}
  			} else {
  				RtfDocument rtfDoc = this.rtfParser.getRtfDocument();
  				if(rtfDoc != null) {
  					if(this.elementName.equals("author")){
  						Meta meta = new Meta(this.elementName, this.text);
  						RtfInfoElement elem = new RtfInfoElement(rtfDoc, meta);
  						rtfDoc.getDocumentHeader().addInfoElement(elem);
  					}
  					if(this.elementName.equals("title")){
  						Meta meta = new Meta(this.elementName, this.text);
  						RtfInfoElement elem = new RtfInfoElement(rtfDoc, meta);
  						rtfDoc.getDocumentHeader().addInfoElement(elem);
  					}
  					if(this.elementName.equals("subject")){
  						Meta meta = new Meta(this.elementName, this.text);
  						RtfInfoElement elem = new RtfInfoElement(rtfDoc, meta);
  						rtfDoc.getDocumentHeader().addInfoElement(elem);
  					}
  				}
  			}
  			this.setToDefaults();
  		}
  		return true;
  	}
docs: /* (non-Javadoc)
  @see com.lowagie.text.rtf.direct.RtfDestination#handleGroupEnd()