public class MicroAgentDescriptorXML
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CNAME |
Constructor and Description |
---|
MicroAgentDescriptorXML() |
Modifier and Type | Method and Description |
---|---|
static COM.TIBCO.hawk.talon.MicroAgentDescriptor |
fromXML(java.io.Reader reader)
Returns a MicroAgentDescriptor object from a Reader.
|
static COM.TIBCO.hawk.talon.MicroAgentDescriptor |
restoreFromFile(java.lang.String fileName)
Restore a MicroAgentDescriptor from a file.
|
static void |
saveToPath(java.lang.String path,
COM.TIBCO.hawk.talon.MicroAgentDescriptor mad)
Save the MicroAgentDescriptor to a file in the given path.
|
static java.lang.String |
toXML(COM.TIBCO.hawk.talon.MicroAgentDescriptor mad)
Returns the XML representation of the specified MicroAgentDescriptor.
|
public static java.lang.String toXML(COM.TIBCO.hawk.talon.MicroAgentDescriptor mad) throws java.io.IOException
mad
- The MicroAgentDescriptor to obtain the XML representation.java.io.IOException
public static void saveToPath(java.lang.String path, COM.TIBCO.hawk.talon.MicroAgentDescriptor mad) throws java.io.IOException, java.lang.ClassNotFoundException
path
- The path where the MicroAgentDescriptor's XML representation is written to.
The name of the file created is obtain from the method getDisplayName() of the MicroAgentDescriptor.mad
- The MicroAgentDescriptor to be written.java.io.IOException
java.lang.ClassNotFoundException
public static COM.TIBCO.hawk.talon.MicroAgentDescriptor fromXML(java.io.Reader reader) throws java.io.IOException
reader
- The reader that the XML representation the MicroAgentDescriptor
object.java.io.IOException
public static COM.TIBCO.hawk.talon.MicroAgentDescriptor restoreFromFile(java.lang.String fileName) throws java.io.FileNotFoundException, java.io.IOException
fileName
- The fileName of the file that caontain the XML representation
of the MicroAgentDescriptor.java.io.FileNotFoundException
java.io.IOException
Copyright © 2000-2019 TIBCO Inc. All Rights Reserved.