|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thoughtworks.xstream.mapper.MapperWrapper
com.thoughtworks.xstream.mapper.ArrayMapper
Mapper that detects arrays and changes the name so it can identified as an array (for example Foo[] gets serialized as foo-array). Supports multi-dimensional arrays.
Nested Class Summary |
Nested classes inherited from class com.thoughtworks.xstream.alias.ClassMapper |
ClassMapper.Null |
Constructor Summary | |
ArrayMapper(ClassMapper wrapped)
|
Method Summary | |
java.lang.String |
lookupName(java.lang.Class type)
|
java.lang.Class |
lookupType(java.lang.String elementName)
|
Methods inherited from class com.thoughtworks.xstream.mapper.MapperWrapper |
alias, attributeForClassDefiningField, attributeForImplementationClass, defaultImplementationOf, isImmutableValueType, lookupDefaultType, mapNameFromXML, mapNameToXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ArrayMapper(ClassMapper wrapped)
Method Detail |
public java.lang.String lookupName(java.lang.Class type)
lookupName
in interface ClassMapper
lookupName
in class MapperWrapper
public java.lang.Class lookupType(java.lang.String elementName)
lookupType
in interface ClassMapper
lookupType
in class MapperWrapper
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |