|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.thoughtworks.xstream.mapper.MapperWrapper
org.jenkinsci.jruby.JRubyMapper
public class JRubyMapper
Set the proper alias for JRuby objects and proxy objects, so that implementation detail class names won't leak out to the persisted form.
| Nested Class Summary | |
|---|---|
static class |
JRubyMapper.DynamicProxy
Place holder type used for dynamic proxies. |
| Nested classes/interfaces inherited from interface com.thoughtworks.xstream.mapper.Mapper |
|---|
com.thoughtworks.xstream.mapper.Mapper.ImplicitCollectionMapping, com.thoughtworks.xstream.mapper.Mapper.Null |
| Constructor Summary | |
|---|---|
JRubyMapper(com.thoughtworks.xstream.mapper.Mapper wrapped)
|
|
| Method Summary | |
|---|---|
Class |
realClass(String elementName)
|
String |
serializedClass(Class type)
|
boolean |
shouldSerializeMember(Class definedIn,
String fieldName)
|
| Methods inherited from class com.thoughtworks.xstream.mapper.MapperWrapper |
|---|
aliasForAttribute, aliasForAttribute, aliasForSystemAttribute, attributeForAlias, attributeForAlias, attributeForClassDefiningField, attributeForEnumType, attributeForImplementationClass, attributeForReadResolveField, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isImmutableValueType, lookupMapperOfType, realMember, serializedMember |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JRubyMapper(com.thoughtworks.xstream.mapper.Mapper wrapped)
| Method Detail |
|---|
public String serializedClass(Class type)
serializedClass in interface com.thoughtworks.xstream.mapper.MapperserializedClass in class com.thoughtworks.xstream.mapper.MapperWrapperpublic Class realClass(String elementName)
realClass in interface com.thoughtworks.xstream.mapper.MapperrealClass in class com.thoughtworks.xstream.mapper.MapperWrapper
public boolean shouldSerializeMember(Class definedIn,
String fieldName)
shouldSerializeMember in interface com.thoughtworks.xstream.mapper.MappershouldSerializeMember in class com.thoughtworks.xstream.mapper.MapperWrapper
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||