org.apache.wsif.compiler.schema.tools
Class Schema2JROM

java.lang.Object
  |
  +--org.apache.wsif.compiler.schema.tools.Schema2JROM

public class Schema2JROM
extends java.lang.Object

Convert XML schema file into Java class files. Creation date: (5/29/00 1:55:51 AM)

Author:
Nirmal Mukhi (nmukhi@us.ibm.com), Owen Burroughs

Constructor Summary
Schema2JROM(java.lang.String schemaURI)
          Insert the method's description here.
 
Method Summary
 java.util.Map createJROMMapping(org.w3c.dom.Element root, java.util.Map reg)
          This method takes inputs of an Schema Element, a HashMap and returns the same HashMap filled with the mappings from schema QNames to JROM class names.
 java.lang.String getNamespaceURIMapping(java.lang.String namespaceURI)
          Insert the method's description here.
 java.util.Map getRegistry(java.util.Map reg)
          Insert the method's description here.
 boolean getVerbose()
           
 void setNamespaceURIMapping(java.lang.String namespaceURI, java.lang.String javaPath)
          Set the mapping between namespace URI and the java package name used in the generated class files.
 void setVerbose(boolean verbose)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schema2JROM

public Schema2JROM(java.lang.String schemaURI)
Insert the method's description here. Creation date: (6/22/00 10:08:16 AM)
Method Detail

createJROMMapping

public java.util.Map createJROMMapping(org.w3c.dom.Element root,
                                       java.util.Map reg)
                                throws SchemaException
This method takes inputs of an Schema Element, a HashMap and returns the same HashMap filled with the mappings from schema QNames to JROM class names. Repeatedly call this method on the same object will have cumulative effect. That is, the registry returned will have all the mappings for every DOM elements processed.
Parameters:
root - org.w3c.dom.Element
registry - java.util.HashMap
Returns:
java.util.HashMap

getNamespaceURIMapping

public java.lang.String getNamespaceURIMapping(java.lang.String namespaceURI)
Insert the method's description here. Creation date: (6/22/00 12:23:44 PM)
Parameters:
namespaceURI - java.lang.String
Returns:
java.lang.String

getRegistry

public java.util.Map getRegistry(java.util.Map reg)
Insert the method's description here. Creation date: (7/2/00 4:06:35 PM)
Parameters:
reg - java.util.HashMap
Returns:
java.util.HashMap

setNamespaceURIMapping

public void setNamespaceURIMapping(java.lang.String namespaceURI,
                                   java.lang.String javaPath)
Set the mapping between namespace URI and the java package name used in the generated class files. Creation date: (6/22/00 12:20:21 PM)
Parameters:
namespaceURI - java.lang.String
javaPath - java.lang.String

setVerbose

public void setVerbose(boolean verbose)

getVerbose

public boolean getVerbose()


Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.