Logo Search packages:      
Sourcecode: dbus-java version File versions  Download package

org::freedesktop::dbus::bin::CreateInterface Class Reference

List of all members.


Detailed Description

Converts a DBus XML file into Java interface definitions.

Definition at line 56 of file CreateInterface.java.


Public Member Functions

void createInterface (Reader introspectdata) throws ParserConfigurationException, SAXException, IOException, DBusException
 CreateInterface (PrintStreamFactory factory, boolean builtin)

Static Public Member Functions

static void main (String[] args) throws Exception
static void version ()

Public Attributes

String comment = ""

Package Functions

void createAnnotation (String name, String pack, PrintStream out) throws DBusException
void createException (String name, String pack, PrintStream out) throws DBusException
void createStruct (String name, Type[] type, String pack, PrintStream out, Map< StructStruct, Type[]> existing) throws DBusException, IOException
void createTuple (String name, int num, String pack, PrintStream out) throws DBusException
String parseAnnotation (Element ann, Set< String > imports, Set< String > annotations)
void parseInterface (Element iface, PrintStream out, Map< String, Integer > tuples, Map< StructStruct, Type[]> structs, Set< String > exceptions, Set< String > anns) throws DBusException
String parseMethod (Element meth, Set< String > imports, Map< String, Integer > tuples, Map< StructStruct, Type[]> structs, Set< String > exceptions, Set< String > anns) throws DBusException
String parseReturns (Vector< Element > out, Set< String > imports, Map< String, Integer > tuples, Map< StructStruct, Type[]> structs) throws DBusException
void parseRoot (Element root) throws DBusException, IOException
String parseSignal (Element signal, Set< String > imports, Map< StructStruct, Type[]> structs, Set< String > anns) throws DBusException

Static Package Functions

static void checkNode (Node n, String...names)
static Config parseParams (String[] args)
static void printSyntax (PrintStream o)
static void printSyntax ()

Package Attributes

boolean builtin

Private Member Functions

void createAnnotations (Set< String > annotations) throws DBusException, IOException
void createExceptions (Set< String > exceptions) throws DBusException, IOException
void createStructs (Map< StructStruct, Type[]> structs, Map< StructStruct, Type[]> existing) throws DBusException, IOException
void createTuples (Map< String, Integer > typeMap, String pack) throws DBusException, IOException

Static Private Member Functions

static String collapseType (Type t, Set< String > imports, Map< StructStruct, Type[]> structs, boolean container, boolean fullnames) throws DBusException
static String getJavaType (String dbus, Set< String > imports, Map< StructStruct, Type[]> structs, boolean container, boolean fullnames) throws DBusException

Private Attributes

final PrintStreamFactory factory

Classes

class  Config
class  ConsoleStreamFactory
class  FileStreamFactory
class  PrintStreamFactory

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index