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