Public Member Functions | |
String | getEncoding () |
Get encoding. | |
String | getDescription () |
Get grammar description. | |
setDescription (String description) | |
Set grammar description. | |
void | addStructure (Structure structure) |
Add structure. | |
void | insertStructureAtIndex (Structure structure, int index) |
Insert structure at index. | |
void | deleteStructureAtIndex (int index) |
Delete structure at index. | |
Structure | getRootNode () |
Get root node (structure) | |
void | setStartStructure (Structure startStructure) |
Set start structure. | |
Structure | getStructureByName (String name) |
Get structure by name. | |
Structure | getStructureByIndex (int index) |
Get structure by index. | |
int | getStructureCount () |
Get number of structures. | |
setName (String name) | |
Set grammar name. | |
String | getName () |
get grammar name | |
setUTI (String UTI) | |
Set UTI grammar is valid for. | |
String | getUTI () |
Get UTI grammar is valid for. | |
setFileExtension (String fileExtension) | |
Set file extension grammar is valid for. | |
String | getFileExtension () |
Get file extension grammar is valid for. | |
void addStructure | ( | Structure | structure | ) |
Add structure.
[in] | structure | The structure to be appended |
void deleteStructureAtIndex | ( | int | index | ) |
Delete structure at index.
[in] | index | Index where structure should be deleted |
String getDescription | ( | ) |
Get grammar description.
String getEncoding | ( | ) |
Get encoding.
String getFileExtension | ( | ) |
Get file extension grammar is valid for.
Structure getRootNode | ( | ) |
Get root node (structure)
Structure getStructureByIndex | ( | int | index | ) |
Get structure by index.
[in] | index | Index of the structure to get |
Get structure by name.
[in] | name | Name of the structure to get |
int getStructureCount | ( | ) |
Get number of structures.
void insertStructureAtIndex | ( | Structure | structure, |
int | index | ||
) |
Insert structure at index.
[in] | structure | The structure to be inserted |
[in] | index | Index where structure should be inserted |
setDescription | ( | String | description | ) |
Set grammar description.
[in] | description | The description of the grammar |
setFileExtension | ( | String | fileExtension | ) |
Set file extension grammar is valid for.
[in] | fileExtension | The file extension to be set |
setName | ( | String | name | ) |
void setStartStructure | ( | Structure | startStructure | ) |
setUTI | ( | String | UTI | ) |