KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thoughtworks > xstream > alias > ClassMapper


1 package com.thoughtworks.xstream.alias;
2
3 public interface ClassMapper {
4     String JavaDoc lookupName(Class JavaDoc type);
5
6     Class JavaDoc lookupType(String JavaDoc elementName);
7
8     Class JavaDoc lookupDefaultType(Class JavaDoc baseType);
9
10     void alias(String JavaDoc elementName, Class JavaDoc type, Class JavaDoc defaultImplementation);
11
12     String JavaDoc mapNameFromXML( String JavaDoc xmlName );
13
14     String JavaDoc mapNameToXML( String JavaDoc javaName );
15
16     /**
17      * Place holder type used for null values.
18      */

19     class Null {}
20
21     /**
22      * Place holder type used for dynamic proxies.
23      */

24     class DynamicProxy {}
25 }
26
Popular Tags