BowlerKernel
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
com.neuronrobotics.sdk.bootloader.Hexml Class Reference
Collaboration diagram for com.neuronrobotics.sdk.bootloader.Hexml:
Collaboration graph
[legend]

Public Member Functions

 Hexml (File hexml) throws ParserConfigurationException, SAXException, IOException
 
ArrayList< CoregetCores ()
 
String getRevision ()
 

Private Member Functions

void loadRevision (Document doc)
 

Static Private Member Functions

static String getTagValue (String sTag, Element eElement)
 

Private Attributes

String revision =""
 

Detailed Description

The Class Hexml.

Definition at line 22 of file Hexml.java.

Constructor & Destructor Documentation

◆ Hexml()

com.neuronrobotics.sdk.bootloader.Hexml.Hexml ( File  hexml) throws ParserConfigurationException, SAXException, IOException

Instantiates a new hexml.

Parameters
hexmlthe hexml
Exceptions
ParserConfigurationExceptionthe parser configuration exception
SAXExceptionthe SAX exception
IOExceptionSignals that an I/O exception has occurred.

sample code from http://www.mkyong.com/java/how-to-read-xml-file-in-java-dom-parser/

Definition at line 38 of file Hexml.java.

References com.neuronrobotics.sdk.bootloader.NRBootCoreType.find(), com.neuronrobotics.sdk.bootloader.Hexml.getTagValue(), and com.neuronrobotics.sdk.bootloader.Hexml.loadRevision().

Here is the call graph for this function:

Member Function Documentation

◆ getCores()

ArrayList<Core> com.neuronrobotics.sdk.bootloader.Hexml.getCores ( )

Gets the cores.

Returns
the cores

Definition at line 121 of file Hexml.java.

◆ getRevision()

String com.neuronrobotics.sdk.bootloader.Hexml.getRevision ( )

Gets the revision.

Returns
the revision

Definition at line 130 of file Hexml.java.

References com.neuronrobotics.sdk.bootloader.Hexml.revision.

◆ getTagValue()

static String com.neuronrobotics.sdk.bootloader.Hexml.getTagValue ( String  sTag,
Element  eElement 
)
staticprivate

Gets the tag value.

Parameters
sTagthe s tag
eElementthe e element
Returns
the tag value

Definition at line 110 of file Hexml.java.

Referenced by com.neuronrobotics.sdk.bootloader.Hexml.Hexml().

◆ loadRevision()

void com.neuronrobotics.sdk.bootloader.Hexml.loadRevision ( Document  doc)
private

Load revision.

Parameters
docthe doc

Definition at line 93 of file Hexml.java.

References com.neuronrobotics.sdk.bootloader.Hexml.revision.

Referenced by com.neuronrobotics.sdk.bootloader.Hexml.Hexml().

Member Data Documentation

◆ revision

String com.neuronrobotics.sdk.bootloader.Hexml.revision =""
private

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