/** * This is used to acquire the super type for the class that is * represented by this detail. If the super type for the class * is <code>Object</code> then this will return null. * * @return returns the super type for this class or null */ public Class getSuper() { return detail.getSuper(); }
/** * This is used to acquire the super type for the class that is * represented by this detail. If the super type for the class * is <code>Object</code> then this will return null. * * @return returns the super type for this class or null */ public Class getSuper() { return detail.getSuper(); }
/** * This is used to acquire the super type for the class that is * represented by this detail. If the super type for the class * is <code>Object</code> then this will return null. * * @return returns the super type for this class or null */ public Class getSuper() { return detail.getSuper(); }
/** * This method is used to scan the class hierarchy for each class * in order to extract fields that contain XML annotations. If * the field is annotated it is converted to a contact so that * it can be used during serialization and deserialization. * * @param detail this contains the details for the class scanned */ private void scan(Detail detail) throws Exception { DefaultType override = detail.getOverride(); DefaultType access = detail.getAccess(); Class base = detail.getSuper(); if(base != null) { extend(base, override); } extract(detail, access); extract(detail); build(); }
/** * This method is used to scan the class hierarchy for each class * in order to extract fields that contain XML annotations. If * the field is annotated it is converted to a contact so that * it can be used during serialization and deserialization. * * @param detail this contains the details for the class scanned */ private void scan(Detail detail) throws Exception { DefaultType override = detail.getOverride(); DefaultType access = detail.getAccess(); Class base = detail.getSuper(); if(base != null) { extend(base, override); } extract(detail, access); extract(detail); build(); }
/** * This method is used to scan the class hierarchy for each class * in order to extract fields that contain XML annotations. If * the field is annotated it is converted to a contact so that * it can be used during serialization and deserialization. * * @param detail this contains the details for the class scanned */ private void scan(Detail detail) throws Exception { DefaultType override = detail.getOverride(); DefaultType access = detail.getAccess(); Class base = detail.getSuper(); if(base != null) { extend(base, override); } extract(detail, access); extract(detail); build(); }
/** * Scan the fields and methods such that the given class is scanned * first then all super classes up to the root <code>Object</code>. * All fields and methods from the most specialized classes override * fields and methods from higher up the inheritance hierarchy. This * means that annotated details can be overridden. * * @param detail contains the methods and fields to be examined */ private void scan(Detail detail) throws Exception { DefaultType access = detail.getOverride(); Class type = detail.getType(); while(type != null) { Detail value = support.getDetail(type, access); namespace(value); method(value); definition(value); type = value.getSuper(); } commit(detail); }
/** * This method is used to scan the class hierarchy for each class * in order to extract methods that contain XML annotations. If * a method is annotated it is converted to a contact so that * it can be used during serialization and deserialization. * * @param detail this contains the details for the class scanned */ private void scan(Detail detail) throws Exception { DefaultType override = detail.getOverride(); DefaultType access = detail.getAccess(); Class base = detail.getSuper(); if(base != null) { extend(base, override); } extract(detail, access); extract(detail); build(); validate(); }
/** * This method is used to scan the class hierarchy for each class * in order to extract methods that contain XML annotations. If * a method is annotated it is converted to a contact so that * it can be used during serialization and deserialization. * * @param detail this contains the details for the class scanned */ private void scan(Detail detail) throws Exception { DefaultType override = detail.getOverride(); DefaultType access = detail.getAccess(); Class base = detail.getSuper(); if(base != null) { extend(base, override); } extract(detail, access); extract(detail); build(); validate(); }
/** * This method is used to scan the class hierarchy for each class * in order to extract methods that contain XML annotations. If * a method is annotated it is converted to a contact so that * it can be used during serialization and deserialization. * * @param detail this contains the details for the class scanned */ private void scan(Detail detail) throws Exception { DefaultType override = detail.getOverride(); DefaultType access = detail.getAccess(); Class base = detail.getSuper(); if(base != null) { extend(base, override); } extract(detail, access); extract(detail); build(); validate(); }
/** * Scan the fields and methods such that the given class is scanned * first then all super classes up to the root <code>Object</code>. * All fields and methods from the most specialized classes override * fields and methods from higher up the inheritance hierarchy. This * means that annotated details can be overridden. * * @param detail contains the methods and fields to be examined */ private void scan(Detail detail) throws Exception { DefaultType access = detail.getOverride(); Class type = detail.getType(); while(type != null) { Detail value = support.getDetail(type, access); namespace(value); method(value); definition(value); type = value.getSuper(); } commit(detail); }
/** * Scan the fields and methods such that the given class is scanned * first then all super classes up to the root <code>Object</code>. * All fields and methods from the most specialized classes override * fields and methods from higher up the inheritance hierarchy. This * means that annotated details can be overridden. * * @param detail contains the methods and fields to be examined */ private void scan(Detail detail) throws Exception { DefaultType access = detail.getOverride(); Class type = detail.getType(); while(type != null) { Detail value = support.getDetail(type, access); namespace(value); method(value); definition(value); type = value.getSuper(); } commit(detail); }