org.apache.ws.jaxme.generator.impl
Class Inliner

java.lang.Object
  extended by org.apache.ws.jaxme.generator.impl.Inliner
All Implemented Interfaces:
SchemaTransformer

public class Inliner
extends java.lang.Object
implements SchemaTransformer

Performs the modifications on an XML schema file, as specified by an external binding file. This is based on a suggestion from Ortwin Glueck, see http://wiki.apache.org/ws/JaxMe/ExternalSchemaBindings.


Constructor Summary
Inliner(org.w3c.dom.Document[] pBindings)
          Creates a new instance with the given bindings.
 
Method Summary
 org.xml.sax.InputSource getTransformedInputSource()
          Returns the new input source.
 org.xml.sax.XMLReader getTransformedXMLReader()
          Returns the new XML reader.
 void parse(org.xml.sax.InputSource pSource, org.xml.sax.XMLReader pReader)
          Reads the given input source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Inliner

public Inliner(org.w3c.dom.Document[] pBindings)
Creates a new instance with the given bindings.

Method Detail

parse

public void parse(org.xml.sax.InputSource pSource,
                  org.xml.sax.XMLReader pReader)
           throws javax.xml.parsers.ParserConfigurationException,
                  org.xml.sax.SAXException,
                  java.io.IOException
Description copied from interface: SchemaTransformer
Reads the given input source.

Specified by:
parse in interface SchemaTransformer
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException

getTransformedInputSource

public org.xml.sax.InputSource getTransformedInputSource()
Description copied from interface: SchemaTransformer
Returns the new input source. Called after SchemaTransformer.parse(InputSource, XMLReader).

Specified by:
getTransformedInputSource in interface SchemaTransformer

getTransformedXMLReader

public org.xml.sax.XMLReader getTransformedXMLReader()
Description copied from interface: SchemaTransformer
Returns the new XML reader. Called after SchemaTransformer.parse(InputSource, XMLReader).

Specified by:
getTransformedXMLReader in interface SchemaTransformer