Method Summary |
|
public static byte[] | compile(String xmlrpc, int swfversion) |
public static byte[] | compile(Reader reader, int xmlsize, int swfversion) Compile the XMLRPC response to SWF bytecode. |
public static byte[] | compileFault(String message, int swfversion) Used by compiler to send back exception messages. |
public static byte[] | compileResponse(int code, String message, int swfversion) |
static Element | getChildElement(Element parent, int n) Skips through comments and spaces. |
static DocumentBuilderFactory | getDocumentBuilderFactory() Get document builder factory. |
static List | getElementsByTagName(Element parent, String tag) Get the list of first-level children based on tag name. |
static String | getFirstChildTextString(Element parent) Get text string of an element. |
public byte[] | getSWF(Element element, int xmlsize, int swfversion) |
public static void | main(String[] args) Main. |
public Program | makeProgram(Element element, int xmlsize) Produces a JGenerator Flash Program containing executable SWF codes to
build an XML datasource structure which represents this XML stream.
Parameters: element - xml response document element Parameters: xmlsize - size of xml used to create initial flash buffer. |
public FlashFile | makeSWF(Element element, int xmlsize, int swfversion) |
void | pushBoolean(boolean b) Snarfed from Program.push(Object o) in jgenerator-2.2. |
void | writeArray(Element array) Write XMLRPC array response to SWF. |
void | writeBase64(Element base64val) Unimplemented. |
void | writeBoolean(String booleanval) Write XMLRPC boolean response to SWF. |
void | writeDateTime(Element datetimeval) Unimplemented. |
void | writeDouble(String doubleval) Write XMLRPC double response to SWF. |
void | writeFault(Element fault) Write XMLRPC fault response struct to SWF. |
void | writeInteger(String intval) Write XMLRPC integer response to SWF. |
void | writeMember(Element member) Write XMLRPC struct member to SWF. |
void | writeParams(Element params) |
void | writeString(String string) Write XMLRPC string response to SWF. |
void | writeStruct(Element struct) Write XMLRPC struct response to SWF. |
void | writeValue(Element value) Write XMLRPC response to SWF. |
void | writeXMLRPCData(Element element) |
public static String | xmlFaultResponse(int code, String message) |