Brooklyn

brooklyn.util.xstream
[Java] Class MutableSetConverter

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

public class MutableSetConverter
extends com.thoughtworks.xstream.converters.collections.CollectionConverter

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

 
Method Summary
boolean canConvert(java.lang.Class type)

protected java.lang.Object createCollection(java.lang.Class type)

 
Methods inherited from class com.thoughtworks.xstream.converters.collections.CollectionConverter
com.thoughtworks.xstream.converters.collections.CollectionConverter#marshal(java.lang.Object, com.thoughtworks.xstream.io.HierarchicalStreamWriter, com.thoughtworks.xstream.converters.MarshallingContext), com.thoughtworks.xstream.converters.collections.CollectionConverter#canConvert(java.lang.Class), com.thoughtworks.xstream.converters.collections.CollectionConverter#unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader, com.thoughtworks.xstream.converters.UnmarshallingContext), com.thoughtworks.xstream.converters.collections.CollectionConverter#wait(), com.thoughtworks.xstream.converters.collections.CollectionConverter#wait(long), com.thoughtworks.xstream.converters.collections.CollectionConverter#wait(long, int), com.thoughtworks.xstream.converters.collections.CollectionConverter#equals(java.lang.Object), com.thoughtworks.xstream.converters.collections.CollectionConverter#toString(), com.thoughtworks.xstream.converters.collections.CollectionConverter#hashCode(), com.thoughtworks.xstream.converters.collections.CollectionConverter#getClass(), com.thoughtworks.xstream.converters.collections.CollectionConverter#notify(), com.thoughtworks.xstream.converters.collections.CollectionConverter#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

MutableSetConverter

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


 
Method Detail

canConvert

return MutableSet.class.isAssignableFrom(type);
public boolean canConvert( java.lang.Class type)


createCollection

return new MutableSet();
protected java.lang.Object createCollection(java.lang.Class type)
        


 

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