org.freedesktop.dbus.bin
Class CreateInterface

java.lang.Object
  extended by org.freedesktop.dbus.bin.CreateInterface

public class CreateInterface
extends java.lang.Object

Converts a DBus XML file into Java interface definitions.


Nested Class Summary
static class CreateInterface.PrintStreamFactory
           
 
Field Summary
 java.lang.String comment
           
 
Constructor Summary
CreateInterface(CreateInterface.PrintStreamFactory factory, boolean builtin)
           
 
Method Summary
 void createInterface(java.io.Reader introspectdata)
          Output the interface for the supplied xml reader
static void main(java.lang.String[] args)
           
static void version()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comment

public java.lang.String comment
Constructor Detail

CreateInterface

public CreateInterface(CreateInterface.PrintStreamFactory factory,
                       boolean builtin)
Method Detail

version

public static void version()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

createInterface

public void createInterface(java.io.Reader introspectdata)
                     throws javax.xml.parsers.ParserConfigurationException,
                            org.xml.sax.SAXException,
                            java.io.IOException,
                            DBusException
Output the interface for the supplied xml reader

Parameters:
introspectdata - The introspect data reader
Throws:
javax.xml.parsers.ParserConfigurationException - If the xml parser could not be configured
org.xml.sax.SAXException - If a problem occurs reading the xml data
java.io.IOException - If an IO error occurs
DBusException - If the dbus related error occurs