Klasse ExportedObject

java.lang.Object
org.freedesktop.dbus.messages.ExportedObject

public class ExportedObject extends Object
  • Konstruktordetails

  • Methodendetails

    • generateAnnotationsXml

      protected String generateAnnotationsXml(AnnotatedElement _c)
      Generates the introspection data xml for annotations
      Parameter:
      _c - input interface/method/signal
      Gibt zurück:
      xml with annotation definition
    • generatePropertyXml

      protected String generatePropertyXml(DBusProperty _property) throws DBusException
      Generates the introspection data for the single property.
      Parameter:
      _property - input property annotation
      Gibt zurück:
      xml with property definition
      Löst aus:
      DBusException - in case of unknown data types
    • generatePropertyXml

      protected String generatePropertyXml(String _propertyName, Class<?> _propertyTypeClass, DBusProperty.Access _access) throws DBusException
      Generates the introspection data for the single property.
      Parameter:
      _propertyName - name
      _propertyTypeClass - type class
      _access - type access
      Gibt zurück:
      xml with property definition
      Löst aus:
      DBusException - in case of unknown data types
    • generatePropertiesXml

      protected String generatePropertiesXml(Class<?> _clz) throws DBusException
      Generates the introspection data for the input interface properties.
      Parameter:
      _clz - input interface
      Gibt zurück:
      xml with property definitions
      Löst aus:
      DBusException - in case of unknown data types
    • generateMethodsXml

      protected String generateMethodsXml(Class<?> _clz) throws DBusException
      Generates the introspection data for the input interface methods
      Parameter:
      _clz - input interface
      Gibt zurück:
      xml with method definitions
      Löst aus:
      DBusException - if marshalling fails
    • generateSignalsXml

      protected String generateSignalsXml(Class<?> _clz) throws DBusException
      Generates the introspection data for the input interface signals
      Parameter:
      _clz - input interface
      Gibt zurück:
      xml with signal definitions
      Löst aus:
      DBusException - in case of invalid signal name / data types
    • getDBusInterfaces

      protected Set<Class<?>> getDBusInterfaces(Class<?> _inputClazz)
      Get all valid DBus interfaces which are implemented in a given class. The search is performed without recursion taking into account object inheritance. A valid DBus interface must directly extend the DBusInterface.
      Parameter:
      _inputClazz - input object class
      Gibt zurück:
      set of DBus interfaces implements in the input class
    • getMethods

      public Map<MethodTuple,Method> getMethods()
    • getPropertyMethods

      public Map<PropertyRef,Method> getPropertyMethods()
    • getObject

      public Reference<DBusInterface> getObject()
    • getIntrospectiondata

      public String getIntrospectiondata()
    • getImplementedInterfaces

      public Set<Class<?>> getImplementedInterfaces()
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • isExcluded

      public static boolean isExcluded(Method _meth)