Package org.biojava.bio.program.xml
Class BaseXMLWriter
- java.lang.Object
-
- org.biojava.bio.program.xml.BaseXMLWriter
-
public class BaseXMLWriter extends Object
Base XMLWriter class for writing XML representations of Java Value Objects with bespoke architectures. Currently reporting QNames for all attribute values as a fix for needing to defining namespaces by attributes with QNames. This may not be ideal.Copyright © 2000 Cambridge Antibody Technology.
Primary author -
- Simon Brocklehurst (CAT)
- Tim Dilks (CAT)
- Colin Hardman (CAT)
- Stuart Johnston (CAT)
- Version:
- 1.01
- Author:
- Cambridge Antibody Technology (CAT), Greg Cox
-
-
Constructor Summary
Constructors Constructor Description BaseXMLWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
endElement()
String
indent()
String
nl()
String
startElement(String string)
String
startElement(String string, Attributes attributes)
String
writeEmptyElement(String string)
String
writeEmptyElement(String string, Attributes attributes)
String
writeHeader()
String
writePCData(String poPCData)
-
-
-
Constructor Detail
-
BaseXMLWriter
public BaseXMLWriter()
-
-
Method Detail
-
endElement
public String endElement()
-
startElement
public String startElement(String string)
-
startElement
public String startElement(String string, Attributes attributes)
-
writeEmptyElement
public String writeEmptyElement(String string)
-
writeEmptyElement
public String writeEmptyElement(String string, Attributes attributes)
-
writeHeader
public String writeHeader()
-
writePCData
public String writePCData(String poPCData)
-
-