/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/ |
SerializerRegistration.java | 37 * its serializer. It also includes the class ID, as a short. 42 private Serializer serializer; field in class:SerializerRegistration 46 public SerializerRegistration(Serializer serializer, Class cls, short id) { 47 this.serializer = serializer; 53 * Get the serializer. 55 * @return The serializer. 57 public Serializer getSerializer() [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
SerializerMessages_en.java | 21 package org.apache.xml.serializer.utils;
|
SerializerMessages_zh_CN.java | 22 package org.apache.xml.serializer.utils;
|
Utils.java | 21 package org.apache.xml.serializer.utils; 24 * This class contains utilities used by the serializer. 27 * used by the serializer.
|
WrappedRuntimeException.java | 21 package org.apache.xml.serializer.utils; 32 * used by org.apache.xml.serializer.
|
/libcore/luni/src/test/java/libcore/xml/ |
KxmlSerializerTest.java | 34 XmlSerializer serializer = new KXmlSerializer(); local 35 serializer.setOutput(stringWriter); 36 serializer.startDocument("UTF-8", null); 37 serializer.startTag(NAMESPACE, "a"); 38 serializer.attribute(NAMESPACE, "cr", "\r"); 39 serializer.attribute(NAMESPACE, "lf", "\n"); 40 serializer.attribute(NAMESPACE, "tab", "\t"); 41 serializer.attribute(NAMESPACE, "space", " "); 42 serializer.endTag(NAMESPACE, "a"); 43 serializer.endDocument() 50 XmlSerializer serializer = new KXmlSerializer(); local 67 XmlSerializer serializer = new KXmlSerializer(); local 84 XmlSerializer serializer = new KXmlSerializer(); local 91 XmlSerializer serializer = newSerializer(); local 109 XmlSerializer serializer = newSerializer(); local 127 XmlSerializer serializer = newSerializer(); local 146 XmlSerializer serializer = new KXmlSerializer(); local [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TestResults.java | 104 * @param serializer 107 public void serialize(KXmlSerializer serializer) throws IOException { 108 mDeviceInfo.serialize(serializer); 109 serializeHostInfo(serializer); 110 serializeTestSummary(serializer); 115 r.serialize(serializer); 122 * @param serializer 124 private void serializeHostInfo(KXmlSerializer serializer) throws IOException { 125 serializer.startTag(ns, "HostInfo"); 131 serializer.attribute(ns, "name", hostName) [all...] |
Test.java | 150 * @param serializer 153 public void serialize(KXmlSerializer serializer) 155 serializer.startTag(CtsXmlResultReporter.ns, TAG); 156 serializer.attribute(CtsXmlResultReporter.ns, NAME_ATTR, getName()); 157 serializer.attribute(CtsXmlResultReporter.ns, RESULT_ATTR, mResult.getValue()); 158 serializer.attribute(CtsXmlResultReporter.ns, STARTTIME_ATTR, mStartTime); 159 serializer.attribute(CtsXmlResultReporter.ns, ENDTIME_ATTR, mEndTime); 162 serializer.startTag(CtsXmlResultReporter.ns, SCENE_TAG); 163 serializer.attribute(CtsXmlResultReporter.ns, MESSAGE_ATTR, mMessage); 165 serializer.startTag(CtsXmlResultReporter.ns, STACK_TAG) [all...] |
DeviceInfoResult.java | 74 * @param serializer 77 public void serialize(KXmlSerializer serializer) throws IOException { 78 serializer.startTag(ns, TAG); 83 serializer.endTag(ns, TAG); 89 serializer.startTag(ns, SCREEN_TAG); 90 serializer.attribute(ns, DeviceInfoConstants.RESOLUTION, 92 serializer.attribute(ns, DeviceInfoConstants.SCREEN_DENSITY, 94 serializer.attribute(ns, DeviceInfoConstants.SCREEN_DENSITY_BUCKET, 96 serializer.attribute(ns, DeviceInfoConstants.SCREEN_SIZE, 98 serializer.endTag(ns, SCREEN_TAG) [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
AccessibilityNodeInfoDumper.java | 83 XmlSerializer serializer = Xml.newSerializer(); local 85 serializer.setOutput(stringWriter); 86 serializer.startDocument("UTF-8", true); 87 serializer.startTag("", "hierarchy"); 88 serializer.attribute("", "rotation", Integer.toString(rotation)); 89 dumpNodeRec(root, serializer, 0, width, height); 90 serializer.endTag("", "hierarchy"); 91 serializer.endDocument(); 101 private static void dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer,int index, 103 serializer.startTag("", "node") [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
SerializerSwitcher.java | 30 import org.apache.xml.serializer.Serializer; 31 import org.apache.xml.serializer.SerializerFactory; 32 import org.apache.xml.serializer.Method; 45 * Switch to HTML serializer if element is HTML 85 // Serializer oldSerializer = transformer.getSerializer(); 86 Serializer oldSerializer = null; 90 Serializer serializer = local 96 serializer.setWriter(writer) 180 Serializer serializer = local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
DOMSerializer.java | 21 package org.apache.xml.serializer; 28 * Interface for a DOM serializer implementation. 30 * The DOMSerializer is a facet of a serializer and is obtained from the 31 * asDOMSerializer() method of the ({@link Serializer}) interface. 32 * A serializer may or may not support a DOM serializer, if it does not then the 40 * // Create a Serializer that will be used 42 * org.apache.xml.serializer.Serializer ser = ...; 45 * // serialize the DOM using that Serializer [all...] |
ExtendedLexicalHandler.java | 21 package org.apache.xml.serializer; 27 * This interface is intended to be used by a serializer.
|
Method.java | 21 package org.apache.xml.serializer; 35 * the properties to create a serializer. 40 * @see Serializer 77 * specified in the style sheet, and a serializer of this type wraps either an
|
TransformStateSetter.java | 21 package org.apache.xml.serializer; 30 * of the serializer on Xalan.
|
output_text.properties | 37 {http\u003a//xml.apache.org/xalan}content-handler=org.apache.xml.serializer.ToTextStream
|
output_html.properties | 41 {http\u003a//xml.apache.org/xalan}content-handler=org.apache.xml.serializer.ToHTMLStream 42 {http\u003a//xml.apache.org/xalan}entities=org/apache/xml/serializer/HTMLEntities
|
output_xml.properties | 44 {http\u003a//xml.apache.org/xalan}content-handler=org.apache.xml.serializer.ToXMLStream 45 {http\u003a//xml.apache.org/xalan}entities=org/apache/xml/serializer/XMLEntities
|
/external/chromium_org/chrome/common/metrics/ |
metrics_log_manager_unittest.cc | 17 // Dummy serializer that just stores logs in memory. 120 DummyLogSerializer* serializer = new DummyLogSerializer; local 121 log_manager.set_log_serializer(serializer); 139 EXPECT_EQ(0U, serializer->TypeCount(MetricsLogBase::INITIAL_LOG)); 140 EXPECT_EQ(1U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG)); 151 DummyLogSerializer* serializer = new DummyLogSerializer; local 152 log_manager.set_log_serializer(serializer); 159 serializer->persisted_logs_[MetricsLogBase::ONGOING_LOG].push_back(log); 174 EXPECT_EQ(0U, serializer->TypeCount(MetricsLogBase::INITIAL_LOG)); 175 EXPECT_EQ(1U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG)) 192 DummyLogSerializer* serializer = new DummyLogSerializer; local 232 DummyLogSerializer* serializer = new DummyLogSerializer; local 249 DummyLogSerializer* serializer = new DummyLogSerializer; local 267 DummyLogSerializer* serializer = new DummyLogSerializer; local 291 DummyLogSerializer* serializer = new DummyLogSerializer; local 316 DummyLogSerializer* serializer = new DummyLogSerializer; local 341 DummyLogSerializer* serializer = new DummyLogSerializer; local [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
TestPlan.java | 173 KXmlSerializer serializer = new KXmlSerializer(); local 174 serializer.setOutput(stream, "UTF-8"); 175 serializer.startDocument("UTF-8", false); 176 serializer.setFeature( 178 serializer.startTag(null, "TestPlan"); 179 serializer.attribute(null, "version", "1.0"); 181 serializer.startTag(null, ENTRY_TAG); 182 serializer.attribute(null, "uri", packageEntry.getKey()); 183 serializeFilter(serializer, packageEntry.getValue()); 184 serializer.endTag(null, ENTRY_TAG) [all...] |
/external/chromium_org/base/json/ |
json_file_value_serializer.cc | 30 JSONStringValueSerializer serializer(&json_string); 31 serializer.set_pretty_print(true); 33 serializer.SerializeAndOmitBinaryValues(root) : 34 serializer.Serialize(root); 96 JSONStringValueSerializer serializer(json_string); 97 serializer.set_allow_trailing_comma(allow_trailing_comma_); 98 return serializer.Deserialize(error_code, error_str);
|
/external/chromium/chrome/browser/extensions/ |
external_pref_extension_loader.cc | 19 ValueSerializer* serializer) { 21 Value* extensions = serializer->Deserialize(NULL, &error_msg); 76 JSONFileValueSerializer serializer(json_file); 77 prefs.reset(ExtractPrefs(json_file, &serializer)); 104 JSONStringValueSerializer serializer(json_data); 106 testing_prefs_.reset(ExtractPrefs(fake_json_path, &serializer));
|
/frameworks/base/services/java/com/android/server/display/ |
PersistentDataStore.java | 217 XmlSerializer serializer = new FastXmlSerializer(); local 218 serializer.setOutput(new BufferedOutputStream(os), "utf-8"); 219 saveToXml(serializer); 220 serializer.flush(); 269 private void saveToXml(XmlSerializer serializer) throws IOException { 270 serializer.startDocument(null, true); 271 serializer.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); 272 serializer.startTag(null, "display-manager-state"); 273 serializer.startTag(null, "remembered-wifi-displays"); 275 serializer.startTag(null, "wifi-display") [all...] |
/frameworks/base/services/java/com/android/server/input/ |
PersistentDataStore.java | 210 XmlSerializer serializer = new FastXmlSerializer(); local 211 serializer.setOutput(new BufferedOutputStream(os), "utf-8"); 212 saveToXml(serializer); 213 serializer.flush(); 259 private void saveToXml(XmlSerializer serializer) throws IOException { 260 serializer.startDocument(null, true); 261 serializer.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); 262 serializer.startTag(null, "input-manager-state"); 263 serializer.startTag(null, "input-devices"); 267 serializer.startTag(null, "input-device") [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
DOM3SerializerImpl.java | 22 package org.apache.xml.serializer.dom3;
26 import org.apache.xml.serializer.DOM3Serializer;
27 import org.apache.xml.serializer.SerializationHandler;
28 import org.apache.xml.serializer.utils.WrappedRuntimeException;
67 * Returns a DOMErrorHandler set on the DOM Level 3 Serializer.
78 * Returns a LSSerializerFilter set on the DOM Level 3 Serializer to filter nodes
118 * Sets a DOMErrorHandler on the DOM Level 3 Serializer.
129 * Sets a LSSerializerFilter on the DOM Level 3 Serializer to filter nodes
141 * Sets a SerializationHandler on the DOM Serializer.
|