Java Doc for Mapper.java in  » XML » xstream-1.3 » com » thoughtworks » xstream » mapper » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » XML » xstream 1.3 » com.thoughtworks.xstream.mapper 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.thoughtworks.xstream.mapper.Mapper

All known Subclasses:   com.thoughtworks.xstream.mapper.DefaultMapper,  com.thoughtworks.xstream.mapper.MapperWrapper,
Mapper
public interface Mapper (Code)

Inner Class :class Null
Inner Class :interface ImplicitCollectionMapping



Method Summary
 StringaliasForAttribute(String attribute)
     Get the alias for an attrbute's name.
 StringaliasForAttribute(Class definedIn, String fieldName)
     Returns an alias for a single field defined in an specific type.
 StringattributeForAlias(String alias)
     Get the attribut's name for an alias.
 StringattributeForAlias(Class definedIn, String alias)
     Returns the field name for an aliased attribute.
 StringattributeForClassDefiningField()
    
 StringattributeForEnumType()
    
 StringattributeForImplementationClass()
    
 StringattributeForReadResolveField()
    
 ClassdefaultImplementationOf(Class type)
    
 SingleValueConvertergetConverterFromAttribute(String name)
    
 SingleValueConvertergetConverterFromAttribute(Class definedIn, String attribute)
     Returns which converter to use for an specific attribute in a type.
 SingleValueConvertergetConverterFromItemType(String fieldName, Class type)
    
 SingleValueConvertergetConverterFromItemType(Class type)
    
 SingleValueConvertergetConverterFromItemType(String fieldName, Class type, Class definedIn)
     Returns a single value converter to be used in a specific field.
 StringgetFieldNameForItemTypeAndName(Class definedIn, Class itemType, String itemFieldName)
     Get the name of the field that acts as the default collection for an object, or return null if there is none.
 ImplicitCollectionMappinggetImplicitCollectionDefForFieldName(Class itemType, String fieldName)
    
 ClassgetItemTypeForItemFieldName(Class definedIn, String itemFieldName)
    
 ConvertergetLocalConverter(Class definedIn, String fieldName)
    
 booleanisImmutableValueType(Class type)
     Whether this type is a simple immutable value (int, boolean, String, URL, etc.
 MapperlookupMapperOfType(Class type)
    
 ClassrealClass(String elementName)
     How a serialized class representation should be mapped back to a real class.
 StringrealMember(Class type, String serialized)
     How a serialized member representation should be mapped back to a real member.
 StringserializedClass(Class type)
     How a class name should be represented in its serialized form.
 StringserializedMember(Class type, String memberName)
     How a class member should be represented in its serialized form.
 booleanshouldSerializeMember(Class definedIn, String fieldName)
     Determine whether a specific member should be serialized.



Method Detail
aliasForAttribute
String aliasForAttribute(String attribute)(Code)
Get the alias for an attrbute's name.
Parameters:
  attribute - the attribute the alias
since:
   1.2



aliasForAttribute
String aliasForAttribute(Class definedIn, String fieldName)(Code)
Returns an alias for a single field defined in an specific type.
Parameters:
  definedIn - the type where the field was defined
Parameters:
  fieldName - the field name the alias for this field or its own name if no alias was defined
since:
   1.2.2Mapper.serializedMember(Class,String)Mapper.getConverterFromItemType(String,Class,Class)



attributeForAlias
String attributeForAlias(String alias)(Code)
Get the attribut's name for an alias.
Parameters:
  alias - the alias the attribute's name
since:
   1.2



attributeForAlias
String attributeForAlias(Class definedIn, String alias)(Code)
Returns the field name for an aliased attribute.
Parameters:
  definedIn - the type where the field was defined
Parameters:
  alias - the alias the original attribute name
since:
   1.2.2Mapper.realMember(Class,String)Mapper.getConverterFromItemType(String,Class,Class)



attributeForClassDefiningField
String attributeForClassDefiningField()(Code)



attributeForEnumType
String attributeForEnumType()(Code)



attributeForImplementationClass
String attributeForImplementationClass()(Code)



attributeForReadResolveField
String attributeForReadResolveField()(Code)



defaultImplementationOf
Class defaultImplementationOf(Class type)(Code)



getConverterFromAttribute
SingleValueConverter getConverterFromAttribute(String name)(Code)
Mapper.getConverterFromAttribute(Class,String)



getConverterFromAttribute
SingleValueConverter getConverterFromAttribute(Class definedIn, String attribute)(Code)
Returns which converter to use for an specific attribute in a type.
Parameters:
  definedIn - the field's parent
Parameters:
  attribute - the attribute name
since:
   1.2.2



getConverterFromItemType
SingleValueConverter getConverterFromItemType(String fieldName, Class type)(Code)
Mapper.getConverterFromItemType(String,Class,Class)



getConverterFromItemType
SingleValueConverter getConverterFromItemType(Class type)(Code)
Mapper.getConverterFromItemType(String,Class,Class)



getConverterFromItemType
SingleValueConverter getConverterFromItemType(String fieldName, Class type, Class definedIn)(Code)
Returns a single value converter to be used in a specific field.
Parameters:
  fieldName - the field name
Parameters:
  type - the field type
Parameters:
  definedIn - the type which defines this field a SingleValueConverter or null if there no such converter should be used for thisfield.
since:
   1.2.2



getFieldNameForItemTypeAndName
String getFieldNameForItemTypeAndName(Class definedIn, Class itemType, String itemFieldName)(Code)
Get the name of the field that acts as the default collection for an object, or return null if there is none.
Parameters:
  definedIn - owning type
Parameters:
  itemType - item type
Parameters:
  itemFieldName - optional item element name



getImplicitCollectionDefForFieldName
ImplicitCollectionMapping getImplicitCollectionDefForFieldName(Class itemType, String fieldName)(Code)



getItemTypeForItemFieldName
Class getItemTypeForItemFieldName(Class definedIn, String itemFieldName)(Code)



getLocalConverter
Converter getLocalConverter(Class definedIn, String fieldName)(Code)



isImmutableValueType
boolean isImmutableValueType(Class type)(Code)
Whether this type is a simple immutable value (int, boolean, String, URL, etc. Immutable types will be repeatedly written in the serialized stream, instead of using object references.



lookupMapperOfType
Mapper lookupMapperOfType(Class type)(Code)



realClass
Class realClass(String elementName)(Code)
How a serialized class representation should be mapped back to a real class.



realMember
String realMember(Class type, String serialized)(Code)
How a serialized member representation should be mapped back to a real member.



serializedClass
String serializedClass(Class type)(Code)
How a class name should be represented in its serialized form.



serializedMember
String serializedMember(Class type, String memberName)(Code)
How a class member should be represented in its serialized form.



shouldSerializeMember
boolean shouldSerializeMember(Class definedIn, String fieldName)(Code)
Determine whether a specific member should be serialized.
since:
   1.1.3



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.