|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.imolinfo.jbi4corba.jbi.cxf.Jbi4CorbaIdlPreprocessor
public final class Jbi4CorbaIdlPreprocessor
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 |
---|
public Jbi4CorbaIdlPreprocessor(URL startURL, String startLocation, org.apache.cxf.tools.corba.idlpreprocessor.IncludeResolver resolver, org.apache.cxf.tools.corba.idlpreprocessor.DefineState state) throws IOException
startURL
- startLocation
- includeResolver
- defineState
-
IOException
Method Detail |
---|
public Set<String> getIncludesPath()
public Set<URL> getIdlURL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |