gov.nasa.pds.search.core.extractor
Class XMLWriter

java.lang.Object
  extended by gov.nasa.pds.search.core.extractor.XMLWriter

public class XMLWriter
extends Object

Author:
jpadams

Constructor Summary
XMLWriter(Map map, File basedir, int seq, String classname)
           
 
Method Summary
 void addElement(String name, String value, boolean clean)
           
 boolean isCleanedAttr(String s1)
           
static void main(String[] args)
           
 String remNull(String s1)
          Remove String Nulls
 String repAllCharWStr(String s1)
          Replace HTML entities & with &, < with <, > with >, and " with "
 String repCharWStr(String str1, char rc, String rstr)
          Replace character with string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLWriter

public XMLWriter(Map map,
                 File basedir,
                 int seq,
                 String classname)
Method Detail

addElement

public void addElement(String name,
                       String value,
                       boolean clean)

repAllCharWStr

public String repAllCharWStr(String s1)
Replace HTML entities & with &, < with <, > with >, and " with "


remNull

public String remNull(String s1)
Remove String Nulls


repCharWStr

public String repCharWStr(String str1,
                          char rc,
                          String rstr)
Replace character with string


isCleanedAttr

public boolean isCleanedAttr(String s1)

main

public static void main(String[] args)
Parameters:
args -


Copyright © 2010-2012 Planetary Data System. All Rights Reserved.