fr.tireme.schemadoc.SDSchema
Class XSDSchemaHandler

java.lang.Object
  extended by fr.tireme.schemadoc.SDSchema.XSDSchemaHandler

public class XSDSchemaHandler
extends java.lang.Object

Maps the XSD eclipse loaded objects into their internal XSD representation (SDSchema package)

Author:
- Mike Niemaz

Constructor Summary
XSDSchemaHandler()
          Constructor for the XSDSchemaHandler object
 
Method Summary
 SDConcreteComponent getNextObject()
          Gets the next global element of the SDConcreteComponent
 SDSchema getSchema()
          Gets the current schema
 void insertObjectAfter(java.lang.Object obj, java.lang.Object ref)
          Insert a DOM 'ref' object after the given DOM object 'obj'.
 void processSchema(SDSchema xsdSchema)
          Processes the XSD loaded schema
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSDSchemaHandler

public XSDSchemaHandler()
Constructor for the XSDSchemaHandler object

Method Detail

processSchema

public void processSchema(SDSchema xsdSchema)
                   throws Xs2dtdException
Processes the XSD loaded schema

Parameters:
xsdSchema - - schema
Throws:
Xs2dtdException

getSchema

public SDSchema getSchema()
Gets the current schema

Returns:
SDSchema - schema

getNextObject

public SDConcreteComponent getNextObject()
                                  throws Xs2dtdException
Gets the next global element of the SDConcreteComponent

Returns:
SDConcreteComponent - The next global element, null if there is no more element.
Throws:
Xs2dtdException - - exception

insertObjectAfter

public void insertObjectAfter(java.lang.Object obj,
                              java.lang.Object ref)
Insert a DOM 'ref' object after the given DOM object 'obj'. Used for the globalization process.

Parameters:
obj -
ref -