Package net.sourceforge.jarduino.message
Class ArduinoAttributes
java.lang.Object
net.sourceforge.jarduino.message.ArduinoAttributes
public class ArduinoAttributes extends Object
Attributes.
-
Method Summary
Modifier and Type Method Description ArduinoAttribute
getAttributeForName(String pName)
Obtain attribute for name.List<ArduinoAttribute>
getAttributes()
Obtain a list of all attributes in the system.static void
parseAttribute(ArduinoSystem pSystem, String pMarker, String pAttrDef)
parse the attribute.static void
parseAttributeDef(ArduinoSystem pSystem, String pMarker, String pAttrDef)
parse the attribute definition.static void
parseAttributeDefault(ArduinoSystem pSystem, String pMarker, String pAttrDef)
parse the attribute default.
-
Method Details
-
getAttributes
Obtain a list of all attributes in the system.- Returns:
- the attributes
-
getAttributeForName
Obtain attribute for name.- Parameters:
pName
- the name- Returns:
- the attribute
-
parseAttributeDef
public static void parseAttributeDef(ArduinoSystem pSystem, String pMarker, String pAttrDef) throws ArduinoExceptionparse the attribute definition.- Parameters:
pSystem
- the systempMarker
- the markerpAttrDef
- the attribute definition- Throws:
ArduinoException
- on error
-
parseAttributeDefault
public static void parseAttributeDefault(ArduinoSystem pSystem, String pMarker, String pAttrDef) throws ArduinoExceptionparse the attribute default.- Parameters:
pSystem
- the systempMarker
- the markerpAttrDef
- the attribute default definition- Throws:
ArduinoException
- on error
-
parseAttribute
public static void parseAttribute(ArduinoSystem pSystem, String pMarker, String pAttrDef) throws ArduinoExceptionparse the attribute.- Parameters:
pSystem
- the systempMarker
- the markerpAttrDef
- the attribute definition- Throws:
ArduinoException
- on error
-