example
Class XMLMockup
java.lang.Object
example.XMLMockup
- public class XMLMockup
- extends java.lang.Object
Generates a mock-up xml description for an AUV deployment
Use as:
XMLMockup xmlMockup = new XMLMockup(dir);
XmlBuilder xmlBuilder = xmlMockup.getXmlBuilder();
xmlBuilder.marshall() // creates the XML;
xmlBuilder.print() // prints to screen
// or xmlBuilder.print(someOutputStream) // writes XML to a Stream
Note: The pattern "****" indicates that XML data is missing from
the AUV metadata.
- Version:
- : $Revision: 1.3 $
The Monterey Bay Aquarium Research Institute (MBARI) provides this
documentation and code "as is", with no warranty, express or
implied, of its quality or consistency. It is provided without support and
without obligation on the part of MBARI to assist in its use, correction,
modification, or enhancement. This information should not be published or
distributed to third parties without specific written permission from MBARI.
Copyright 2002 MBARI.
MBARI Proprietary Information. All rights reserved.
- Author:
- : $Author: brian $
|
Constructor Summary |
XMLMockup(java.io.File dir)
|
XMLMockup(java.io.File dir,
java.net.URL url)
|
|
Method Summary |
moos.ssds.model.XmlBuilder |
getXmlBuilder()
XmlBuilder does all the XML manipulations. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLMockup
public XMLMockup(java.io.File dir)
throws java.net.MalformedURLException
- Parameters:
dir - The mission directory containing an AUV mission
XMLMockup
public XMLMockup(java.io.File dir,
java.net.URL url)
throws java.net.MalformedURLException
- Parameters:
dir - The source directoryurl - The Web URL to access this directory
getXmlBuilder
public moos.ssds.model.XmlBuilder getXmlBuilder()
- XmlBuilder does all the XML manipulations.
- Returns:
- XML generation object for creating SSDS metadata
- Since:
- Apr 15, 2003
main
public static void main(java.lang.String[] args)