de.enough.polish.devices
Class Platform

java.lang.Object
  extended by de.enough.polish.devices.PolishComponent
      extended by de.enough.polish.devices.Platform
All Implemented Interfaces:
Comparable<PolishComponent>

public class Platform
extends PolishComponent

Represents a Java based platform like MIDP/1.0, WIPI/2.0 or DoJa/3.0.

Copyright Enough Software 2004 - 2011

 history
        23-May-2005 - rob creation
 

Author:
Robert Virkus, robert@enough.de

Field Summary
 
Fields inherited from class de.enough.polish.devices.PolishComponent
capabilities, capabilityManager, description, features, identifier, implicitGroupsByName, parent, supportsPolishGui
 
Constructor Summary
Platform(org.jdom.Element definition, CapabilityManager capabilityManager, PlatformManager platformManager)
          Creates a new Platform.
 
Method Summary
 
Methods inherited from class de.enough.polish.devices.PolishComponent
addCapability, addComponent, addDirectCapability, addDirectCapability, addDirectFeature, addFeature, addImplicitGroups, compareTo, getCapabilities, getCapability, getDescription, getFeatures, getFeaturesAsString, getIdentifier, hasFeature, loadCapabilities, loadGroups, removeComponent, stripText, supportsPolishGui, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Platform

public Platform(org.jdom.Element definition,
                CapabilityManager capabilityManager,
                PlatformManager platformManager)
         throws InvalidComponentException
Creates a new Platform.

Parameters:
definition - the XML definition of this platform.
capabilityManager - manages capabilities
platformManager - manages other (parent) platforms
Throws:
InvalidComponentException - when the given definition contains errors