Brooklyn

brooklyn.util.xstream
[Java] Class MapConverter

java.lang.Object
  com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
      com.thoughtworks.xstream.converters.collections.MapConverter
          brooklyn.util.xstream.MapConverter

public class MapConverter
extends com.thoughtworks.xstream.converters.collections.MapConverter

equivalent to super, but cleaner methods


Constructor Summary
MapConverter(com.thoughtworks.xstream.mapper.Mapper mapper)

 
Method Summary
protected java.lang.String getEntryNodeName()

void marshal(java.lang.Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)

protected void marshalEntry(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, java.util.Map$Entry entry)

protected void populateMap(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, java.util.Map map)

protected void unmarshalEntry(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, java.util.Map map)

 
Methods inherited from class com.thoughtworks.xstream.converters.collections.MapConverter
com.thoughtworks.xstream.converters.collections.MapConverter#marshal(java.lang.Object, com.thoughtworks.xstream.io.HierarchicalStreamWriter, com.thoughtworks.xstream.converters.MarshallingContext), com.thoughtworks.xstream.converters.collections.MapConverter#canConvert(java.lang.Class), com.thoughtworks.xstream.converters.collections.MapConverter#unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader, com.thoughtworks.xstream.converters.UnmarshallingContext), com.thoughtworks.xstream.converters.collections.MapConverter#wait(), com.thoughtworks.xstream.converters.collections.MapConverter#wait(long), com.thoughtworks.xstream.converters.collections.MapConverter#wait(long, int), com.thoughtworks.xstream.converters.collections.MapConverter#equals(java.lang.Object), com.thoughtworks.xstream.converters.collections.MapConverter#toString(), com.thoughtworks.xstream.converters.collections.MapConverter#hashCode(), com.thoughtworks.xstream.converters.collections.MapConverter#getClass(), com.thoughtworks.xstream.converters.collections.MapConverter#notify(), com.thoughtworks.xstream.converters.collections.MapConverter#notifyAll()
 
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter#marshal(java.lang.Object, com.thoughtworks.xstream.io.HierarchicalStreamWriter, com.thoughtworks.xstream.converters.MarshallingContext), com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter#canConvert(java.lang.Class), com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter#unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader, com.thoughtworks.xstream.converters.UnmarshallingContext), com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter#wait(), com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter#wait(long), com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter#wait(long, int), com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter#equals(java.lang.Object), com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter#toString(), com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter#hashCode(), com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter#getClass(), com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter#notify(), com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter#notifyAll()
 

Constructor Detail

MapConverter

public MapConverter(com.thoughtworks.xstream.mapper.Mapper mapper)


 
Method Detail

getEntryNodeName

protected java.lang.String getEntryNodeName()


marshal

public void marshal(java.lang.Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)


marshalEntry

protected void marshalEntry(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, java.util.Map$Entry entry)


populateMap

protected void populateMap(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, java.util.Map map)


unmarshalEntry

protected void unmarshalEntry(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, java.util.Map map)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.