it.imolinfo.jbi4corba.jbi.cxf
Class Jbi4CorbaIdlPreprocessor

java.lang.Object
  extended by it.imolinfo.jbi4corba.jbi.cxf.Jbi4CorbaIdlPreprocessor

public final class Jbi4CorbaIdlPreprocessor
extends Object

A Reader that implements the #include functionality of the preprocessor. Starting from one URL, it generates one stream of characters by tracking #defines, #ifdefs, etc. and following #includes accordingly.

This reader augments the stream with location information when the source URL is switched. This improves error reporting (with correct file and linenumber information) in the subsequent compilation steps like IDL parsing and also allows the implentation of code generation options like the -emitAll flag available in the JDK idlj tool.


Constructor Summary
Jbi4CorbaIdlPreprocessor(URL startURL, String startLocation, org.apache.cxf.tools.corba.idlpreprocessor.IncludeResolver resolver, org.apache.cxf.tools.corba.idlpreprocessor.DefineState state)
          Creates a new IncludeReader.
 
Method Summary
 Set<URL> getIdlURL()
          Return all idl Url that contain #include orb.idl ir.idl
 Set<String> getIncludesPath()
          Return the set that contains all the information for the inclusion of idl in the wsdl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jbi4CorbaIdlPreprocessor

public Jbi4CorbaIdlPreprocessor(URL startURL,
                                String startLocation,
                                org.apache.cxf.tools.corba.idlpreprocessor.IncludeResolver resolver,
                                org.apache.cxf.tools.corba.idlpreprocessor.DefineState state)
                         throws IOException
Creates a new IncludeReader.

Parameters:
startURL -
startLocation -
includeResolver -
defineState -
Throws:
IOException
Method Detail

getIncludesPath

public Set<String> getIncludesPath()
Return the set that contains all the information for the inclusion of idl in the wsdl


getIdlURL

public Set<URL> getIdlURL()
Return all idl Url that contain #include orb.idl ir.idl



Copyright © 2005-2010 Imola Informatica. All Rights Reserved.