1 /* 2 $Header: /cvsroot/ebxmlrr/ebxmlrr/test/com/sun/ebxml/registry/NAICSClassificationSchemeMarshalTest.java,v 1.1 2001/12/16 15:53:06 skchonghk Exp $ 3 */ 4 package com.sun.ebxml.registry; 5 6 import java.io.*; 7 import org.exolab.castor.xml.*; 8 import org.oasis.ebxml.registry.bindings.query.*; 9 import org.oasis.ebxml.registry.bindings.rim.*; 10 import org.oasis.ebxml.registry.bindings.rs.*; 11 import com.sun.ebxml.registry.util.*; 12 13 /*** 14 Testing program for NAICSImporter 15 */ 16 17 public class NAICSClassificationSchemeMarshalTest 18 { 19 public static void main(String [] args) throws Exception 20 { 21 if (args.length < 2) 22 { 23 System.out.println("usage: java NAICSClassificationSchemeMarshalTest " 24 + "<NAICS input file> <marshalling output file>"); 25 return; 26 } 27 28 NAICSImporter importer = new NAICSImporter(args[0], 29 UUIDFactory.getInstance()); 30 ClassificationScheme naics = importer.getClassificationScheme(); 31 FileWriter outputWriter = new FileWriter(args[1]); 32 Marshaller.marshal(naics, outputWriter); 33 } 34 }

This page was automatically generated by Maven