org.foray.demo.embed
Class DemoObj2XML
java.lang.Object
org.foray.demo.embed.EmbedDemo
org.foray.demo.embed.DemoObj2XML
public class DemoObj2XML
- extends EmbedDemo
This class demonstrates the conversion of an arbitrary object file to an
XML file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DemoObj2XML
public DemoObj2XML()
convertProjectTeam2XML
public void convertProjectTeam2XML(ProjectTeam team,
File xml)
throws IOException,
TransformerException
- Demonstration of transformation of the Team data to XML.
- Parameters:
team
- The team to be transformed.xml
- The output file.
- Throws:
IOException
- For I/O errors.
TransformerException
- For errors during XSLT transformation.
createSampleProjectTeam
public static ProjectTeam createSampleProjectTeam()
- Static method creating some ProjectTeam sample data.
- Returns:
- The sample data.
main
public static void main(String[] args)
- Command-line interface to this class.
- Parameters:
args
- The command-line arguments. None are currently supported.
Copyright © 2017. All rights reserved.