com.dyuproject.protostuff.runtime
Class PolymorphicMapSchema
java.lang.Object
com.dyuproject.protostuff.runtime.PolymorphicSchema
com.dyuproject.protostuff.runtime.PolymorphicMapSchema
- All Implemented Interfaces:
- Schema<java.lang.Object>
public abstract class PolymorphicMapSchema
- extends PolymorphicSchema
Used when the type is an interface (Map/SortedMap).
- Author:
- David Yu
- Date created:
- Apr 24, 2012
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pipeSchema
protected final Pipe.Schema<java.lang.Object> pipeSchema
PolymorphicMapSchema
public PolymorphicMapSchema(IdStrategy strategy)
getPipeSchema
public Pipe.Schema<java.lang.Object> getPipeSchema()
- Description copied from class:
PolymorphicSchema
- The pipe schema associated with this schema.
- Specified by:
getPipeSchema in class PolymorphicSchema
getFieldName
public java.lang.String getFieldName(int number)
getFieldNumber
public int getFieldNumber(java.lang.String name)
messageFullName
public java.lang.String messageFullName()
messageName
public java.lang.String messageName()
mergeFrom
public void mergeFrom(Input input,
java.lang.Object owner)
throws java.io.IOException
- Throws:
java.io.IOException
writeTo
public void writeTo(Output output,
java.lang.Object value)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2009-2014. All Rights Reserved.