hypercast.util
Class CurrentConfigurationSchemaGenerator

java.lang.Object
  |
  +--hypercast.util.CurrentConfigurationSchemaGenerator

public class CurrentConfigurationSchemaGenerator
extends java.lang.Object

This class provides functions to create a schema tree for the given configuration XML document based on the hypercast configuration schema.


Constructor Summary
CurrentConfigurationSchemaGenerator()
          Constructor.
 
Method Summary
 org.w3c.dom.Element cerateSchemaTree(org.w3c.dom.Document doc, org.w3c.dom.Document xmlConfigurationDoc)
          Create schemaa for given configuration document.
 void createSchemaRecursive(org.w3c.dom.Element schemaElement, org.w3c.dom.Element xmlElement, org.w3c.dom.Element newSchemaElement)
          Create schema subtree from given schema Element and configuration XML Element.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentConfigurationSchemaGenerator

public CurrentConfigurationSchemaGenerator()
                                    throws java.io.IOException
Constructor.

Method Detail

cerateSchemaTree

public org.w3c.dom.Element cerateSchemaTree(org.w3c.dom.Document doc,
                                            org.w3c.dom.Document xmlConfigurationDoc)
Create schemaa for given configuration document.


createSchemaRecursive

public void createSchemaRecursive(org.w3c.dom.Element schemaElement,
                                  org.w3c.dom.Element xmlElement,
                                  org.w3c.dom.Element newSchemaElement)
Create schema subtree from given schema Element and configuration XML Element.