fipaos.parser.envelope.xml
Class Parser
- public class Parser
Facade to provide FIPA-compliant (XC00085G) Envelope<->XML
translation
deparse
public static byte[] deparse(fipaos.ont.fipa.fipaman.Envelope env)
throws fipaos.parser.ParserException
- Convert the given Envelope into FIPA-defined XML format
- Parameters:
- env - The envelope to convert
- Returns: The byte[] representing the Envelope, or null
main
public static void main(String[] args)
throws java.lang.Throwable
parse
public static fipaos.ont.fipa.fipaman.Envelope parse(byte[] env)
throws fipaos.parser.ParserException
- Convert the given byte[] message into an Envelope
- Parameters:
- msg - byte[] representing the Envelope
- Returns: The Envelope object representing the original byte[]