Package org.apache.juneau.jsonschema
Class BasicBeanDefMapper
java.lang.Object
org.apache.juneau.jsonschema.BasicBeanDefMapper
- All Implemented Interfaces:
- BeanDefMapper
Simple implementation of the 
BeanDefMapper interface.
 
 IDs are created by calling Class.getSimpleName().
 
 URIs are constructed using the pattern 
See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.juneau.jsonschema.BeanDefMapperBeanDefMapper.Void
- 
Constructor SummaryConstructorsModifierConstructorDescriptionDefault constructor.protectedBasicBeanDefMapper(String uriPattern) Constructor that allows you to override the URI pattern.
- 
Method Summary
- 
Constructor Details- 
BasicBeanDefMapperpublic BasicBeanDefMapper()Default constructor.
- 
BasicBeanDefMapperConstructor that allows you to override the URI pattern.- Parameters:
- uriPattern- The URI pattern using- MessageFormat-style arguments.
 
 
- 
- 
Method Details- 
getIdDescription copied from interface:BeanDefMapperReturns the ID for the specified class.- Specified by:
- getIdin interface- BeanDefMapper
- Parameters:
- cm- The class.
- Returns:
- The ID for the specified class.
 
- 
getURIDescription copied from interface:BeanDefMapperReturns the URI for the specified class.- Specified by:
- getURIin interface- BeanDefMapper
- Parameters:
- cm- The class.
- Returns:
- The URI for the specified class.
 
- 
getURIDescription copied from interface:BeanDefMapperReturns the URI for the specified class by its ID.- Specified by:
- getURIin interface- BeanDefMapper
- Parameters:
- id- The class ID.
- Returns:
- The URI for the specified class.
 
 
-