Class ArduinoAttributes

java.lang.Object
net.sourceforge.jarduino.message.ArduinoAttributes

public class ArduinoAttributes
extends Object
Attributes.
  • Method Details

    • getAttributes

      public List<ArduinoAttribute> getAttributes()
      Obtain a list of all attributes in the system.
      Returns:
      the attributes
    • getAttributeForName

      public ArduinoAttribute getAttributeForName​(String pName)
      Obtain attribute for name.
      Parameters:
      pName - the name
      Returns:
      the attribute
    • parseAttributeDef

      public static void parseAttributeDef​(ArduinoSystem pSystem, String pMarker, String pAttrDef) throws ArduinoException
      parse the attribute definition.
      Parameters:
      pSystem - the system
      pMarker - the marker
      pAttrDef - the attribute definition
      Throws:
      ArduinoException - on error
    • parseAttributeDefault

      public static void parseAttributeDefault​(ArduinoSystem pSystem, String pMarker, String pAttrDef) throws ArduinoException
      parse the attribute default.
      Parameters:
      pSystem - the system
      pMarker - the marker
      pAttrDef - the attribute default definition
      Throws:
      ArduinoException - on error
    • parseAttribute

      public static void parseAttribute​(ArduinoSystem pSystem, String pMarker, String pAttrDef) throws ArduinoException
      parse the attribute.
      Parameters:
      pSystem - the system
      pMarker - the marker
      pAttrDef - the attribute definition
      Throws:
      ArduinoException - on error