metagloss 0.0.2
A B C D E F G H I M N O P Q S T X

A

AnnotatedMethod - Class in net.sf.metagloss.injection
The AnnotatedMethod class is used by the InjectionManager for caching bound Methods and Annotations.
AnnotatedMethod(Method, Annotation) - Constructor for class net.sf.metagloss.injection.AnnotatedMethod
Creates a new AnnotatedMethod.
AnnotatedPreferenceActivity - Class in net.sf.metagloss.preference
Shows a PreferenceScreen where each Preference#setSummary(CharSequence) can be configured with annotations to be updated to reflect the current value of the Preference.
AnnotatedPreferenceActivity() - Constructor for class net.sf.metagloss.preference.AnnotatedPreferenceActivity
 
AssistCursor<T extends java.lang.Enum<T> & ITable> - Class in net.sf.metagloss.db
A partial wrapper for the Cursor class, offering annotation-based setter injection and automatic translation of column ids for SQL SELECT queries.
AssistCursor(Class<T>, Cursor) - Constructor for class net.sf.metagloss.db.AssistCursor
Creates a new AssistCursor.

B

BindPreference - Annotation Type in net.sf.metagloss.preference
Annotation type to make a Preference's value reflected in its summary field.
BooleanString - Annotation Type in net.sf.metagloss.preference
Annotation type to set the format of Preference#setSummary(CharSequence) for CheckBoxPreferences to something other than true or false.
buildContentValues(Object) - Static method in class net.sf.metagloss.db.DBUtils
Populate an instance of ContentValues from an object annotated with CursorBind.
buildContentValues(ContentValues, Object) - Static method in class net.sf.metagloss.db.DBUtils
Populate an instance of ContentValues from an object annotated with CursorBind.

C

CursorBind - Annotation Type in net.sf.metagloss.db
Annotation to mark setter for data injection from a Cursor object and getters to ContentValues.

D

DBUtils - Class in net.sf.metagloss.db
Utility class for working with databases and building ContentValues from classes annotated with CursorBind.
debug - Static variable in class net.sf.metagloss.db.DBUtils
If set to true, buildContentValues methods prints the parsed values.
debug - Variable in class net.sf.metagloss.xml.DOMFeeder
 
DOMFeeder - Class in net.sf.metagloss.xml
The DOMFeeder is capable of injecting XMLBind-annotated objects from XML sources.
DOMFeeder(Element) - Constructor for class net.sf.metagloss.xml.DOMFeeder
Creates the DOMFeeder with a single element.
DOMFeeder(List<Element>) - Constructor for class net.sf.metagloss.xml.DOMFeeder
Creates the DOMFeeder with a list of elements.
DOMUtils - Class in net.sf.metagloss.xml
Utility class for dealing with XML DOM data.

E

equals(Object) - Method in class net.sf.metagloss.injection.AnnotatedMethod
 

F

FloatConstraint - Annotation Type in net.sf.metagloss.preference
Annotation type to set the valid numerical range for an EditTextPreference.

G

getAnnotation() - Method in class net.sf.metagloss.injection.AnnotatedMethod
 
getAttribute(Element, String, String) - Static method in class net.sf.metagloss.xml.DOMUtils
Gets the attribute value of an element or its child element.
getBinder() - Method in exception net.sf.metagloss.xml.XMLBindException
 
getCacheDescription() - Static method in class net.sf.metagloss.injection.InjectionManager
Gets the cache formatted formatted for readability.
getChildren(Element, String) - Static method in class net.sf.metagloss.xml.DOMUtils
Gets all requested child elements, one level deep.
getColumn() - Method in interface net.sf.metagloss.db.ITable
Get the name of the column.
getColumns(Class<T>) - Static method in class net.sf.metagloss.db.DBUtils
Gets all columns from a table.
getData(Element, XMLBind) - Static method in class net.sf.metagloss.xml.DOMUtils
Gets the data associated with the XMLBinder in relation to the element.
getDouble(T) - Method in class net.sf.metagloss.db.AssistCursor
 
getElement() - Method in exception net.sf.metagloss.xml.XMLBindException
 
getFloat(T) - Method in class net.sf.metagloss.db.AssistCursor
 
getGetters(Class<?>, Class<? extends Annotation>) - Static method in class net.sf.metagloss.injection.InjectionManager
Gets all getters for the requested class and annotation combination.
getImplementation(Class<T>) - Static method in class net.sf.metagloss.db.QueryManager
Gets the implementation corresponding to a QueryProvider interface.
getInt(T) - Method in class net.sf.metagloss.db.AssistCursor
 
getLong(T) - Method in class net.sf.metagloss.db.AssistCursor
 
getMessage() - Method in exception net.sf.metagloss.injection.InjectionException
 
getMessage() - Method in exception net.sf.metagloss.MissingAnnotationException
 
getMessage() - Method in exception net.sf.metagloss.xml.XMLBindException
 
getMethod() - Method in class net.sf.metagloss.injection.AnnotatedMethod
 
getSetters(Class<?>, Class<? extends Annotation>) - Static method in class net.sf.metagloss.injection.InjectionManager
Gets all setters for the requested class and annotation combination.
getString(T) - Method in class net.sf.metagloss.db.AssistCursor
 
getTableName(Class<? extends Enum<? extends ITable>>) - Static method in class net.sf.metagloss.db.DBUtils
Gets the name of a database table by querying an ITable enum.
getText(Element, String) - Static method in class net.sf.metagloss.xml.DOMUtils
Gets the text of an element or its child element.
getTextOrNull(Element, String) - Static method in class net.sf.metagloss.xml.DOMUtils
Gets the text of an element or its child element.

H

hasChild(Element, String) - Static method in class net.sf.metagloss.xml.DOMUtils
Shorthand for checking if an element has any matching child elements.
hashCode() - Method in class net.sf.metagloss.injection.AnnotatedMethod
 

I

inject(Object) - Method in class net.sf.metagloss.db.AssistCursor
Injects the setters of the object to which the cursor relates.
inject(Object) - Method in interface net.sf.metagloss.injection.Injector
Sets up object via setter injection.
inject(Object) - Method in class net.sf.metagloss.xml.DOMFeeder
 
InjectionException - Exception in net.sf.metagloss.injection
Thrown when an error relating to the injection phase occurs.
InjectionException(Class<? extends Annotation>, Class<?>) - Constructor for exception net.sf.metagloss.injection.InjectionException
 
InjectionManager - Class in net.sf.metagloss.injection
The InjectionManager provides a retrieval and caching mechanism for annotated getters and setters.
Injector - Interface in net.sf.metagloss.injection
Interface denotes that a class is capable of injecting setters/calling getters.
InjectorException - Exception in net.sf.metagloss.injection
Thrown when error relating to the injection phase occurs.
InjectorException(String) - Constructor for exception net.sf.metagloss.injection.InjectorException
 
IntegerConstraint - Annotation Type in net.sf.metagloss.preference
Annotation type to set the valid numerical range for an EditTextPreference.
INTENT_SUB_PREFS - Static variable in class net.sf.metagloss.preference.AnnotatedPreferenceActivity
Put in Intent#putExtra(String, String) to open a PreferenceScreen other than the root.
isStrictChecking() - Method in class net.sf.metagloss.xml.DOMFeeder
Returns whether strict checking is enabled or not.
ITable - Interface in net.sf.metagloss.db
An interface for DB tables represented as enum classes.

M

MissingAnnotationException - Exception in net.sf.metagloss
Thrown when a required annotation is missing.
MissingAnnotationException(Class<? extends Annotation>, Class<?>) - Constructor for exception net.sf.metagloss.MissingAnnotationException
Creates a new MissingAnnotationException.

N

net.sf.metagloss - package net.sf.metagloss
Provides a sense of warmth for the classes deeper down the package hierarchy.
net.sf.metagloss.db - package net.sf.metagloss.db
Provides classes for working with databases.
net.sf.metagloss.injection - package net.sf.metagloss.injection
Provides the InjectionManager and AnnotatedMethod.
net.sf.metagloss.preference - package net.sf.metagloss.preference
Provides the AnnotatedPreferenceActivity along with its set annotations for binding and constraining data.
net.sf.metagloss.xml - package net.sf.metagloss.xml
Provides classes for binding XML data to objects.
next() - Method in class net.sf.metagloss.db.AssistCursor
Moves to the next row in the result set.
next() - Method in interface net.sf.metagloss.injection.Injector
Moves to the data.
next() - Method in class net.sf.metagloss.xml.DOMFeeder
Tries to move to the next element in the list.

O

onCreate(Bundle) - Method in class net.sf.metagloss.preference.AnnotatedPreferenceActivity
 
onResume() - Method in class net.sf.metagloss.preference.AnnotatedPreferenceActivity
 
onSharedPreferenceChanged(SharedPreferences, String) - Method in class net.sf.metagloss.preference.AnnotatedPreferenceActivity
 
onStop() - Method in class net.sf.metagloss.preference.AnnotatedPreferenceActivity
 

P

PreferenceResource - Annotation Type in net.sf.metagloss.preference
Annotation type to set the root XML preference screen.

Q

Query - Annotation Type in net.sf.metagloss.db
Annotation specifies an SQL query.
QueryImplementationException - Exception in net.sf.metagloss.db
Exception is thrown if the QueryManager#getImplementation(Class) is unable to allocate the implementation.
QueryImplementationException(Throwable) - Constructor for exception net.sf.metagloss.db.QueryImplementationException
 
QueryImplementationException(String) - Constructor for exception net.sf.metagloss.db.QueryImplementationException
 
QueryImplementationException(Throwable, String) - Constructor for exception net.sf.metagloss.db.QueryImplementationException
 
QueryManager - Class in net.sf.metagloss.db
Utility class for retrieving the implementation of a QueryProvider interface.
QueryProvider - Interface in net.sf.metagloss.db
Marker interface for queries.

S

setBinder(XMLBind) - Method in exception net.sf.metagloss.xml.XMLBindException
 
setIntitialPrefDescriptions() - Method in class net.sf.metagloss.preference.AnnotatedPreferenceActivity
 
setStrictChecking(boolean) - Method in class net.sf.metagloss.xml.DOMFeeder
Sets whether an injection-related error will throw XMLBindException upon error.

T

TableName - Annotation Type in net.sf.metagloss.db
Annotation type to set the DB table name for any ITable implementations.
toString() - Method in class net.sf.metagloss.injection.AnnotatedMethod
 

X

XMLBind - Annotation Type in net.sf.metagloss.xml
Annotation to mark setters for data injection from an XML document.
XMLBindException - Exception in net.sf.metagloss.xml
Thrown when an error relating to an XMLBind annotation occurs.
XMLBindException(Element, XMLBind, String) - Constructor for exception net.sf.metagloss.xml.XMLBindException
 

A B C D E F G H I M N O P Q S T X