public class Bml
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.Vector<java.lang.String> |
all_id_item_str |
int |
id |
int |
last_id_fork |
int |
last_id_item |
java.lang.String |
last_id_item_str |
Constructor and Description |
---|
Bml(int Id) |
Modifier and Type | Method and Description |
---|---|
void |
AddFace(Face face)
add a face element to a BML command
|
void |
AddFork(BmlFork bmlfork)
Add fork to a BML command.
|
void |
AddLoadImage(java.lang.String filename)
add a load image element to a BML command
|
void |
AddLoadImage(java.lang.String filename,
java.lang.String path)
add a load image element to a BML command
|
void |
addPosture(Posture posture)
add a posture element to a BML command
|
void |
AddSpeech(Speech speech)
add a speech element to a BML command
|
void |
AppendBmlContent(java.lang.String bmlString)
Appends a BML string the current BML content.
|
void |
EndBmlWriter()
Ends a BML command.
|
void |
EndFork()
Ends a BML fork.
|
java.lang.String |
GetBmlContent()
Getting the BML current content.
|
void |
resetPosture()
reset the posture to a predefined posture in MARC toolkit
|
void |
StartBmlWriter()
Put the start element of a BML command
|
public int id
public int last_id_fork
public int last_id_item
public java.lang.String last_id_item_str
public java.util.Vector<java.lang.String> all_id_item_str
public void StartBmlWriter()
public void AddFork(BmlFork bmlfork)
bmlfork
- BML fork to be addedpublic void AddLoadImage(java.lang.String filename, java.lang.String path)
filename
- image file namepath
- image pathpublic void AddLoadImage(java.lang.String filename)
filename
- image file namepublic void AddSpeech(Speech speech)
speech
- speech content to be addedpublic void addPosture(Posture posture)
posture
- posture content to be addedpublic void resetPosture()
public void AddFace(Face face)
face
- face content to be addedpublic void EndFork()
public void EndBmlWriter()
public java.lang.String GetBmlContent()
public void AppendBmlContent(java.lang.String bmlString)
bmlString
- BML string to be added