1 22 23 package org.xquark.extractor.metadata; 24 25 29 public class Site extends NamedNode { 30 private static final String RCSRevision = "$Revision: 1.3 $"; 31 private static final String RCSName = "$Name: $"; 32 33 public Site() {} 34 35 38 public Site(String name) { 39 super(name); 40 } 41 42 public String pprint() { 43 StringBuffer retVal = new StringBuffer (); 44 45 String newLine = System.getProperty("line.separator"); 46 47 retVal.append("MWMWMWMWMW Site : "); 48 retVal.append(_name); 49 retVal.append(" MWMWMWMWMW"); 50 retVal.append(newLine); 51 52 for (int i = 0; i < _children.size(); i++) { 53 retVal.append(((NamedNode) _children.get(i)).pprint()); 54 retVal.append(newLine); 55 } 56 return retVal.toString(); 57 } 58 } 59 | Popular Tags |