com.stvconsultants.easygloss
Class StandardGloss

java.lang.Object
  extended by com.stvconsultants.easygloss.AbstractGloss
      extended by com.stvconsultants.easygloss.StandardGloss

public class StandardGloss
extends AbstractGloss

A StandardGloss is a decorator for annotated objects.

Author:
Stephen Connolly

Constructor Summary
StandardGloss(Footnote annotation, java.lang.Object value)
          Creates a new instance of StandardGloss
 
Method Summary
 void apply(java.lang.Object instance)
          Apply the gloss to the instance
 void applyStatic(java.lang.Class instanceClass)
          Apply the gloss to the class
 
Methods inherited from class com.stvconsultants.easygloss.AbstractGloss
apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, applyStatic, filter, filter, filterGetters, filterSetters, findFields, findMethods, findSetter, invoke, invoke, invoke, matchParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardGloss

public StandardGloss(Footnote annotation,
                     java.lang.Object value)
Creates a new instance of StandardGloss

Parameters:
annotation - The type of annotation that this gloss will stick to
value - The value to inject
Method Detail

apply

public void apply(java.lang.Object instance)
Apply the gloss to the instance

Specified by:
apply in class AbstractGloss
Parameters:
instance - The object to which the gloss should be applied

applyStatic

public void applyStatic(java.lang.Class instanceClass)
Apply the gloss to the class

Specified by:
applyStatic in class AbstractGloss
Parameters:
instanceClass - The object to which the gloss should be applied


Copyright © 2006 null. All Rights Reserved.