Home | History | Annotate | Download | only in xml

Lines Matching refs:XML

17 package com.google.polo.wire.xml;
24 import com.google.polo.json.XML;
40 * A collection of methods to convert {@link PoloMessage}s to and from XML
59 * Key names for XML versions of messages.
62 // OuterMessage XML key names
68 // PairingRequestMessage XML key names
72 // OptionsMessage XML key names
77 // ConfigurationMessage XML key names
80 // EncodingOption XML key names
86 // SecretMessage XML key names
122 * Builds a {@link PoloMessage} from the XML version of the outer message.
124 * @param outerXml the outermost XML string
131 outerMessage = XML.toJSONObject(outerXml);
183 * Methods to convert XML inner messages to PoloMessage instances.
190 * JsonWireAdapter. However, the XML wire format was specified with slight
382 * Converts a {@link PoloMessage} to an XML string.
385 * @return the same message, as translated to XML
467 * Translates a {@link PairingRequestMessage} to an XML string.
482 return XML.toString(jsonObj);
486 * Translates a {@link PairingRequestAckMessage} to an XML string.
499 return XML.toString(jsonObj);
503 * Translates a {@link OptionsMessage} to an XML string.
530 return XML.toString(jsonObj);
534 * Translates a {@link ConfigurationMessage} to an XML string.
545 return XML.toString(jsonObj);
549 * Translates a {@link ConfigurationAckMessage} to an XML string.
556 * Translates a {@link SecretMessage} to an XML string.
566 return XML.toString(jsonObj);
570 * Translates a {@link SecretAckMessage} to an XML string.