Uses of Class
net.sf.fikin.pojostate.DecorationException

Packages that use DecorationException
net.sf.fikin.pojostate Package Specification POJO State : observer everythign everywhere This library provides with implementation and APIs for observing POJO state applicable in various uses cases. 
net.sf.fikin.pojostate.decorate Package Specification This package contains Decorator implementations with specific behaviours 
net.sf.fikin.pojostate.select Package Specification This package contains Selector implementations with a specific behaviour 
net.sf.fikin.pojostate.state Package Specification This package contains implementation of State and Property interfaces 
 

Uses of DecorationException in net.sf.fikin.pojostate
 

Methods in net.sf.fikin.pojostate that throw DecorationException
 State Decorator.decorate(java.lang.Object object)
          decorate the object with default locale
 State Decorator.decorate(java.lang.Object object, java.util.Locale locale)
          decorate the object suiting given locale settings use it when you're having external resource file containing methods (and their descriptions and/or formatting rules) which has been localized resource file loading happens with Thread's context class loader
 State Decorator.decorate(java.lang.Object object, java.util.Locale locale, java.lang.ClassLoader loader)
          decorate the object suiting given locale settings and using given class loader use it when you're having external resource file containing methods (and their descriptions and/or formatting rules) which has been localized
 MethodMeta Selector.getMethodMeta(java.lang.Class clazz, java.lang.reflect.Method method, java.util.Locale locale, java.lang.ClassLoader loader)
          get method's property object if it is recognized as suitable for State.
 java.lang.String Property.getValue()
          Property's formatted value Whether the value is computed once and returned many times or computed each time this method is called is determined by Decorator.
 Property StatePrototype.newProperty(MethodMeta mm)
          instantiate new Property for given MethodMeta This is a factory method used by Decorator during instantiation of new State object
 void State.update()
          Update the state of the object.
 

Uses of DecorationException in net.sf.fikin.pojostate.decorate
 

Methods in net.sf.fikin.pojostate.decorate that throw DecorationException
protected  StatePrototype AbstractDecorator.createState(java.lang.Class clazz, java.util.Locale locale, java.lang.ClassLoader loader)
          Inspect the class structure for suitable methods.
 State AbstractDecorator.decorate(java.lang.Object object)
          decorate the object using English locale and Thread's context class loader
 State AbstractDecorator.decorate(java.lang.Object object, java.util.Locale locale)
          decorate the object using given locale settings and thread's context class loader
 State AbstractDecorator.decorate(java.lang.Object object, java.util.Locale locale, java.lang.ClassLoader loader)
          decorate the object using given locale and class loader
protected  State AbstractDecorator.decorateObject(java.lang.Object object, java.util.Locale locale, java.lang.ClassLoader loader)
          decorate an object It does maintain a cache of StatePrototype objects, which are created per unique combination of Class, Locale and Loader.
protected  State AbstractDecorator.decorateObject(StatePrototype stateMeta, java.lang.Object object)
          clone stateMeta and assign to it the object
 void BindedState.putAll(ClassMeta classMeta, java.lang.Object pojo)
          initialize the map with given list of MethodMeta and POJO After this call the map is supposed to be fully ready for usage.
 

Uses of DecorationException in net.sf.fikin.pojostate.select
 

Methods in net.sf.fikin.pojostate.select that throw DecorationException
 MethodMeta AbstractSelector.getMethodMeta(java.lang.Class clazz, java.lang.reflect.Method method, java.util.Locale locale, java.lang.ClassLoader loader)
          test if the method is applicable by calling AbstractSelector.isApplicable(Class, Method, Locale, ClassLoader) and creates new property via AbstractSelector.newMethodMeta(Class, Method, Locale, ClassLoader) if yes.
protected abstract  boolean AbstractSelector.isApplicable(java.lang.Class clazz, java.lang.reflect.Method method, java.util.Locale locale, java.lang.ClassLoader loader)
          test if given method is to be observed
protected  MethodMeta NEFormatterSelector.newMethodMeta(java.lang.Class clazz, java.lang.reflect.Method method, java.util.Locale locale, java.lang.ClassLoader loader)
          instantiate new NEFormatterSelector.NEFMethodMeta object
protected  MethodMeta BeanMethodsSelector.newMethodMeta(java.lang.Class clazz, java.lang.reflect.Method method, java.util.Locale locale, java.lang.ClassLoader loader)
          instantiate new DefaultMethodMeta object
protected abstract  MethodMeta AbstractSelector.newMethodMeta(java.lang.Class clazz, java.lang.reflect.Method method, java.util.Locale locale, java.lang.ClassLoader loader)
          instantiate new method metadata object
 

Constructors in net.sf.fikin.pojostate.select that throw DecorationException
NEFormatterSelector.NEFMethodMeta(java.lang.reflect.Method method)
          instantiate new metadata with method only
NEFormatterSelector.NEFMethodMeta(java.lang.reflect.Method method, java.text.Format format)
          instantiate new metadata with method and formatter
 

Uses of DecorationException in net.sf.fikin.pojostate.state
 

Methods in net.sf.fikin.pojostate.state that throw DecorationException
 java.lang.String DynamicState.DynamicProperty.getValue()
          get key's formatted value
 Property SnapshotState.newProperty(MethodMeta mm)
          instantiate new SnapshotState.StaticProperty object
 Property EmptyState.newProperty(MethodMeta mm)
           
protected  java.lang.String AbstractDecoratorProperty.obtainValue(java.lang.Object pojo)
          prototype method implementing actual method execution, obtaining the result and applying formatting to it before returning it to the caller
 void SnapshotState.update()
          Update the state of all Properties.
 void EmptyState.update()
           
 

Constructors in net.sf.fikin.pojostate.state that throw DecorationException
SnapshotState.StaticProperty(MethodMeta method)
          construct new Property instance and obtain Method's value
 



Copyright © 2005 Nikolay Fiykov. All Rights Reserved.