diff options
author | corysmith <corysmith@google.com> | 2018-02-16 13:14:29 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-02-16 13:18:21 -0800 |
commit | f672a31b8b19baab95373e4f2f6d110aa8b8f0fb (patch) | |
tree | 58cef0309a67e62e3fe0ef024916d9d5c53bae8c /src/tools/android/java/com/google/devtools/build/android/XmlResourceValue.java | |
parent | 950bcf79c47484832bb4c84fbb23f6b56800e0b3 (diff) |
Normalized the serialization proto to save space and allow greater versatility in storage.
RELNOTES: None
PiperOrigin-RevId: 186036607
Diffstat (limited to 'src/tools/android/java/com/google/devtools/build/android/XmlResourceValue.java')
-rw-r--r-- | src/tools/android/java/com/google/devtools/build/android/XmlResourceValue.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/tools/android/java/com/google/devtools/build/android/XmlResourceValue.java b/src/tools/android/java/com/google/devtools/build/android/XmlResourceValue.java index f24d6b271a..e8cab89c19 100644 --- a/src/tools/android/java/com/google/devtools/build/android/XmlResourceValue.java +++ b/src/tools/android/java/com/google/devtools/build/android/XmlResourceValue.java @@ -13,12 +13,8 @@ // limitations under the License. package com.google.devtools.build.android; -import com.google.devtools.build.android.xml.Namespaces; -import java.io.IOException; -import java.io.OutputStream; - /** An {@link XmlResourceValue} is extracted from xml files in the resource 'values' directory. */ -public interface XmlResourceValue { +public interface XmlResourceValue extends Writeable { /** * Each XmlValue is expected to write a valid representation in xml to the writer. * @@ -28,9 +24,6 @@ public interface XmlResourceValue { */ void write(FullyQualifiedName key, DataSource source, AndroidDataWritingVisitor mergedDataWriter); - /** Serializes the resource value to the OutputStream and returns the bytes written. */ - int serializeTo(int sourceId, Namespaces namespaces, OutputStream out) throws IOException; - /** * Combines these xml values together and returns a single value. * |