|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cvm.model.handlers.schema.NegotiationSchemaParser
public class NegotiationSchemaParser
This class is used to parse the negotiation schema. Negotiation schemas are nothing more than an encasulation around the control and data schemas.
NegotiationSchema
,
ControlSchema
,
DataSchema
Method Summary | |
---|---|
static NegotiationSchemaParser |
getInstance()
Implementation of the singleton pattern. |
com.thoughtworks.xstream.XStream |
getXStreamParser()
This function initializes the XStream parser for parsing the NegotiationSchema/ |
java.lang.String |
parseSchemaToXML(NegotiationSchema schema)
This function takes a data schema object and converts it into XML format. |
NegotiationSchema |
parseXMLToSchema(java.lang.String xmlString)
This function parses an xml string in the format of a NegotiationSchema/ |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static NegotiationSchemaParser getInstance()
public com.thoughtworks.xstream.XStream getXStreamParser()
XStream
public NegotiationSchema parseXMLToSchema(java.lang.String xmlString)
xmlString
- negotiationSchema in XML
public java.lang.String parseSchemaToXML(NegotiationSchema schema)
schema
- NegotationSchema Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |