|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.carbonfive.flash.TranslationFilter
public class TranslationFilter
TranslationFilter holds classes and properties that should be ignored during a translation to Action Script. Encoders ask TranslationFilter whether they should ignore these classes and properties as they encode Java objects.
The TranslationFilter understands class hierarchy, so if ignoreClass("java.lang.Number") is called,
a subsequent call to doIgnoreClass(Double.class) will return true. Similarly with
doIgnoreProperty().
| Method Summary | |
|---|---|
boolean |
doIgnoreClass(java.lang.Class klass)
Whether or not to ignore the specified class. |
boolean |
doIgnoreProperty(java.lang.Class klass,
java.lang.String property)
Whether or not to ignore the specified property. |
static TranslationFilter |
getBaseFilter()
Generated a base TranslationFilter object. |
void |
ignoreClass(java.lang.Class klass)
Ignore a specific class, and all subclasses. |
void |
ignoreProperty(java.lang.Class klass,
java.lang.String property)
Ignore a specific properties, including in all subclasses. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TranslationFilter getBaseFilter()
public void ignoreClass(java.lang.Class klass)
klass - the class to ignore
public void ignoreProperty(java.lang.Class klass,
java.lang.String property)
The property is described by its name, as defined by the Jakarata Commons BeanUtils project.
See Jakarata Commons BeanUtils
klass - the class with the property to ignoreproperty - the name of the property to ignorepublic boolean doIgnoreClass(java.lang.Class klass)
klass - the class in question
public boolean doIgnoreProperty(java.lang.Class klass,
java.lang.String property)
klass - the class of the property in questionproperty - the property in question
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||