A B C D E F G H I J L M N O P Q R S T U V W X

A

AbstractBeanDefinitionParser - Class in org.dellroad.stuff.spring
Support superclass for BeanDefinitionParser implementations.
AbstractBeanDefinitionParser() - Constructor for class org.dellroad.stuff.spring.AbstractBeanDefinitionParser
 
AbstractDAO<T> - Class in org.dellroad.stuff.dao
Support superclass for JPA DAO implementations.
AbstractDAO(Class<T>) - Constructor for class org.dellroad.stuff.dao.AbstractDAO
Constructor.
AbstractDAO(Class<T>, EntityManagerFactory) - Constructor for class org.dellroad.stuff.dao.AbstractDAO
Constructor.
AbstractDAO(Class<T>, JpaTemplate) - Constructor for class org.dellroad.stuff.dao.AbstractDAO
Constructor.
AbstractDAO.DAOCriteriaListCallback - Class in org.dellroad.stuff.dao
Convenience subclass of CriteriaCallback for use by DAO subclasses when returning lists of persistent instances.
AbstractDAO.DAOCriteriaListCallback() - Constructor for class org.dellroad.stuff.dao.AbstractDAO.DAOCriteriaListCallback
 
AbstractDAO.DAOCriteriaUniqueCallback - Class in org.dellroad.stuff.dao
Convenience subclass of CriteriaCallback for use by DAO subclasses when returning a single persistent instance.
AbstractDAO.DAOCriteriaUniqueCallback() - Constructor for class org.dellroad.stuff.dao.AbstractDAO.DAOCriteriaUniqueCallback
 
AbstractDAO.DAOQueryListCallback - Class in org.dellroad.stuff.dao
Convenience subclass of QueryCallback for use by DAO subclasses when returning lists of persistent instances.
AbstractDAO.DAOQueryListCallback() - Constructor for class org.dellroad.stuff.dao.AbstractDAO.DAOQueryListCallback
 
AbstractDAO.DAOQueryUniqueCallback - Class in org.dellroad.stuff.dao
Convenience subclass of QueryCallback for use by DAO subclasses when returning a single persistent instance.
AbstractDAO.DAOQueryUniqueCallback() - Constructor for class org.dellroad.stuff.dao.AbstractDAO.DAOQueryUniqueCallback
 
AbstractDelegate<T> - Class in org.dellroad.stuff.pobj
Support superclass for PersistentObjectDelegate classes, with implementations of all methods other than serialize() and deserialize().
AbstractDelegate() - Constructor for class org.dellroad.stuff.pobj.AbstractDelegate
 
AbstractSchemaUpdate<T> - Class in org.dellroad.stuff.schema
Support superclass for SchemaUpdate implementations with standard bean property implementations.
AbstractSchemaUpdate() - Constructor for class org.dellroad.stuff.schema.AbstractSchemaUpdate
 
AbstractSchemaUpdater<D,T> - Class in org.dellroad.stuff.schema
Handles the initialization and schema maintenance of a database.
AbstractSchemaUpdater() - Constructor for class org.dellroad.stuff.schema.AbstractSchemaUpdater
 
AbstractSpringSchemaUpdate<T> - Class in org.dellroad.stuff.schema
Support superclass for SchemaUpdates declared in Spring BeanFactorys that infer their names and required predecessors from their Spring bean attributes.
AbstractSpringSchemaUpdate() - Constructor for class org.dellroad.stuff.schema.AbstractSpringSchemaUpdate
 
AbstractUpdatingDataSource - Class in org.dellroad.stuff.schema
A DataSource that wraps an inner DataSource and automatically performs some update operation on the inner DataSource on first access.
AbstractUpdatingDataSource() - Constructor for class org.dellroad.stuff.schema.AbstractUpdatingDataSource
 
AbstractValidator<C extends Annotation,T> - Class in org.dellroad.stuff.validation
Support superclass for validators.
AbstractValidator() - Constructor for class org.dellroad.stuff.validation.AbstractValidator
 
add(Map<K, V>, MapEntry<? extends K, ? extends V>) - Static method in class org.dellroad.stuff.jibx.MapEntry
Helper method intended to be used by a custom JiBX "add-method".
add(Map<K, V>, MapEntry<? extends K, ? extends V>, boolean) - Static method in class org.dellroad.stuff.jibx.MapEntry
Helper method intended to be used by a custom JiBX "add-method".
add(XMLEvent) - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventWriter
 
add(XMLEventReader) - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventWriter
 
addAnnotationElement() - Method in class org.dellroad.stuff.pobj.UpdatesXMLEventWriter
 
addAnnotationElement() - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventWriter
Add the annotation element.
addFirst(E) - Method in interface org.dellroad.stuff.util.LinkedList
 
addLast(E) - Method in interface org.dellroad.stuff.util.LinkedList
 
addListener(PersistentObjectListener<T>) - Method in class org.dellroad.stuff.pobj.PersistentObject
Add a listener to be notified each time the object graph changes.
addListener(ContextApplication.CloseListener) - Method in class org.dellroad.stuff.vaadin.ContextApplication
Add a ContextApplication.CloseListener to be notified when this instance is closed.
addUnique(E) - Method in class org.dellroad.stuff.jibx.ListableHashSet
Add an item to a set while verifying that the item is not already in the set.
addUpdate(String) - Method in class org.dellroad.stuff.pobj.PersistentFileTransaction
Add an update to the list associated with this transaction.
advance() - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventReader
Advance one event in the event stream.
afterPropertiesSet() - Method in class org.dellroad.stuff.jibx.IdMappingMarshaller
 
afterPropertiesSet() - Method in class org.dellroad.stuff.net.SocketAcceptor
Verifies configuration and invokes SocketAcceptor.start().
afterPropertiesSet() - Method in class org.dellroad.stuff.pobj.SpringDelegate
 
afterPropertiesSet() - Method in class org.dellroad.stuff.pobj.SpringPersistentObjectSchemaUpdater
 
afterPropertiesSet() - Method in class org.dellroad.stuff.pobj.SpringXSLPersistentObjectSchemaUpdate
 
afterPropertiesSet() - Method in class org.dellroad.stuff.schema.AbstractSpringSchemaUpdate
Configures the update name and required predecessors based on the Spring bean's name and BeanFactory dependencies.
afterPropertiesSet() - Method in class org.dellroad.stuff.schema.SpringSQLSchemaUpdate
 
afterPropertiesSet() - Method in class org.dellroad.stuff.schema.SpringSQLSchemaUpdater
 
afterPropertiesSet() - Method in class org.dellroad.stuff.spring.ResourceReaderFactoryBean
 
afterPropertiesSet() - Method in class org.dellroad.stuff.vaadin.ContextApplicationFactoryBean
Deprecated.  
allowEmptyStart - Variable in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 
AnnotatedXMLEventReader - Class in org.dellroad.stuff.xml
XMLEventReader that reads and removes an initial annotation element from an XML document.
AnnotatedXMLEventReader(XMLEventReader) - Constructor for class org.dellroad.stuff.xml.AnnotatedXMLEventReader
Constructor.
AnnotatedXMLEventWriter - Class in org.dellroad.stuff.xml
XMLEventWriter that adds an extra annotation element to an XML document as it is written.
AnnotatedXMLEventWriter(XMLEventWriter) - Constructor for class org.dellroad.stuff.xml.AnnotatedXMLEventWriter
 
annotation - Variable in class org.dellroad.stuff.validation.AbstractValidator
The constraint being checked by this instance.
APPLICATION_KEY - Static variable in class org.dellroad.stuff.vaadin.VaadinApplicationScope
Key to the current application instance.
applicationClosed(ContextApplication.CloseEvent) - Method in interface org.dellroad.stuff.vaadin.ContextApplication.CloseListener
Notification upon ContextApplication closing.
applicationClosed(ContextApplication.CloseEvent) - Method in class org.dellroad.stuff.vaadin.VaadinApplicationScope
 
apply(PersistentFileTransaction) - Method in class org.dellroad.stuff.pobj.SpringPersistentObjectSchemaUpdate
Apply this update to the given transaction.
apply(PersistentFileTransaction) - Method in class org.dellroad.stuff.pobj.SpringXSLPersistentObjectSchemaUpdate
Apply this update to the given transaction.
apply(T, DatabaseAction<T>) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Execute a database action within an existing transaction.
apply(T) - Method in interface org.dellroad.stuff.schema.DatabaseAction
Apply this action to the database using the provided open transaction.
apply(Connection, DatabaseAction<Connection>) - Method in class org.dellroad.stuff.schema.SpringSQLSchemaUpdater
Apply a DatabaseAction to a Connection.
apply(Connection) - Method in class org.dellroad.stuff.schema.SQLCommand
Execute the SQL statement.
apply(Connection) - Method in class org.dellroad.stuff.schema.SQLCommandList
Applies each individual SQL command in the script.
apply(Connection, DatabaseAction<Connection>) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
 
applyInTransaction(D, DatabaseAction<T>) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Execute a database action.
AsyncInputStream - Class in org.dellroad.stuff.io
Performs asynchonous reads on an InputStream and notifies of input events.
AsyncInputStream(InputStream, String, AsyncInputStream.Listener) - Constructor for class org.dellroad.stuff.io.AsyncInputStream
Constructor.
AsyncInputStream.Listener - Interface in org.dellroad.stuff.io
Callback interface required by AsyncInputStream.
AsyncOutputStream - Class in org.dellroad.stuff.io
An OutputStream that performs writes using a background thread, so that write, flush, and close operations never block.
AsyncOutputStream(OutputStream, int, String) - Constructor for class org.dellroad.stuff.io.AsyncOutputStream
Constructor.
autowire() - Method in class org.dellroad.stuff.main.ContextMainClass
Autowire this instance using its associated application context.
availableBufferSpace() - Method in class org.dellroad.stuff.io.AsyncOutputStream
Get the number of free bytes remaining in the output buffer.

B

beanFactory - Variable in class org.dellroad.stuff.schema.AbstractSpringSchemaUpdate
 
beanName - Variable in class org.dellroad.stuff.schema.AbstractSpringSchemaUpdate
 
BeanNameComparator - Class in org.dellroad.stuff.spring
A Comparator that orders Spring bean names in the same order as the corresponding beans appear in a ListableBeanFactory.
BeanNameComparator(ListableBeanFactory) - Constructor for class org.dellroad.stuff.spring.BeanNameComparator
 
before(Method, Object[], Object) - Method in class org.dellroad.stuff.servlet.BigFatLockHeldAdvice
Verifies the BigFatLock is held.
BigFatLock - Class in org.dellroad.stuff.servlet
Class for serializing processing using a big fat lock.
BigFatLock() - Constructor for class org.dellroad.stuff.servlet.BigFatLock
 
BigFatLockHeldAdvice - Class in org.dellroad.stuff.servlet
AspectJ method "before advice" that verifies that the BigFatLock is held.
BigFatLockHeldAdvice(Method, AspectJExpressionPointcut, AspectInstanceFactory) - Constructor for class org.dellroad.stuff.servlet.BigFatLockHeldAdvice
Constructor.
BigFatLockNotHeldException - Exception in org.dellroad.stuff.servlet
Thrown by BigFatLockHeldAdvice.lockNotHeld() when the lock is not held.
BigFatLockNotHeldException() - Constructor for exception org.dellroad.stuff.servlet.BigFatLockNotHeldException
 
BigFatLockNotHeldException(String) - Constructor for exception org.dellroad.stuff.servlet.BigFatLockNotHeldException
 
BufferOverflowException - Exception in org.dellroad.stuff.io
Thrown by AsyncOutputStream when its buffer overflows.
BufferOverflowException() - Constructor for exception org.dellroad.stuff.io.BufferOverflowException
 
BufferOverflowException(String) - Constructor for exception org.dellroad.stuff.io.BufferOverflowException
 
buildException() - Method in class org.dellroad.stuff.string.ParseContext
Create a generic exception for rejecting the current input.
buildException(String) - Method in class org.dellroad.stuff.string.ParseContext
Create an exception for rejecting the current input.
buildQuery(EntityManager) - Method in class org.dellroad.stuff.dao.CriteriaCallback
Build the query by delegating to configureQuery() for configuration.
buildQuery(EntityManager) - Method in class org.dellroad.stuff.dao.QueryCallback
Build the query.
buildQuery(EntityManager) - Method in class org.dellroad.stuff.dao.TypedQueryCallback
Build the typed query.
bulkUpdate(UpdateCallback) - Method in class org.dellroad.stuff.dao.AbstractDAO
Perform a bulk update.
ByteArrayEncoder - Class in org.dellroad.stuff.string
Encodes byte[] arrays to and from hexadecimal strings.

C

caseBoolean() - Method in interface org.dellroad.stuff.java.PrimitiveSwitch
 
caseBoolean() - Method in class org.dellroad.stuff.java.PrimitiveSwitchAdapter
Handle the Primitive.BOOLEAN case.
caseByte() - Method in interface org.dellroad.stuff.java.PrimitiveSwitch
 
caseByte() - Method in class org.dellroad.stuff.java.PrimitiveSwitchAdapter
Handle the Primitive.BYTE case.
caseCharacter() - Method in interface org.dellroad.stuff.java.PrimitiveSwitch
 
caseCharacter() - Method in class org.dellroad.stuff.java.PrimitiveSwitchAdapter
Handle the Primitive.CHARACTER case.
caseDefault() - Method in class org.dellroad.stuff.java.PrimitiveSwitchAdapter
Internal roll-up method.
caseDouble() - Method in interface org.dellroad.stuff.java.PrimitiveSwitch
 
caseDouble() - Method in class org.dellroad.stuff.java.PrimitiveSwitchAdapter
Handle the Primitive.DOUBLE case.
caseFloat() - Method in interface org.dellroad.stuff.java.PrimitiveSwitch
 
caseFloat() - Method in class org.dellroad.stuff.java.PrimitiveSwitchAdapter
Handle the Primitive.FLOAT case.
caseInteger() - Method in interface org.dellroad.stuff.java.PrimitiveSwitch
 
caseInteger() - Method in class org.dellroad.stuff.java.PrimitiveSwitchAdapter
Handle the Primitive.INTEGER case.
caseLong() - Method in interface org.dellroad.stuff.java.PrimitiveSwitch
 
caseLong() - Method in class org.dellroad.stuff.java.PrimitiveSwitchAdapter
Handle the Primitive.LONG case.
caseNumber() - Method in class org.dellroad.stuff.java.PrimitiveSwitchAdapter
Internal roll-up method.
caseShort() - Method in interface org.dellroad.stuff.java.PrimitiveSwitch
 
caseShort() - Method in class org.dellroad.stuff.java.PrimitiveSwitchAdapter
Handle the Primitive.SHORT case.
cast(Object) - Method in class org.dellroad.stuff.dao.AbstractDAO
Cast the given object to this instance's persistent instance type.
castList(List<?>) - Method in class org.dellroad.stuff.dao.AbstractDAO
Cast the given list to a list of this instance's persistent instance type.
CheckedExceptionWrapper - Exception in org.dellroad.stuff.java
Wraps checked exceptions so they can be thrown across API methods that don't declare them.
CheckedExceptionWrapper(Exception) - Constructor for exception org.dellroad.stuff.java.CheckedExceptionWrapper
Constructor.
checkFile() - Method in class org.dellroad.stuff.pobj.PersistentObject
Check the persistent file for an "out-of-band" update.
checkInterval - Variable in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 
checkValid(ConstraintValidatorContext) - Method in interface org.dellroad.stuff.validation.SelfValidating
Validate this instance.
clear() - Method in class org.dellroad.stuff.dao.AbstractDAO
 
clear() - Method in interface org.dellroad.stuff.dao.DAO
Clear the session cache.
clone() - Method in class org.dellroad.stuff.string.ParseContext
Clone this instance.
close() - Method in class org.dellroad.stuff.io.AsyncInputStream
Close this instance.
close() - Method in class org.dellroad.stuff.io.AsyncOutputStream
Close this instance.
close() - Method in class org.dellroad.stuff.io.InputStreamReader
Close this instance.
close() - Method in class org.dellroad.stuff.io.OutputStreamWriter
Close this instance.
close() - Method in class org.dellroad.stuff.jibx.XMLDocumentInputStream
 
close() - Method in class org.dellroad.stuff.jibx.XMLDocumentOutputStream
Close the underlying output stream.
close() - Method in class org.dellroad.stuff.string.CSVOutput
Close this instance and the underlying output.
close() - Method in class org.dellroad.stuff.vaadin.ContextApplication
Close this instance.
close() - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventWriter
 
commandLoop(String, String) - Method in class org.dellroad.stuff.main.MainClass
Enter command loop.
commit() - Method in class org.dellroad.stuff.pobj.PersistentFileTransaction
Commit this transaction.
commitTransaction(PersistentFileTransaction) - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 
commitTransaction(T) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Commit a previously opened transaction.
commitTransaction(Connection) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Commit a previously opened transaction.
compare(String, String) - Method in class org.dellroad.stuff.spring.BeanNameComparator
 
configureQuery(CriteriaQuery<T>, CriteriaBuilder) - Method in class org.dellroad.stuff.dao.CriteriaCallback
Configure the CriteriaQuery.
context - Variable in class org.dellroad.stuff.main.ContextMainClass
 
ContextApplication - Class in org.dellroad.stuff.vaadin
Application subclass that provides some basic infrastructure for Vaadin applications: Access to the currently running Vaadin application (via a ContextApplication.get()) A way to safely interact with a Vaadin application from a background thread (via ContextApplication.invoke(java.lang.Runnable)) Support for Vaadin application close event notifications Displays any exceptions thrown in an overlay error window A Logger to use
ContextApplication() - Constructor for class org.dellroad.stuff.vaadin.ContextApplication
 
ContextApplication.CloseEvent - Class in org.dellroad.stuff.vaadin
Event delivered to listeners when a ContextApplication is closed.
ContextApplication.CloseEvent(ContextApplication) - Constructor for class org.dellroad.stuff.vaadin.ContextApplication.CloseEvent
 
ContextApplication.CloseListener - Interface in org.dellroad.stuff.vaadin
Implemented by listeners that wish to be notified when a ContextApplication is closed.
ContextApplicationFactoryBean - Class in org.dellroad.stuff.vaadin
Deprecated. Just use a regular bean definition with a factory-method invoking ContextApplication.get
ContextApplicationFactoryBean() - Constructor for class org.dellroad.stuff.vaadin.ContextApplicationFactoryBean
Deprecated.  
ContextCleanupListener - Class in org.dellroad.stuff.servlet
Clears references that can cause container memory leaks on Web container class unloading.
ContextCleanupListener() - Constructor for class org.dellroad.stuff.servlet.ContextCleanupListener
 
contextDestroyed(ServletContextEvent) - Method in class org.dellroad.stuff.servlet.ContextCleanupListener
Unregisters any JDBC drivers registered under the current class loader after first invoking the superclass version of this method.
ContextMainClass - Class in org.dellroad.stuff.main
Support superclass for MainClass implementations that wish to execute with an associated Spring application context.
ContextMainClass() - Constructor for class org.dellroad.stuff.main.ContextMainClass
 
copy(T) - Method in class org.dellroad.stuff.pobj.AbstractDelegate
Make a deep copy of the given object.
copy(T) - Method in class org.dellroad.stuff.pobj.FilterDelegate
 
copy(T) - Method in interface org.dellroad.stuff.pobj.PersistentObjectDelegate
Make a deep copy of the given object.
createBeanDefinition(Class<?>, Element, ParserContext) - Method in class org.dellroad.stuff.spring.AbstractBeanDefinitionParser
Create a new bean definition.
createInstance() - Method in class org.dellroad.stuff.spring.ResourceReaderFactoryBean
 
createInstance() - Method in class org.dellroad.stuff.vaadin.ContextApplicationFactoryBean
Deprecated.  
createServerSocket() - Method in class org.dellroad.stuff.net.SocketAcceptor
Create the server's socket via which connections will be accepted.
CriteriaCallback<T,R> - Class in org.dellroad.stuff.dao
Specialization of QueryCallback for CriteriaQuery queries.
CriteriaCallback(Class<T>) - Constructor for class org.dellroad.stuff.dao.CriteriaCallback
 
CSVOutput - Class in org.dellroad.stuff.string
CSV file output stream that ensures values are matched to the correct columns.
CSVOutput(Writer, String...) - Constructor for class org.dellroad.stuff.string.CSVOutput
Constructor.
CSVOutput(Writer, Iterable<String>) - Constructor for class org.dellroad.stuff.string.CSVOutput
Constructor.
CSVOutput(CSVWriter, Iterable<String>) - Constructor for class org.dellroad.stuff.string.CSVOutput
Constructor.
currentApplication() - Static method in class org.dellroad.stuff.vaadin.ContextApplication
Get the ContextApplication instance associated with the current thread.
currentApplication(Class<A>) - Static method in class org.dellroad.stuff.vaadin.ContextApplication
Get the ContextApplication associated with the current thread, cast to the desired type.
currentRequest() - Static method in class org.dellroad.stuff.vaadin.ContextApplication
Get the HttpServletRequest associated with the current thread.
currentResponse() - Static method in class org.dellroad.stuff.vaadin.ContextApplication
Get the HttpServletResponse associated with the current thread.

D

DAO<T> - Interface in org.dellroad.stuff.dao
Data Access Object (DAO) generic interface.
DatabaseAction<T> - Interface in org.dellroad.stuff.schema
Database action interface.
databaseNeedsInitialization(PersistentFileTransaction) - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 
databaseNeedsInitialization(T) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Determine if the database needs initialization.
databaseNeedsInitialization(Connection) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Determine if the database needs initialization.
DateEncoder - Class in org.dellroad.stuff.string
Encodes Date objects to and from strings.
decode(String) - Static method in class org.dellroad.stuff.string.ByteArrayEncoder
Decode a String back into a byte[] array.
decode(String) - Static method in class org.dellroad.stuff.string.DateEncoder
Decode the given date.
decode(String) - Static method in class org.dellroad.stuff.string.StringEncoder
Decode a string encoded by StringEncoder.encode(java.lang.String, boolean).
DEFAULT_BACKLOG - Static variable in class org.dellroad.stuff.net.SocketAcceptor
Default maximum incoming connection queue length (50).
DEFAULT_CHECK_INTERVAL - Static variable in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
Default check interval for "out-of-band" updates to the persistent file (1000Lms).
DEFAULT_LOCATION_PREFIX - Static variable in class org.dellroad.stuff.pobj.SpringXSLUpdateTransformConfigurer
Default location prefix: "/".
DEFAULT_LOCATION_SUFFIX - Static variable in class org.dellroad.stuff.pobj.SpringXSLUpdateTransformConfigurer
Default location suffix: ".xsl".
DEFAULT_NOTIFICATION_DELAY - Static variable in class org.dellroad.stuff.vaadin.ContextApplication
Default notification linger time for error notifications (in milliseconds): Value is 30000ms.
DEFAULT_SPLIT_PATTERN - Static variable in class org.dellroad.stuff.schema.SQLCommandList
The default split pattern: ";[ \\t\\r]*\\n\\s*".
DEFAULT_TRANSACTION_MANAGER_BEAN_NAME - Static variable in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
DEFAULT_UPDATE_TABLE_NAME - Static variable in class org.dellroad.stuff.schema.SQLSchemaUpdater
Default nefault name of the table that tracks schema updates, "SchemaUpdate".
DEFAULT_UPDATE_TABLE_NAME_COLUMN - Static variable in class org.dellroad.stuff.schema.SQLSchemaUpdater
Default name of the column in the updates table holding the unique update name, "updateName".
DEFAULT_UPDATE_TABLE_TIME_COLUMN - Static variable in class org.dellroad.stuff.schema.SQLSchemaUpdater
Default name of the column in the updates table holding the update's time applied, "updateTime".
delegate - Variable in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 
delete(T) - Method in class org.dellroad.stuff.dao.AbstractDAO
 
delete(T) - Method in interface org.dellroad.stuff.dao.DAO
Delete the given instance from the persistent store.
DELLROAD_STUFF_VERSION - Static variable in class org.dellroad.stuff.Version
The version of this library.
DellRoadStuffNamespaceHandler - Class in org.dellroad.stuff.spring
Spring NamespaceHandler for the dellroad-stuff XML namespace.
DellRoadStuffNamespaceHandler() - Constructor for class org.dellroad.stuff.spring.DellRoadStuffNamespaceHandler
 
dequote(String) - Static method in class org.dellroad.stuff.string.StringEncoder
Dequote a string previously enquoted by StringEncoder.enquote(java.lang.String).
deserialize(Source) - Method in class org.dellroad.stuff.pobj.FilterDelegate
 
deserialize(Source) - Method in interface org.dellroad.stuff.pobj.PersistentObjectDelegate
Deserialize a root object from XML.
deserialize(Source) - Method in class org.dellroad.stuff.pobj.SpringDelegate
 
deserializeBoolean(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Boolean parser that allows "yes" and "no" as well as the usual "true", "false", "0", "1".
deserializeBooleanStrictly(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize a boolean strictly, only allowing the values true or false.
deserializeByteArray(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize a byte array using ByteArrayEncoder.
deserializeByteArrayWithColons(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize a byte array using MAC address notation (colon-separated).
deserializeDate(String, String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize a Date.
deserializeDate(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize a Date in the format supported by DateEncoder.
deserializeExpression(String) - Static method in class org.dellroad.stuff.jibx.SpringParseUtil
Deserialize a Spring Expression.
deserializeExpression(String, ParserContext) - Static method in class org.dellroad.stuff.jibx.SpringParseUtil
Deserialize a Spring Expression using the supplied ParserContext.
deserializeInet4Address(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize an Inet4Address.
deserializeIntArray(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize an array of integers separated by commas and/or whitespace.
deserializeMatching(String, String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
JiBX String deserializer support method that verifies that the input string matches the given regular expression.
deserializePattern(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize a Pattern.
deserializeReference(String, Class<T>) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize an object by reference.
deserializeSimpleDateFormat(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize a SimpleDateFormat.
deserializeString(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize a String, allowing arbitrary characters via backslash escapes.
deserializeTemplateExpression(String) - Static method in class org.dellroad.stuff.jibx.SpringParseUtil
Deserialize a Spring Expression as a template expression.
deserializeTimeInterval(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Derialize a millisecond-granularity time interval, e.g., "30s", "1d12h", "0.250s", etc.
deserializeTimeZone(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize a TimeZone.
deserializeURI(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize an URI.
deserializeUUID(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize a UUID.
deserializeXSDDateTime(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deserialize a Date in XSD dateTime format.
destroy() - Method in class org.dellroad.stuff.net.SocketAcceptor
Invokes SocketAcceptor.stop().
destroy() - Method in class org.dellroad.stuff.pobj.SpringPersistentObjectSchemaUpdater
 
destroySpringApplication() - Method in class org.dellroad.stuff.vaadin.SpringContextApplication
Perform any application-specific shutdown work.
detach(Object) - Method in class org.dellroad.stuff.dao.AbstractDAO
 
detach(T) - Method in interface org.dellroad.stuff.dao.DAO
Evict an object from the session cache.
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.dellroad.stuff.servlet.BigFatLock
 
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.dellroad.stuff.servlet.ExceptionLoggingFilter
Process the request.
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
doInJpa(EntityManager) - Method in class org.dellroad.stuff.dao.QueryCallback
 
doMain(String[]) - Method in class org.dellroad.stuff.main.MainClass
Invokes MainClass.run(java.lang.String[]), catching any exceptions thrown and exiting with a non-zero value if and only if an exception was caught.
doOnRequestEnd(HttpServletRequest, HttpServletResponse) - Method in class org.dellroad.stuff.vaadin.ContextApplication
Sub-class hook for handling the end of a request.
doOnRequestStart(HttpServletRequest, HttpServletResponse) - Method in class org.dellroad.stuff.vaadin.ContextApplication
Sub-class hook for handling the start of a request.
DoubleFormat - Class in org.dellroad.stuff.string
Java double string format regular expression.

E

EmailAddress - Annotation Type in org.dellroad.stuff.validation
Validation constraint requiring a String to be a valid email address.
encode(byte[]) - Static method in class org.dellroad.stuff.string.ByteArrayEncoder
Encode a byte[] array as a String.
encode(byte[], int, int) - Static method in class org.dellroad.stuff.string.ByteArrayEncoder
Encode a byte[] array as a String.
encode(Date) - Static method in class org.dellroad.stuff.string.DateEncoder
Encode the given date as a string of the form 2009-12-01T15:33:07.763Z.
encode(String, boolean) - Static method in class org.dellroad.stuff.string.StringEncoder
Encode a string, escaping control and XML-invalid characters.
enquote(String) - Static method in class org.dellroad.stuff.string.StringEncoder
Enquote a string.
enquote(byte[], int, int) - Static method in class org.dellroad.stuff.string.StringEncoder
Enquote bytes, treating them as an ASCII string.
enquotedLength(String) - Static method in class org.dellroad.stuff.string.StringEncoder
Determine the length of a string previously enquoted by StringEncoder.enquote(java.lang.String) when it appears as the prefix of a longer string.
equals(Object) - Method in class org.dellroad.stuff.vaadin.PropertyDef
 
error(Element, ParserContext, String) - Method in class org.dellroad.stuff.spring.AbstractBeanDefinitionParser
Report an error and throw an exception.
error(TransformerException) - Method in class org.dellroad.stuff.xml.TransformErrorListener
 
errout(String) - Method in class org.dellroad.stuff.main.MainClass
Emit an error message an exit with exit value 1.
ExceptionLoggingFilter - Class in org.dellroad.stuff.servlet
Servlet filter that ensures any exceptions which are not handled by the servlet get logged somewhere.
ExceptionLoggingFilter() - Constructor for class org.dellroad.stuff.servlet.ExceptionLoggingFilter
 
executeQuery(TypedQuery<T>) - Method in class org.dellroad.stuff.dao.AbstractDAO.DAOCriteriaListCallback
 
executeQuery(TypedQuery<T>) - Method in class org.dellroad.stuff.dao.AbstractDAO.DAOCriteriaUniqueCallback
 
executeQuery(TypedQuery<T>) - Method in class org.dellroad.stuff.dao.AbstractDAO.DAOQueryListCallback
 
executeQuery(TypedQuery<T>) - Method in class org.dellroad.stuff.dao.AbstractDAO.DAOQueryUniqueCallback
 
executeQuery(Query) - Method in class org.dellroad.stuff.dao.QueryCallback
Execute the query.
executeQuery(Query) - Method in class org.dellroad.stuff.dao.TypedQueryCallback
Delegates to TypedQueryCallback.executeQuery(TypedQuery).
executeQuery(TypedQuery<T>) - Method in class org.dellroad.stuff.dao.TypedQueryCallback
Execute the query.
executeQuery(Query) - Method in class org.dellroad.stuff.dao.UpdateCallback
 
expect(char) - Method in class org.dellroad.stuff.string.ParseContext
Read and advance past the next character, which must match ch.

F

fatalError(TransformerException) - Method in class org.dellroad.stuff.xml.TransformErrorListener
 
fieldList - Variable in class org.dellroad.stuff.string.NamedArgumentFormatter
The list of argument names in the order they are used.
fieldMap - Variable in class org.dellroad.stuff.string.NamedArgumentFormatter
Mapping from argument name to argument list index.
file - Variable in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 
FilterDelegate<T> - Class in org.dellroad.stuff.pobj
Adapter class for PersistentObjectDelegate implementations that wrap a nested delegate.
FilterDelegate(PersistentObjectDelegate<T>) - Constructor for class org.dellroad.stuff.pobj.FilterDelegate
Constructor.
finalize() - Method in class org.dellroad.stuff.io.NullModemInputStream
Ensure input stream is closed when this instance is no longer referenced.
finalize() - Method in class org.dellroad.stuff.io.NullModemOutputStream
Ensure output stream is closed when this instance is no longer referenced.
find(String, Object...) - Method in class org.dellroad.stuff.dao.AbstractDAO
Find instances using a query string and query parameters.
findUnique(String, Object...) - Method in class org.dellroad.stuff.dao.AbstractDAO
Find a unique instance using a query string and query parameters.
flush() - Method in class org.dellroad.stuff.dao.AbstractDAO
 
flush() - Method in interface org.dellroad.stuff.dao.DAO
Flush outstanding changes to the persistent store.
flush() - Method in class org.dellroad.stuff.io.AsyncOutputStream
Flush output.
flush() - Method in class org.dellroad.stuff.java.IdGenerator
Flush any cleared weak references.
flush() - Method in class org.dellroad.stuff.string.CSVOutput
Flush output.
flush() - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventWriter
 
format(Map<String, Object>) - Method in class org.dellroad.stuff.string.NamedArgumentFormatter
Format the string using the given arguments.
formatDate(String, Date) - Method in class org.dellroad.stuff.string.CSVOutput
Format a Date value.
formatId(long) - Static method in class org.dellroad.stuff.jibx.IdMapper
Format the unique ID.
formatObject(String, Object) - Method in class org.dellroad.stuff.string.CSVOutput
Format a CSV column value.
fromString(String) - Static method in class org.dellroad.stuff.net.IPv4Util
Convert from string representation.

G

generateMultiUpdateName(SchemaUpdate<T>, int) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Generate the update name for one action within a multi-action update.
get() - Static method in class org.dellroad.stuff.java.IdGenerator
Get the IdGenerator associated with the current thread.
get(Class<?>) - Static method in enum org.dellroad.stuff.java.Primitive
Get the value corresponding to the given Java primitive or primitive wrapper type.
get() - Static method in class org.dellroad.stuff.vaadin.ContextApplication
Get the ContextApplication instance associated with the current thread or throw an exception if there is none.
get(Class<A>) - Static method in class org.dellroad.stuff.vaadin.ContextApplication
Get the ContextApplication instance associated with the current thread, cast to the desired type, or throw an exception if there is none.
get() - Static method in class org.dellroad.stuff.vaadin.SpringContextApplication
Get the SpringContextApplication instance associated with the current thread or throw an exception if there is none.
get(String, ObjectFactory<?>) - Method in class org.dellroad.stuff.vaadin.VaadinApplicationScope
 
getActualVersion() - Method in exception org.dellroad.stuff.pobj.PersistentObjectVersionException
Get the actual, unexpected version number.
getAll() - Method in class org.dellroad.stuff.dao.AbstractDAO
 
getAll() - Method in interface org.dellroad.stuff.dao.DAO
Get all instances.
getApplication() - Method in class org.dellroad.stuff.vaadin.VaadinApplicationListener
 
getApplicationContext() - Method in class org.dellroad.stuff.vaadin.SpringContextApplication
Get this instance's associated Spring application context.
getApplicationName() - Method in class org.dellroad.stuff.vaadin.SpringContextApplication
Get the name for this application.
getAppliedUpdateNames(PersistentFileTransaction) - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 
getAppliedUpdateNames(T) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Determine which updates have already been applied to the database.
getAppliedUpdateNames(Connection) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Determine which updates have already been applied.
getArgumentNames() - Method in class org.dellroad.stuff.string.NamedArgumentFormatter
Get the argument names found in the configured format string.
getAttributeName() - Method in class org.dellroad.stuff.jibx.IdMapper
Get the ID reference attribute name.
getBacklog() - Method in class org.dellroad.stuff.net.SocketAcceptor
Get maximum connect backlog.
getBaseAddress(Inet4Address, Inet4Address) - Static method in class org.dellroad.stuff.net.IPv4Util
Get the base address (all host bits zero) of the given IP network.
getBroadcastAddress(Inet4Address, Inet4Address) - Static method in class org.dellroad.stuff.net.IPv4Util
Get the broadcast address (all host bits one) of the given IP network.
getBufferSize() - Method in class org.dellroad.stuff.io.AsyncOutputStream
Get the capacity of this instance's output buffer.
getBy(QueryCallback<R>) - Method in class org.dellroad.stuff.dao.AbstractDAO
Search using a QueryCallback.
getById(long) - Method in class org.dellroad.stuff.dao.AbstractDAO
 
getById(long) - Method in interface org.dellroad.stuff.dao.DAO
Get an instance by ID.
getCheckInterval() - Method in class org.dellroad.stuff.pobj.PersistentObject
Get the delay time between periodic checks for changes in the underlying persistent file.
getConnection() - Method in class org.dellroad.stuff.schema.AbstractUpdatingDataSource
 
getConnection(String, String) - Method in class org.dellroad.stuff.schema.AbstractUpdatingDataSource
 
getContextApplication() - Method in class org.dellroad.stuff.vaadin.ContextApplication.CloseEvent
Get the ContextApplication that is being closed.
getContextLocation() - Method in class org.dellroad.stuff.main.ContextMainClass
Get the classpath location of this instance's associated XML application context.
getConversationId() - Method in class org.dellroad.stuff.vaadin.VaadinApplicationScope
 
getCurrentContext(Class<T>) - Static method in class org.dellroad.stuff.validation.ValidationContext
Get the ValidationContext associated with the current thread, cast to the desired type.
getCurrentRoot() - Static method in class org.dellroad.stuff.validation.ValidationContext
Convenience method to get the root object being validated by the current thread.
getData() - Method in class org.dellroad.stuff.pobj.PersistentFileTransaction
Get the current XML data.
getDatabaseActions() - Method in class org.dellroad.stuff.pobj.SpringPersistentObjectSchemaUpdate
 
getDatabaseActions() - Method in interface org.dellroad.stuff.schema.SchemaUpdate
Get the action(s) that comprise this update.
getDatabaseActions() - Method in class org.dellroad.stuff.schema.SpringSQLSchemaUpdate
 
getDatabaseInitialization() - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Get the empty database initialization.
getDateFormat(String) - Static method in class org.dellroad.stuff.string.DateEncoder
Get a SimpleDateFormat configured with the given format and for the UTC time zone and strict parsing.
getDelegate() - Method in class org.dellroad.stuff.pobj.PersistentObject
Get the configured PersistentObjectDelegate.
getErrorMessage(Throwable) - Method in class org.dellroad.stuff.vaadin.ContextApplication
Convert an exception into a displayable error message.
getEventType() - Method in class org.dellroad.stuff.vaadin.VaadinApplicationListener
 
getException() - Method in class org.dellroad.stuff.io.AsyncOutputStream
Get the exception thrown by the underlying output stream, if any.
getException() - Method in exception org.dellroad.stuff.java.CheckedExceptionWrapper
Get the wrapped exception.
getExpectedVersion() - Method in exception org.dellroad.stuff.pobj.PersistentObjectVersionException
Get the version number that was expected.
getFirst() - Method in interface org.dellroad.stuff.util.LinkedList
 
getFormat() - Method in class org.dellroad.stuff.string.NamedArgumentFormatter
Get the original format string provided to the constructor.
getId(Object) - Method in class org.dellroad.stuff.java.IdGenerator
Get a unique ID for the given object.
getId(Object) - Static method in class org.dellroad.stuff.jibx.IdMapper
Get the unique ID value for the given object.
getIdValue(Object) - Method in class org.dellroad.stuff.jibx.IdMapper
Get the unique ID for the given object.
getImpliedTransformResourceLocation(String) - Method in class org.dellroad.stuff.pobj.SpringXSLUpdateTransformConfigurer
Derive the implied transform resource location for the update with the given bean name.
getIndex() - Method in class org.dellroad.stuff.string.ParseContext
Get the current index into the original input string.
getInetAddress() - Method in class org.dellroad.stuff.net.SocketAcceptor
Get address to listen on.
getInitialValue() - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
Get the initial value for the persistent object when no persistent file is found.
getInitialValue() - Method in class org.dellroad.stuff.pobj.SpringPersistentObjectSchemaUpdater
Get the initial value for the persistent object when no persistent file is found.
getInnerDataSource() - Method in class org.dellroad.stuff.schema.AbstractUpdatingDataSource
Get the underlying DataSource.
getInput() - Method in class org.dellroad.stuff.string.ParseContext
Get the current input.
getKey() - Method in class org.dellroad.stuff.jibx.MapEntry
Get this map entry's key.
getLast() - Method in interface org.dellroad.stuff.util.LinkedList
 
getLetter() - Method in enum org.dellroad.stuff.java.Primitive
Get the single character descriptor for this primitive type, e.g., "I".
getLogger(Throwable) - Method in class org.dellroad.stuff.servlet.ExceptionLoggingFilter
Get the logging destination.
getLoginTimeout() - Method in class org.dellroad.stuff.schema.AbstractUpdatingDataSource
 
getLogMessageFor(TransformerException) - Method in class org.dellroad.stuff.xml.TransformErrorListener
 
getLogWriter() - Method in class org.dellroad.stuff.schema.AbstractUpdatingDataSource
 
getLongName() - Method in enum org.dellroad.stuff.java.Primitive
Get the long name for this primitive type, e.g., "Integer".
getMaxConnections() - Method in class org.dellroad.stuff.net.SocketAcceptor
Get maximum number of concurrent connections.
getName() - Method in enum org.dellroad.stuff.java.Primitive
Get the short name for this primitive type, e.g., "int".
getName() - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdate
 
getName() - Method in interface org.dellroad.stuff.schema.SchemaUpdate
Get the unique name of this update.
getName() - Method in class org.dellroad.stuff.vaadin.PropertyDef
Get the name of this property.
getNamespaceContext() - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventWriter
 
getNetmaskForWidth(int) - Static method in class org.dellroad.stuff.net.IPv4Util
Get netmask with the given width.
getNewRoot() - Method in class org.dellroad.stuff.pobj.PersistentObjectEvent
Get the new root after to the update.
getNotificationDelay() - Method in class org.dellroad.stuff.vaadin.ContextApplication
Get the notification linger time for error notifications (in milliseconds).
getNumBackups() - Method in class org.dellroad.stuff.pobj.PersistentObject
Get the number of backup copies to preserve.
getObject(long) - Method in class org.dellroad.stuff.java.IdGenerator
Get the object assigned to the given ID.
getObjectType() - Method in class org.dellroad.stuff.spring.ResourceReaderFactoryBean
 
getObjectType() - Method in class org.dellroad.stuff.vaadin.ContextApplicationFactoryBean
Deprecated.  
getOldRoot() - Method in class org.dellroad.stuff.pobj.PersistentObjectEvent
Get the old root prior to the update.
getOrder() - Method in class org.dellroad.stuff.vaadin.VaadinApplicationListener
Get ordering value.
getOrderingTieBreaker() - Method in class org.dellroad.stuff.pobj.SpringPersistentObjectSchemaUpdater
Get the preferred ordering of two updates that do not have any predecessor constraints (including implied indirect constraints) between them.
getOrderingTieBreaker() - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Determine the preferred ordering of two updates that do not have any predecessor constraints (including implied indirect constraints) between them.
getOrderingTieBreaker() - Method in class org.dellroad.stuff.schema.SpringSQLSchemaUpdater
Get the preferred ordering of two updates that do not have any predecessor constraints (including implied indirect constraints) between them.
getOriginalInput() - Method in class org.dellroad.stuff.string.ParseContext
Get the original input string as passed to the constructor.
getOutEdges(E) - Method in interface org.dellroad.stuff.graph.TopologicalSorter.EdgeLister
Get the set of all nodes X for which there is an edge from node to X.
getOutEdges(SchemaUpdate<T>) - Method in class org.dellroad.stuff.schema.SchemaUpdateEdgeLister
 
getPersistentFile() - Method in class org.dellroad.stuff.pobj.PersistentObject
Get the persistent file containing the XML form of the persisted object.
getPersistentObject() - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
Get the PersistentObject.
getPipedInputStream() - Method in class org.dellroad.stuff.io.NullModemInputStream
Get the wrapped stream cast as a PipedInputStream.
getPipedOutputStream() - Method in class org.dellroad.stuff.io.NullModemOutputStream
Get the wrapped stream cast as a PipedOutputStream.
getPort() - Method in class org.dellroad.stuff.net.SocketAcceptor
Get TCP port to listen on.
getPrefix(String) - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventWriter
 
getPropertyMap() - Method in class org.dellroad.stuff.string.SimpleObjectParser
Get the mapping from property name to setter method.
getReference(long) - Method in class org.dellroad.stuff.dao.AbstractDAO
 
getReference(long) - Method in interface org.dellroad.stuff.dao.DAO
Get a reference to an instance by ID.
getRequiredPredecessors() - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdate
 
getRequiredPredecessors() - Method in interface org.dellroad.stuff.schema.SchemaUpdate
Get the the other updates (if any) that must be applied before this update may be applied.
getRoot() - Method in class org.dellroad.stuff.pobj.PersistentObject
Atomically read the root object.
getRoot() - Method in class org.dellroad.stuff.validation.ValidationContext
Get the root object associated with this instance.
getSharedRoot() - Method in class org.dellroad.stuff.pobj.PersistentObject
Get a shared copy of the root object.
getSocketHandler(Socket) - Method in class org.dellroad.stuff.net.SocketAcceptor
Get the SocketHandler that will handle a new connection using the given socket.
getSource() - Method in class org.dellroad.stuff.pobj.PersistentObjectEvent
Get the PersistentObject that originated this event.
getSQL() - Method in class org.dellroad.stuff.schema.SQLCommand
 
getSQLCommandList() - Method in class org.dellroad.stuff.schema.SpringSQLSchemaUpdate
 
getTargetClass() - Method in class org.dellroad.stuff.string.SimpleObjectParser
Get the target class.
getTrailingSpace() - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventWriter
Get the whitespace found between the opening document tag and the first non-space child.
getTransactionManager() - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
getTransform() - Method in class org.dellroad.stuff.pobj.SpringXSLPersistentObjectSchemaUpdate
 
getType() - Method in enum org.dellroad.stuff.java.Primitive
Get the Class object representing this primitive type, e.g., Integer.TYPE.
getType() - Method in class org.dellroad.stuff.vaadin.PropertyDef
Get the type of the property value that this instance represents.
getUnwrapMethod() - Method in enum org.dellroad.stuff.java.Primitive
Get the wrapper class' "unwrap" method for this primitive type, e.g., Integer.intValue().
getUpdates() - Method in class org.dellroad.stuff.pobj.PersistentFileTransaction
Get the updates list associated with this transaction.
getUpdates() - Method in class org.dellroad.stuff.pobj.UpdatesXMLEventReader
Get the updates gleaned from the scan.
getUpdates() - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Get the configured updates.
getUpdateTableInitialization() - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Get the update table initialization.
getUpdateTableName() - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Get the name of the table that keeps track of applied updates.
getUpdateTableNameColumn() - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Get the name of the update name column in the table that keeps track of applied updates.
getUpdateTableTimeColumn() - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Get the name of the update timestamp column in the table that keeps track of applied updates.
getValue() - Method in class org.dellroad.stuff.jibx.MapEntry
Get this map entry's value.
getVersion() - Method in class org.dellroad.stuff.pobj.PersistentObject
Get the version of the current root.
getVersion() - Method in class org.dellroad.stuff.pobj.PersistentObjectEvent
Get the version that this event is associated with.
getViolations() - Method in exception org.dellroad.stuff.pobj.PersistentObjectValidationException
Get the set of constraint violations.
getWidth(Inet4Address) - Static method in class org.dellroad.stuff.net.IPv4Util
Get netmask width.
getWrapperType() - Method in enum org.dellroad.stuff.java.Primitive
Get the wrapper Class object for this primitive type, e.g., Integer.class.
getWriteDelay() - Method in class org.dellroad.stuff.pobj.PersistentObject
Get the maximum delay after an update operation before a write-back to the persistent file must be initiated.

H

handleCommand(String) - Method in class org.dellroad.stuff.main.MainClass
Callback used by MainClass.commandLoop(java.lang.String, java.lang.String).
handleConnection(Socket) - Method in interface org.dellroad.stuff.net.SocketHandler
Handle the connection.
handleEOF() - Method in interface org.dellroad.stuff.io.AsyncInputStream.Listener
Handle end-of-file detected on the underlying input.
handleEvent(PersistentObjectEvent<T>) - Method in interface org.dellroad.stuff.pobj.PersistentObjectListener
Handle notification of an updated root object.
handleException(Throwable) - Method in interface org.dellroad.stuff.io.AsyncInputStream.Listener
Handle an exception detected on the underlying input.
handleInput(byte[], int, int) - Method in interface org.dellroad.stuff.io.AsyncInputStream.Listener
Handle new data read from the underlying input.
handleWritebackException(PersistentObject<T>, Throwable) - Method in class org.dellroad.stuff.pobj.AbstractDelegate
Handle an exception thrown during a delayed write-back attempt.
handleWritebackException(PersistentObject<T>, Throwable) - Method in class org.dellroad.stuff.pobj.FilterDelegate
 
handleWritebackException(PersistentObject<T>, Throwable) - Method in interface org.dellroad.stuff.pobj.PersistentObjectDelegate
Handle an exception thrown during a delayed write-back attempt.
HardLink - Class in org.dellroad.stuff.io
Supports hard-linking of files on UNIX systems.
hashCode() - Method in class org.dellroad.stuff.vaadin.PropertyDef
 
Hostname - Annotation Type in org.dellroad.stuff.validation
Validation constraint requiring a String to be a valid DNS hostname (or hostname component).
HostOrIP - Annotation Type in org.dellroad.stuff.validation
Validation constraint requiring a String to be either a valid fully-qualified DNS hostname or an IPv4 address.

I

IdGenerator - Class in org.dellroad.stuff.java
Registry of unique IDs for objects.
IdGenerator() - Constructor for class org.dellroad.stuff.java.IdGenerator
 
IdMapper - Class in org.dellroad.stuff.jibx
JiBX Marshaller/Unmarshaller that assigns unique ID's to each object and replaces duplicate appearances of the same object with an IDREF reference.
IdMapper(String, int, String, String) - Constructor for class org.dellroad.stuff.jibx.IdMapper
 
IdMappingMarshaller - Class in org.dellroad.stuff.jibx
Wrapper for Spring's JibxMarshaller that performs marshalling and unmarshalling operations within an invocation of IdGenerator.run().
IdMappingMarshaller() - Constructor for class org.dellroad.stuff.jibx.IdMappingMarshaller
 
indexedFormat - Variable in class org.dellroad.stuff.string.NamedArgumentFormatter
The modified format string containing indexes instead of argument names.
indicatesUninitializedDatabase(Connection, SQLException) - Method in class org.dellroad.stuff.schema.SpringSQLSchemaUpdater
Determine if an exception thrown during SQLSchemaUpdater.databaseNeedsInitialization(java.sql.Connection) is consistent with an uninitialized database.
indicatesUninitializedDatabase(Connection, SQLException) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Determine if an exception thrown during SQLSchemaUpdater.databaseNeedsInitialization(java.sql.Connection) is consistent with an uninitialized database.
init() - Method in class org.dellroad.stuff.spring.DellRoadStuffNamespaceHandler
 
init() - Method in class org.dellroad.stuff.vaadin.ContextApplication
Initialize the application.
initApplication() - Method in class org.dellroad.stuff.vaadin.ContextApplication
Initialize the application.
initApplication() - Method in class org.dellroad.stuff.vaadin.SpringContextApplication
Initializes the associated ConfigurableWebApplicationContext.
initFilterBean() - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
initialize(C) - Method in class org.dellroad.stuff.validation.AbstractValidator
 
initialize(Pattern) - Method in class org.dellroad.stuff.validation.PatternValidator
 
initializeAndUpdateDatabase(D) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Perform database schema initialization and updates.
initializeAndUpdateDatabase(DataSource) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
 
initializeDatabase(PersistentFileTransaction) - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 
initializeDatabase(T) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Initialize an uninitialized database.
initializeDatabase(Connection) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
 
initSpringApplication(ConfigurableWebApplicationContext) - Method in class org.dellroad.stuff.vaadin.SpringContextApplication
Initialize the application.
InputStreamReader - Class in org.dellroad.stuff.io
Reads zero or more InputStreams serialized inside an underlying InputStream by an OutputStreamWriter.
InputStreamReader(InputStream) - Constructor for class org.dellroad.stuff.io.InputStreamReader
Constructor.
invoke(Runnable) - Method in class org.dellroad.stuff.vaadin.ContextApplication
Set this instance as the "current application" (if not set already) while invoking the given callback.
invokeLater(Runnable) - Method in class org.dellroad.stuff.vaadin.ContextApplication
Set this instance as the "current application" and invoke the given callback from within another thread.
IPv4Util - Class in org.dellroad.stuff.net
Utility methods for working with IPv4 addresses and netmasks.
isAllowEmptyStart() - Method in class org.dellroad.stuff.pobj.PersistentObject
Determine whether this instance should allow an "empty start".
isAnnotationElement(StartElement) - Method in class org.dellroad.stuff.pobj.UpdatesXMLEventReader
 
isAnnotationElement(StartElement) - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventReader
Determine if the given event represents the start of the annotation element.
isAutowire() - Method in class org.dellroad.stuff.vaadin.ContextApplicationFactoryBean
Deprecated. Should this instance autowire the application instance be autowired using the containing bean factory?
isCollectionValid(Collection<? extends T>, ConstraintValidatorContext) - Method in class org.dellroad.stuff.validation.AbstractValidator
Apply this constraint to all values in a collection.
isEOF() - Method in class org.dellroad.stuff.string.ParseContext
Determine if we are at the end of the input.
isIgnoreUnrecognizedUpdates() - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Determine whether unrecognized updates are ignored or cause an exception.
isLockHeld() - Static method in class org.dellroad.stuff.servlet.BigFatLock
Verify that the current thread is holding the big fat lock.
isOnNetwork(Inet4Address, Inet4Address, Inet4Address) - Static method in class org.dellroad.stuff.net.IPv4Util
Determine if the given address lives on the given network.
isParked(Thread) - Method in class org.dellroad.stuff.java.ThreadParkingLot
Determine if the given thread is currently parked on this instance.
isReadOnly() - Method in class org.dellroad.stuff.dao.AbstractDAO
 
isReadOnly() - Method in interface org.dellroad.stuff.dao.DAO
Determine if the current transaction is read-only.
isSameGraph(T, T) - Method in class org.dellroad.stuff.pobj.AbstractDelegate
Compare two object graphs.
isSameGraph(T, T) - Method in class org.dellroad.stuff.pobj.FilterDelegate
 
isSameGraph(T, T) - Method in interface org.dellroad.stuff.pobj.PersistentObjectDelegate
Attempt to determine whether two object graphs are identical.
isSingleAction() - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdate
 
isSingleAction() - Method in interface org.dellroad.stuff.schema.SchemaUpdate
Determine whether, if this instance contains multiple individual actions, should they be applied in a single transaction and recorded as a single update.
isStarted() - Method in class org.dellroad.stuff.pobj.PersistentObject
Determine whether this instance is started.
isUpdated() - Method in class org.dellroad.stuff.schema.AbstractUpdatingDataSource
Determine if the underlying DataSource has been updated.
isValid(Object, ConstraintValidatorContext) - Method in class org.dellroad.stuff.validation.PatternValidator
 
isValid(SelfValidating, ConstraintValidatorContext) - Method in class org.dellroad.stuff.validation.SelfValidatingValidator
 
isValid(Object, ConstraintValidatorContext) - Method in class org.dellroad.stuff.validation.SortedValidator
 
isValidHostOnNetwork(Inet4Address, Inet4Address, Inet4Address) - Static method in class org.dellroad.stuff.net.IPv4Util
Determine if the given address is a valid host address on the given network.
isValidNetmask(Inet4Address) - Static method in class org.dellroad.stuff.net.IPv4Util
Determine if the given address is a valid CIDR netmask.
isValidUpdateName(String) - Static method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Determine if the given schema update name is valid.
isValidXMLChar(char) - Static method in class org.dellroad.stuff.string.StringEncoder
Determine if the given character is a valid XML character according to the XML 1.0 specification.
isWorkOutstanding() - Method in class org.dellroad.stuff.io.AsyncOutputStream
Determine if there is outstanding work still to be performed (writes, flushes, and/or close operations) by the background thread.
isWrapperFor(Class<?>) - Method in class org.dellroad.stuff.schema.AbstractUpdatingDataSource
 
iterate(Map<K, V>, Class<E>) - Static method in class org.dellroad.stuff.jibx.MapEntry
Helper method intended to be used by a custom JiBX "iter-method".

J

JiBXUtil - Class in org.dellroad.stuff.jibx
Some simplified API methods for JiBX XML encoding/decoding.

L

link(File, File) - Static method in class org.dellroad.stuff.io.HardLink
Create a hard link from src to dest.
LinkedList<E> - Interface in org.dellroad.stuff.util
Interface for linked lists.
ListableHashSet<E> - Class in org.dellroad.stuff.jibx
Set implementation with these properties which make it suitable for use with JiBX: Iteration order reflects addition order (this property is inherited from LinkedHashSet) An ListableHashSet.addUnique(E) method that throws JiBXException if the item is already in the set (suitable for use as a JiBX add-method)
ListableHashSet() - Constructor for class org.dellroad.stuff.jibx.ListableHashSet
 
ListableHashSet(Collection<? extends E>) - Constructor for class org.dellroad.stuff.jibx.ListableHashSet
 
ListableHashSet(int) - Constructor for class org.dellroad.stuff.jibx.ListableHashSet
 
ListableHashSet(int, float) - Constructor for class org.dellroad.stuff.jibx.ListableHashSet
 
lockNotHeld() - Method in class org.dellroad.stuff.servlet.BigFatLockHeldAdvice
Invoked in cases where the current thread does not hold the BigFatLock.
log - Variable in class org.dellroad.stuff.dao.AbstractDAO
 
log - Variable in class org.dellroad.stuff.io.AsyncInputStream
 
log - Variable in class org.dellroad.stuff.io.AsyncOutputStream
 
log - Variable in class org.dellroad.stuff.main.MainClass
 
log - Variable in class org.dellroad.stuff.net.SocketAcceptor
 
log - Variable in class org.dellroad.stuff.pobj.AbstractDelegate
 
log - Variable in class org.dellroad.stuff.pobj.PersistentObject
 
log - Variable in class org.dellroad.stuff.schema.AbstractSchemaUpdater
 
log - Variable in class org.dellroad.stuff.schema.SQLCommand
 
log - Variable in class org.dellroad.stuff.servlet.ContextCleanupListener
 
log - Variable in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
log - Variable in class org.dellroad.stuff.vaadin.ContextApplication
 
log - Variable in class org.dellroad.stuff.xml.TransformErrorListener
 
logException(Throwable) - Method in class org.dellroad.stuff.servlet.ExceptionLoggingFilter
Log an exception caught by this instance.

M

MainClass - Class in org.dellroad.stuff.main
Support superclass for command line classes.
MainClass() - Constructor for class org.dellroad.stuff.main.MainClass
 
MapEntry<K,V> - Class in org.dellroad.stuff.jibx
Utility class that makes it slightly easier to model Map properties in JiBX.
MapEntry() - Constructor for class org.dellroad.stuff.jibx.MapEntry
 
marshal(Object, IMarshallingContext) - Method in class org.dellroad.stuff.jibx.IdMapper
Overrides superclass to use object equality instead of Object.equals() for sanity checking.
marshal(Object, Result) - Method in class org.dellroad.stuff.jibx.IdMappingMarshaller
Invokdes JibxMarshaller.marshal() on the configured JibxMarshaller within an invocation of IdGenerator.run().
matchPrefix(String) - Method in class org.dellroad.stuff.string.ParseContext
Match the current input against the given regular expression and advance past it.
matchPrefix(Pattern) - Method in class org.dellroad.stuff.string.ParseContext
Match the current input against the given regular expression and advance past it.
MAX_VALID_NETMASK_WIDTH - Static variable in class org.dellroad.stuff.net.IPv4Util
 
merge(T) - Method in class org.dellroad.stuff.dao.AbstractDAO
 
merge(T) - Method in interface org.dellroad.stuff.dao.DAO
Merge the given object into the current session.
MIN_VALID_NETMASK_WIDTH - Static variable in class org.dellroad.stuff.net.IPv4Util
 

N

NamedArgumentFormatter - Class in org.dellroad.stuff.string
Interpreter for printf-style formatting strings that identifies arguments using names rather than indicies.
NamedArgumentFormatter(String) - Constructor for class org.dellroad.stuff.string.NamedArgumentFormatter
Constructor.
NAMESPACE_URI - Static variable in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
XML namespace URI used for nested update elements.
NAMESPACE_URI - Static variable in class org.dellroad.stuff.spring.DellRoadStuffNamespaceHandler
 
nested - Variable in class org.dellroad.stuff.pobj.FilterDelegate
 
next() - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventReader
 
nextEvent() - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventReader
 
normalize(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
JiBX String deserializer that normalizes a string as is required by the xsd:token XSD type.
notifyListeners(long, T, T) - Method in class org.dellroad.stuff.pobj.PersistentObject
Notify listeners of a change in value.
NullModemInputStream - Class in org.dellroad.stuff.io
Presents an InputStream interface given a NullModemInputStream.WriteCallback that can write to an OutputStream.
NullModemInputStream(NullModemInputStream.WriteCallback, String) - Constructor for class org.dellroad.stuff.io.NullModemInputStream
Constructor.
NullModemInputStream.WriteCallback - Interface in org.dellroad.stuff.io
Callback interface used by NullModemInputStream.
NullModemOutputStream - Class in org.dellroad.stuff.io
Presents an OutputStream interface given a NullModemOutputStream.ReadCallback that can read from an InputStream.
NullModemOutputStream(NullModemOutputStream.ReadCallback, String) - Constructor for class org.dellroad.stuff.io.NullModemOutputStream
Constructor.
NullModemOutputStream.ReadCallback - Interface in org.dellroad.stuff.io
Callback interface used by NullModemOutputStream.
numBackups - Variable in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 

O

onApplicationEvent(ApplicationEvent) - Method in class org.dellroad.stuff.vaadin.VaadinApplicationListener
 
onApplicationEventInternal(E) - Method in class org.dellroad.stuff.vaadin.VaadinApplicationListener
Handle a listener event within the context of the ContextApplication with which this listener is associated.
onRefresh(ApplicationContext) - Method in class org.dellroad.stuff.vaadin.SpringContextApplication
Perform any application-specific work after a successful application context refresh.
onRequestEnd(HttpServletRequest, HttpServletResponse) - Method in class org.dellroad.stuff.vaadin.ContextApplication
Handle the end of a request.
onRequestStart(HttpServletRequest, HttpServletResponse) - Method in class org.dellroad.stuff.vaadin.ContextApplication
Handle the start of a request.
openTransaction(File) - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 
openTransaction(D) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Begin a transaction on the given database.
openTransaction(DataSource) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Begin a transaction on the given connection.
OpenTransactionInViewFilter - Class in org.dellroad.stuff.servlet
Servlet filter that wraps execution in a transaction.
OpenTransactionInViewFilter() - Constructor for class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
org.dellroad.stuff - package org.dellroad.stuff
Top level package for the dellroad-stuff Java library.
org.dellroad.stuff.dao - package org.dellroad.stuff.dao
Data Access Object (DAO) support classes.
org.dellroad.stuff.graph - package org.dellroad.stuff.graph
Graph-related classes.
org.dellroad.stuff.io - package org.dellroad.stuff.io
I/O-related classes.
org.dellroad.stuff.java - package org.dellroad.stuff.java
General Java-related utility classes.
org.dellroad.stuff.jibx - package org.dellroad.stuff.jibx
JiBX-related classes.
org.dellroad.stuff.main - package org.dellroad.stuff.main
Classes supporting "main" classes, i.e., classes with a public static void main method that are intended to be invoked from the command line.
org.dellroad.stuff.net - package org.dellroad.stuff.net
Networking-related classes.
org.dellroad.stuff.pobj - package org.dellroad.stuff.pobj
Simple XML Persistence Objects (POBJ).
org.dellroad.stuff.schema - package org.dellroad.stuff.schema
Classes supporting automated database schema management.
org.dellroad.stuff.servlet - package org.dellroad.stuff.servlet
Servlet-related utility classes.
org.dellroad.stuff.spring - package org.dellroad.stuff.spring
Spring related classes.
org.dellroad.stuff.string - package org.dellroad.stuff.string
Utility classes relating to parsing and formatting strings.
org.dellroad.stuff.util - package org.dellroad.stuff.util
Utility classes relating to collections, etc.
org.dellroad.stuff.vaadin - package org.dellroad.stuff.vaadin
Vaadin-related classes, especially relating to Spring integration.
org.dellroad.stuff.validation - package org.dellroad.stuff.validation
Classes related to JSR-303 validation.
org.dellroad.stuff.xml - package org.dellroad.stuff.xml
XML utility classes.
originalFormat - Variable in class org.dellroad.stuff.string.NamedArgumentFormatter
The original format string provided to the constructor.
OutputStreamWriter - Class in org.dellroad.stuff.io
Serializes zero or more OutputStreams inside a single underlying OutputStream.
OutputStreamWriter(OutputStream) - Constructor for class org.dellroad.stuff.io.OutputStreamWriter
Constructor.

P

park(long) - Method in class org.dellroad.stuff.java.ThreadParkingLot
Park the current thread on this instance.
parse(String, String, boolean) - Method in class org.dellroad.stuff.string.SimpleObjectParser
Same as SimpleObjectParser.parse(Object, String, String, boolean) but this method creates the target instance using the target type's default constructor.
parse(T, String, String, boolean) - Method in class org.dellroad.stuff.string.SimpleObjectParser
Parse the given text using the provided named group regular expression.
parse(String, Pattern, Map<Integer, String>, boolean) - Method in class org.dellroad.stuff.string.SimpleObjectParser
Same as SimpleObjectParser.parse(Object, String, Pattern, Map, boolean) but this method creates the target instance using the target type's default constructor.
parse(T, String, Pattern, Map<Integer, String>, boolean) - Method in class org.dellroad.stuff.string.SimpleObjectParser
Parse the given text using the provided pattern and mapping from pattern sub-group to Java bean property name.
ParseContext - Class in org.dellroad.stuff.string
Utility class supporting parsing of strings.
ParseContext(String) - Constructor for class org.dellroad.stuff.string.ParseContext
Constructor.
parseId(String) - Static method in class org.dellroad.stuff.jibx.IdMapper
Parse the unique ID value assigned to the given object by getId().
parsePropertyFlags(String[]) - Method in class org.dellroad.stuff.main.MainClass
Parse command line flags of the form -Dname=value and set the corresponding system properties.
parseStandardAttributes(AbstractBeanDefinition, Element, ParserContext) - Method in class org.dellroad.stuff.spring.AbstractBeanDefinitionParser
Parse the standard Spring bean attributes such as scope, depends-on, abstract, etc.
ParseUtil - Class in org.dellroad.stuff.jibx
JiBX parsing utility methods.
parseValue(String) - Method in enum org.dellroad.stuff.java.Primitive
Parse a string value using the type's valueOf method.
PATTERN - Static variable in class org.dellroad.stuff.string.DateEncoder
Regular expression matching properly encoded strings.
PATTERN - Static variable in class org.dellroad.stuff.string.DoubleFormat
Regular expression which matches strings which are valid as input to Double.valueOf(String).
Pattern - Annotation Type in org.dellroad.stuff.validation
Works like the standard @Pattern but applies to any type of object, converting to String as necessary via Object.toString(), and recursing on collection types.
PatternValidator - Class in org.dellroad.stuff.validation
Validator for the @Pattern constraint.
PatternValidator() - Constructor for class org.dellroad.stuff.validation.PatternValidator
 
peek() - Method in class org.dellroad.stuff.string.ParseContext
Read, but do not advance past, the next character.
peek() - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventReader
 
PersistentFileTransaction - Class in org.dellroad.stuff.pobj
Represents an open "transaction" on a PersistentObject's persistent file.
PersistentFileTransaction(File) - Constructor for class org.dellroad.stuff.pobj.PersistentFileTransaction
Constructor.
PersistentObject<T> - Class in org.dellroad.stuff.pobj
Main class for Simple XML Persistence Objects (POBJ).
PersistentObject(PersistentObjectDelegate<T>, File, long, long) - Constructor for class org.dellroad.stuff.pobj.PersistentObject
Constructor.
PersistentObject(PersistentObjectDelegate<T>, File) - Constructor for class org.dellroad.stuff.pobj.PersistentObject
Simplified constructor configuring for immediate write-back and no persistent file checks.
PersistentObjectDelegate<T> - Interface in org.dellroad.stuff.pobj
Delegate interface required for PersistentObjects.
PersistentObjectEvent<T> - Class in org.dellroad.stuff.pobj
Notification event emitted by a PersistentObject to listeners whenever there is an update to the root object.
PersistentObjectEvent(PersistentObject<T>, long, T, T) - Constructor for class org.dellroad.stuff.pobj.PersistentObjectEvent
 
PersistentObjectException - Exception in org.dellroad.stuff.pobj
Runtime exception thrown during PersistentObject operations.
PersistentObjectException() - Constructor for exception org.dellroad.stuff.pobj.PersistentObjectException
 
PersistentObjectException(String) - Constructor for exception org.dellroad.stuff.pobj.PersistentObjectException
 
PersistentObjectException(String, Throwable) - Constructor for exception org.dellroad.stuff.pobj.PersistentObjectException
 
PersistentObjectException(Throwable) - Constructor for exception org.dellroad.stuff.pobj.PersistentObjectException
 
PersistentObjectListener<T> - Interface in org.dellroad.stuff.pobj
Listener interface for changes to a PersistentObject.
PersistentObjectSchemaUpdater<T> - Class in org.dellroad.stuff.pobj
Support superclass for PersistentObject schema updaters.
PersistentObjectSchemaUpdater() - Constructor for class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 
PersistentObjectValidationException - Exception in org.dellroad.stuff.pobj
Runtime exception thrown during PersistentObject operations.
PersistentObjectValidationException(Set<ConstraintViolation<?>>) - Constructor for exception org.dellroad.stuff.pobj.PersistentObjectValidationException
Constructor.
PersistentObjectVersionException - Exception in org.dellroad.stuff.pobj
Optimistic locking exception thrown by PersistentObject.setRoot() when the expected version number does not agree.
PersistentObjectVersionException(long, long) - Constructor for exception org.dellroad.stuff.pobj.PersistentObjectVersionException
 
postProcess(T) - Method in class org.dellroad.stuff.string.SimpleObjectParser
Post-process newly created instances.
postProcessAfterInitialization(Object, String) - Method in class org.dellroad.stuff.pobj.SpringXSLUpdateTransformConfigurer
 
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.dellroad.stuff.vaadin.VaadinApplicationScope
 
postProcessBeforeInitialization(Object, String) - Method in class org.dellroad.stuff.pobj.SpringXSLUpdateTransformConfigurer
 
postProcessWebApplicationContext(ConfigurableWebApplicationContext) - Method in class org.dellroad.stuff.vaadin.SpringContextApplication
Post-process the given WebApplicationContext after initial creation but before the initial refresh().
Predicate - Interface in org.dellroad.stuff.java
A boolean predicate.
Primitive - Enum in org.dellroad.stuff.java
Simple utility enumeration for working Java Class instances representing primitive types.
PrimitiveSwitch<R> - Interface in org.dellroad.stuff.java
Visitor pattern interface for Primitives.
PrimitiveSwitchAdapter<R> - Class in org.dellroad.stuff.java
Adapter class for PrimitiveSwitch implementations.
PrimitiveSwitchAdapter() - Constructor for class org.dellroad.stuff.java.PrimitiveSwitchAdapter
 
PropertyDef<T> - Class in org.dellroad.stuff.vaadin
Defines a Vaadin property, having a name, which is also the property ID, and its type.
PropertyDef(String, Class<T>) - Constructor for class org.dellroad.stuff.vaadin.PropertyDef
 

Q

QueryCallback<R> - Class in org.dellroad.stuff.dao
Helper class for building and executing JPA queries.
QueryCallback() - Constructor for class org.dellroad.stuff.dao.QueryCallback
 

R

read() - Method in class org.dellroad.stuff.io.InputStreamReader
Read the next InputStream.
read() - Method in class org.dellroad.stuff.jibx.XMLDocumentInputStream
Read the next XML document, parsed and objectified.
read() - Method in class org.dellroad.stuff.pobj.PersistentObject
Read the persistent file.
read() - Method in class org.dellroad.stuff.string.ParseContext
Read and advance past the next character.
read(Item) - Method in class org.dellroad.stuff.vaadin.PropertyDef
Read the property that this instance represents from the given Item.
readAnnotationElement(StartElement) - Method in class org.dellroad.stuff.pobj.UpdatesXMLEventReader
 
readAnnotationElement(StartElement) - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventReader
Read the annotation element.
readFrom(InputStream) - Method in interface org.dellroad.stuff.io.NullModemOutputStream.ReadCallback
Read from the given input stream.
readObject(Class<T>, InputStream) - Static method in class org.dellroad.stuff.jibx.JiBXUtil
Read in an object encoded as XML.
readObject(Class<T>, String, InputStream) - Static method in class org.dellroad.stuff.jibx.JiBXUtil
Read in an object encoded as XML.
readObject(Class<T>, URL) - Static method in class org.dellroad.stuff.jibx.JiBXUtil
Read in an object encoded as XML from an URL.
readObject(Class<T>, String, URL) - Static method in class org.dellroad.stuff.jibx.JiBXUtil
Read in an object encoded as XML from an URL.
recordUpdateApplied(PersistentFileTransaction, String) - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 
recordUpdateApplied(T, String) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Record an update as having been applied to the database.
recordUpdateApplied(Connection, String) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Record an update as having been applied.
refresh(T) - Method in class org.dellroad.stuff.dao.AbstractDAO
 
refresh(T) - Method in interface org.dellroad.stuff.dao.DAO
Refresh the given object from the database.
registerDestructionCallback(String, Runnable) - Method in class org.dellroad.stuff.vaadin.VaadinApplicationScope
 
remove(String) - Method in class org.dellroad.stuff.vaadin.VaadinApplicationScope
 
removeFirst() - Method in interface org.dellroad.stuff.util.LinkedList
 
removeLast() - Method in interface org.dellroad.stuff.util.LinkedList
 
removeListener(PersistentObjectListener<T>) - Method in class org.dellroad.stuff.pobj.PersistentObject
Remove a listener added via addListener().
removeListener(ContextApplication.CloseListener) - Method in class org.dellroad.stuff.vaadin.ContextApplication
Remove a ContextApplication.CloseListener.
reset() - Method in class org.dellroad.stuff.string.ParseContext
Reset this instance.
resolveContextualObject(String) - Method in class org.dellroad.stuff.vaadin.VaadinApplicationScope
 
ResourceReaderFactoryBean - Class in org.dellroad.stuff.spring
Spring factory bean that reads in a Spring Resource and converts it to a String.
ResourceReaderFactoryBean() - Constructor for class org.dellroad.stuff.spring.ResourceReaderFactoryBean
 
rethrow(TransformerException) - Method in class org.dellroad.stuff.xml.TransformErrorListener
 
rollback() - Method in class org.dellroad.stuff.pobj.PersistentFileTransaction
Cancel this transaction.
rollbackTransaction(PersistentFileTransaction) - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 
rollbackTransaction(T) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Roll back a previously opened transaction.
rollbackTransaction(Connection) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Roll back a previously opened transaction.
run(Runnable) - Static method in class org.dellroad.stuff.java.IdGenerator
Create a new IdGenerator and make it available via IdGenerator.get() for the duration of the given operation.
run(Callable<R>) - Static method in class org.dellroad.stuff.java.IdGenerator
Create a new IdGenerator and make it available via IdGenerator.get() for the duration of the given operation.
run(String[]) - Method in class org.dellroad.stuff.main.ContextMainClass
 
run(String[]) - Method in class org.dellroad.stuff.main.MainClass
Subclass main implementation.
runInContext(String[]) - Method in class org.dellroad.stuff.main.ContextMainClass
Execute the main method.
runWithLock(Runnable) - Static method in class org.dellroad.stuff.servlet.BigFatLock
Invoke the given action after acquiring the big fat lock.
runWithLock(Callable<V>) - Static method in class org.dellroad.stuff.servlet.BigFatLock
Invoke the given action after acquiring the big fat lock.

S

save(T) - Method in class org.dellroad.stuff.dao.AbstractDAO
 
save(T) - Method in interface org.dellroad.stuff.dao.DAO
Save a newly created instance.
SchemaUpdate<T> - Interface in org.dellroad.stuff.schema
A one-time database schema update.
SchemaUpdateEdgeLister<T> - Class in org.dellroad.stuff.schema
TopologicalSorter.EdgeLister implementation reflecting SchemaUpdate predecessor constraints.
SchemaUpdateEdgeLister() - Constructor for class org.dellroad.stuff.schema.SchemaUpdateEdgeLister
 
SchemaUpdatingDataSource - Class in org.dellroad.stuff.schema
A DataSource that wraps an inner DataSource and automatically intializes and updates the database schema using a SQLSchemaUpdater on first access.
SchemaUpdatingDataSource() - Constructor for class org.dellroad.stuff.schema.SchemaUpdatingDataSource
 
SCOPE_NAME - Static variable in class org.dellroad.stuff.vaadin.VaadinApplicationScope
The name of this scope (i.e., "vaadinApplication").
SelfValidates - Annotation Type in org.dellroad.stuff.validation
Validation constraint that when applied to classes that implement the SelfValidating interface allows custom validation by the class itself via SelfValidating.checkValid().
SelfValidating - Interface in org.dellroad.stuff.validation
Implemented by classes that can validate themselves.
SelfValidatingValidator - Class in org.dellroad.stuff.validation
Implements the validation logic for the @SelfValidates annotation.
SelfValidatingValidator() - Constructor for class org.dellroad.stuff.validation.SelfValidatingValidator
 
SelfValidationException - Exception in org.dellroad.stuff.validation
Exception that can be thrown by SelfValidating.checkValid(javax.validation.ConstraintValidatorContext).
SelfValidationException() - Constructor for exception org.dellroad.stuff.validation.SelfValidationException
 
SelfValidationException(String) - Constructor for exception org.dellroad.stuff.validation.SelfValidationException
 
SelfValidationException(Throwable) - Constructor for exception org.dellroad.stuff.validation.SelfValidationException
 
SelfValidationException(String, Throwable) - Constructor for exception org.dellroad.stuff.validation.SelfValidationException
 
serialize(T, Result) - Method in class org.dellroad.stuff.pobj.FilterDelegate
 
serialize(T, Result) - Method in interface org.dellroad.stuff.pobj.PersistentObjectDelegate
Serialize a root object into XML.
serialize(T, Result) - Method in class org.dellroad.stuff.pobj.SpringDelegate
 
serializeByteArray(byte[]) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Serialize a byte array using ByteArrayEncoder.
serializeByteArrayWithColons(byte[]) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Serialize a byte array using MAC address notation (colon-separated).
serializeDate(Date, String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Serialize a Date.
serializeDate(Date) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Serialize a Date in the format supported by DateEncoder.
serializeExpression(Expression) - Static method in class org.dellroad.stuff.jibx.SpringParseUtil
Serialize a Spring Expression.
serializeInet4Address(Inet4Address) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Serialize an Inet4Address.
serializeIntArray(int[]) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Serialize an array of integers.
serializePattern(Pattern) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deprecated. This method is does the same thing as JiBX's default serialization via Object.toString()
serializeReference(Object) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Serialize an object by reference.
serializeSimpleDateFormat(SimpleDateFormat) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Serialize a SimpleDateFormat.
serializeString(String) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Serialize a String.
serializeTimeInterval(long) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Serialize a millisecond-granularity time interval, e.g., "30s", "1d12h", "0.250s", etc.
serializeTimeZone(TimeZone) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Serialize a TimeZone.
serializeURI(URI) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Deprecated. This method is does the same thing as JiBX's default serialization via Object.toString()
serializeXSDDateTime(Date) - Static method in class org.dellroad.stuff.jibx.ParseUtil
Serialize a Date to XSD dateTime format.
setAllowEmptyStart(boolean) - Method in class org.dellroad.stuff.pobj.PersistentObject
Configure whether an "empty start" is allowed.
setAllowEmptyStart(boolean) - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
Configure whether to all "empty starts".
setAutowire(boolean) - Method in class org.dellroad.stuff.vaadin.ContextApplicationFactoryBean
Deprecated.  
setBacklog(int) - Method in class org.dellroad.stuff.net.SocketAcceptor
 
setBeanFactory(BeanFactory) - Method in class org.dellroad.stuff.pobj.SpringPersistentObjectSchemaUpdater
 
setBeanFactory(BeanFactory) - Method in class org.dellroad.stuff.schema.AbstractSpringSchemaUpdate
 
setBeanFactory(BeanFactory) - Method in class org.dellroad.stuff.schema.SpringSQLSchemaUpdater
 
setBeanName(String) - Method in class org.dellroad.stuff.schema.AbstractSpringSchemaUpdate
 
setCharacterEncoding(String) - Method in class org.dellroad.stuff.spring.ResourceReaderFactoryBean
Configure the character encoding for the resource.
setCheckInterval(long) - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
Configure the check interval for "out-of-band" updates to the persistent file.
setData(byte[]) - Method in class org.dellroad.stuff.pobj.PersistentFileTransaction
Set the current XML data.
setDatabaseInitialization(SQLCommandList) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Configure how an empty database gets initialized.
setDataSource(DataSource) - Method in class org.dellroad.stuff.schema.AbstractUpdatingDataSource
Configure the underlying DataSource.
setDefaultNamespace(String) - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventWriter
 
setDelegate(PersistentObjectDelegate<T>) - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
Configure the PersistentObjectDelegate.
setFile(File) - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
Configure the file used to store this object persistently.
setFlushMode(FlushModeType) - Method in class org.dellroad.stuff.dao.AbstractDAO
 
setFlushMode(FlushModeType) - Method in interface org.dellroad.stuff.dao.DAO
Set flush mode.
setId(Object, long) - Method in class org.dellroad.stuff.java.IdGenerator
Assign a unique ID to the given object.
setId(Object, String) - Static method in class org.dellroad.stuff.jibx.IdMapper
Set the unique ID value for the given object.
setIgnoreUnrecognizedUpdates(boolean) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Configure behavior when an unknown update is registered as having already been applied in the database.
setIndex(int) - Method in class org.dellroad.stuff.string.ParseContext
Set the current index into the original input string.
setInetAddress(InetAddress) - Method in class org.dellroad.stuff.net.SocketAcceptor
 
setInitialValue(T) - Method in class org.dellroad.stuff.pobj.SpringPersistentObjectSchemaUpdater
Set the initial value to be used on an uninitialized persistent object.
setInitialXML(Resource) - Method in class org.dellroad.stuff.pobj.SpringPersistentObjectSchemaUpdater
Set the resource containing the initial value, encoded as XML, to be used on an uninitialized persistent object.
setIsolation(String) - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
setJibxMarshaller(JibxMarshaller) - Method in class org.dellroad.stuff.jibx.IdMappingMarshaller
Configure the nested JibxMarshaller.
setKey(K) - Method in class org.dellroad.stuff.jibx.MapEntry
 
setLoginTimeout(int) - Method in class org.dellroad.stuff.schema.AbstractUpdatingDataSource
 
setLogWriter(PrintWriter) - Method in class org.dellroad.stuff.schema.AbstractUpdatingDataSource
 
setMarshaller(Marshaller) - Method in class org.dellroad.stuff.pobj.SpringDelegate
Set the Marshaller used to convert instances to XML.
setMaxConnections(int) - Method in class org.dellroad.stuff.net.SocketAcceptor
 
setName(String) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdate
 
setNamespaceContext(NamespaceContext) - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventWriter
 
setNumBackups(int) - Method in class org.dellroad.stuff.pobj.PersistentObject
Set the number of backup copies to preserve.
setNumBackups(int) - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
Configure the number of backups to make of the persistent file.
setParameters(Properties) - Method in class org.dellroad.stuff.pobj.SpringXSLPersistentObjectSchemaUpdate
Configure XSLT parameters.
setParent(XMLEventReader) - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventReader
 
setPort(int) - Method in class org.dellroad.stuff.net.SocketAcceptor
 
setPrefix(String) - Method in class org.dellroad.stuff.pobj.SpringXSLUpdateTransformConfigurer
Set the location prefix.
setPrefix(String, String) - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventWriter
 
setPropagation(String) - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
setProperty(T, PropertyDescriptor, String) - Method in class org.dellroad.stuff.string.SimpleObjectParser
Set a property value.
setReadOnly(boolean) - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
setRequiredPredecessors(Set<SchemaUpdate<T>>) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdate
 
setRequiredPredecessorsFromDependencies() - Method in class org.dellroad.stuff.schema.AbstractSpringSchemaUpdate
Infer required predecessors from Spring dependencies.
setResource(Resource) - Method in class org.dellroad.stuff.spring.ResourceReaderFactoryBean
Configure the resource containing the value.
setResourceLoader(ResourceLoader) - Method in class org.dellroad.stuff.pobj.SpringXSLUpdateTransformConfigurer
 
setRoot(T, long) - Method in class org.dellroad.stuff.pobj.PersistentObject
Atomically update the root object.
setRoot(T) - Method in class org.dellroad.stuff.pobj.PersistentObject
Atomically update the root object.
setSchemaUpdater(SQLSchemaUpdater) - Method in class org.dellroad.stuff.schema.SchemaUpdatingDataSource
Configure the SQLSchemaUpdater that will initialize and update the database.
setSimpleProperty(T, PropertyDescriptor, String) - Method in class org.dellroad.stuff.string.SimpleObjectParser
Set a primitive or string property value.
setSingleAction(boolean) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdate
 
setSplitPattern(String) - Method in class org.dellroad.stuff.schema.SQLCommandList
Set the split pattern used to split apart a script containing multiple SQL statements into individual statements.
setSQLCommandList(SQLCommandList) - Method in class org.dellroad.stuff.schema.SpringSQLSchemaUpdate
Configure the SQLCommandList.
setSQLCommandList(SQLCommandList) - Method in class org.dellroad.stuff.schema.UpdatingDataSource
Configure the SQLCommandList to be applied to the database on first access.
setSQLScript(String) - Method in class org.dellroad.stuff.schema.SQLCommandList
Configure the SQL script.
setSuffix(String) - Method in class org.dellroad.stuff.pobj.SpringXSLUpdateTransformConfigurer
Set the location suffix.
setTransactional(boolean) - Method in class org.dellroad.stuff.schema.UpdatingDataSource
Configure whether the SQLCommandList is applied transactionally or not.
setTransactionManagerBeanName(String) - Method in class org.dellroad.stuff.servlet.OpenTransactionInViewFilter
 
setTransform(Resource) - Method in class org.dellroad.stuff.pobj.SpringXSLPersistentObjectSchemaUpdate
Configure the XSLT transform as a resource.
setUnmarshaller(Unmarshaller) - Method in class org.dellroad.stuff.pobj.SpringDelegate
Set the Marshaller used to convert instances to XML.
setUpdates(Collection<? extends SchemaUpdate<T>>) - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdater
Configure the updates.
setUpdateTableInitialization(SQLCommandList) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Configure how the update table itself gets initialized.
setUpdateTableName(String) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Set the name of the table that keeps track of applied updates.
setUpdateTableNameColumn(String) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Set the name of the update name column in the table that keeps track of applied updates.
setUpdateTableTimeColumn(String) - Method in class org.dellroad.stuff.schema.SQLSchemaUpdater
Set the name of the update timestamp column in the table that keeps track of applied updates.
setValue(V) - Method in class org.dellroad.stuff.jibx.MapEntry
 
setViolation(ConstraintValidatorContext, String) - Method in class org.dellroad.stuff.validation.AbstractValidator
Convenience method to add a constraint violation described by message and disable the default violation.
setWriteDelay(long) - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
Configure the maximum delay after an update operation before a write-back to the persistent file must be initiated.
shouldLogException(Throwable) - Method in class org.dellroad.stuff.servlet.ExceptionLoggingFilter
Determine if an exception caught by this instance should be logged.
showError(String, String) - Method in class org.dellroad.stuff.vaadin.ContextApplication
Display an error message to the user.
showError(String, Throwable) - Method in class org.dellroad.stuff.vaadin.ContextApplication
Display an error message to the user caused by an exception.
SimpleObjectParser<T> - Class in org.dellroad.stuff.string
Parses strings using regular expressions into new instances of some class by parsing substrings.
SimpleObjectParser(Class<T>) - Constructor for class org.dellroad.stuff.string.SimpleObjectParser
Constructor.
skipWhitespace() - Method in class org.dellroad.stuff.string.ParseContext
Skip leading whitespace, if any.
skipWhiteSpace(XMLEvent, boolean) - Method in class org.dellroad.stuff.xml.AnnotatedXMLEventReader
Skip whitespace.
SocketAcceptor - Class in org.dellroad.stuff.net
Spring bean that listens for connections on a TCP socket and spawns a child thread to handle each new connection.
SocketAcceptor() - Constructor for class org.dellroad.stuff.net.SocketAcceptor
 
SocketHandler - Interface in org.dellroad.stuff.net
Implemented by objects that handle individual connections accepted by a SocketAcceptor.
sort() - Method in class org.dellroad.stuff.graph.TopologicalSorter
Produce a total ordering of the nodes consistent with the partial ordering implied by the edge lister and tie breaker provided to the constructor.
Sorted - Annotation Type in org.dellroad.stuff.validation
Validation constraint that checks elements are sorted.
sortEdgesReversed() - Method in class org.dellroad.stuff.graph.TopologicalSorter
Same as sort() but treats all edges as reversed.
SortedValidator - Class in org.dellroad.stuff.validation
Validator for the @Sorted constraint.
SortedValidator() - Constructor for class org.dellroad.stuff.validation.SortedValidator
 
split() - Method in class org.dellroad.stuff.schema.SQLCommandList
Split the SQL script into individual statements and return them as DatabaseActions.
splitSQL() - Method in class org.dellroad.stuff.schema.SQLCommandList
Split the configured SQL script into individual SQL statements using the configured split pattern.
SpringContextApplication - Class in org.dellroad.stuff.vaadin
Vaadin application implementation that manages an associated Spring WebApplicationContext.
SpringContextApplication() - Constructor for class org.dellroad.stuff.vaadin.SpringContextApplication
 
SpringDelegate<T> - Class in org.dellroad.stuff.pobj
PersistentObjectDelegate that uses Spring's Marshaller and Unmarshaller interfaces for XML conversion.
SpringDelegate() - Constructor for class org.dellroad.stuff.pobj.SpringDelegate
 
SpringParseUtil - Class in org.dellroad.stuff.jibx
JiBX parsing utility methods for Spring expressions.
SpringPersistentObjectSchemaUpdate<T> - Class in org.dellroad.stuff.pobj
Support superclass for Spring-enabled SchemaUpdates for use with a PersistentObjectSchemaUpdater.
SpringPersistentObjectSchemaUpdate() - Constructor for class org.dellroad.stuff.pobj.SpringPersistentObjectSchemaUpdate
 
SpringPersistentObjectSchemaUpdater<T> - Class in org.dellroad.stuff.pobj
PersistentObjectSchemaUpdater optimized for use with Spring: SpringPersistentObjectSchemaUpdater.getOrderingTieBreaker() is overridden to break ties by ordering updates in the same order as they are defined in the bean factory.
SpringPersistentObjectSchemaUpdater() - Constructor for class org.dellroad.stuff.pobj.SpringPersistentObjectSchemaUpdater
 
SpringSQLSchemaUpdate - Class in org.dellroad.stuff.schema
Spring-enabled SQL SchemaUpdate.
SpringSQLSchemaUpdate() - Constructor for class org.dellroad.stuff.schema.SpringSQLSchemaUpdate
 
SpringSQLSchemaUpdater - Class in org.dellroad.stuff.schema
SQLSchemaUpdater optimized for use with Spring.
SpringSQLSchemaUpdater() - Constructor for class org.dellroad.stuff.schema.SpringSQLSchemaUpdater
 
SpringXSLPersistentObjectSchemaUpdate<T> - Class in org.dellroad.stuff.pobj
SpringPersistentObjectSchemaUpdate that applies a configured XSL transform to the XML form of the persistent object.
SpringXSLPersistentObjectSchemaUpdate() - Constructor for class org.dellroad.stuff.pobj.SpringXSLPersistentObjectSchemaUpdate
 
SpringXSLUpdateTransformConfigurer - Class in org.dellroad.stuff.pobj
Spring BeanPostProcessor that looks for SpringXSLPersistentObjectSchemaUpdate beans that don't have an explicit transform resource configured, and configures them using a resource location based on the bean name, by simply adding a configured prefix and suffix.
SpringXSLUpdateTransformConfigurer() - Constructor for class org.dellroad.stuff.pobj.SpringXSLUpdateTransformConfigurer
 
SQL_ELEMENT_NAME - Static variable in class org.dellroad.stuff.spring.DellRoadStuffNamespaceHandler
 
SQL_UPDATE_ELEMENT_NAME - Static variable in class org.dellroad.stuff.spring.DellRoadStuffNamespaceHandler
 
SQLCommand - Class in org.dellroad.stuff.schema
An SQL DatabaseAction that executes a single SQL statement.
SQLCommand(String) - Constructor for class org.dellroad.stuff.schema.SQLCommand
Constructor.
SQLCommandList - Class in org.dellroad.stuff.schema
Holds and executes a configured SQL script, possibly containing multiple statements.
SQLCommandList() - Constructor for class org.dellroad.stuff.schema.SQLCommandList
 
SQLCommandList(String) - Constructor for class org.dellroad.stuff.schema.SQLCommandList
 
SQLSchemaUpdater - Class in org.dellroad.stuff.schema
Concrete extension of AbstractSchemaUpdater for SQL databases.
SQLSchemaUpdater() - Constructor for class org.dellroad.stuff.schema.SQLSchemaUpdater
 
start() - Method in class org.dellroad.stuff.io.OutputStreamWriter
Start a new OutputStream.
start() - Method in class org.dellroad.stuff.net.SocketAcceptor
Start accepting incoming connections.
start() - Method in class org.dellroad.stuff.pobj.PersistentObject
Start this instance.
start() - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
Start this instance.
stop() - Method in class org.dellroad.stuff.io.OutputStreamWriter
End the current OutputStream.
stop() - Method in class org.dellroad.stuff.net.SocketAcceptor
Stop accepting connections.
stop(Thread, Socket) - Method in interface org.dellroad.stuff.net.SocketHandler
Receive notification that the server is shutting down.
stop() - Method in class org.dellroad.stuff.pobj.PersistentObject
Stop this instance.
stop() - Method in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
Stop this instance.
StringEncoder - Class in org.dellroad.stuff.string
Encodes/decodes Java strings, escaping control and XML-invalid characters.
supports(Class<?>) - Method in class org.dellroad.stuff.jibx.IdMappingMarshaller
 
supportsEventType(Class<? extends ApplicationEvent>) - Method in class org.dellroad.stuff.vaadin.VaadinApplicationListener
Determine whether this listener actually supports the given event type.
supportsSourceType(Class<?>) - Method in class org.dellroad.stuff.vaadin.VaadinApplicationListener
Determine whether this listener actually supports the given source type.

T

terminalError(Terminal.ErrorEvent) - Method in class org.dellroad.stuff.vaadin.ContextApplication
Handle an uncaugt exception thrown by a Vaadin HTTP request.
test() - Method in interface org.dellroad.stuff.java.Predicate
Determine if the predicate is true.
ThreadParkingLot - Class in org.dellroad.stuff.java
A place for threads to be parked and unparked.
ThreadParkingLot() - Constructor for class org.dellroad.stuff.java.ThreadParkingLot
 
throwException() - Method in exception org.dellroad.stuff.java.CheckedExceptionWrapper
Throw the wrapped exception.
TimedWait - Class in org.dellroad.stuff.java
Utility class for performing timed waits on objects.
toAddress(int) - Static method in class org.dellroad.stuff.net.IPv4Util
Convert from 32-bit integer representation.
toAddress(byte[]) - Static method in class org.dellroad.stuff.net.IPv4Util
Convert raw bytes to an Inet4Address.
toInt32(Inet4Address) - Static method in class org.dellroad.stuff.net.IPv4Util
Convert to 32-bit integer representation.
TopologicalSorter<E> - Class in org.dellroad.stuff.graph
Topological sorting utility class.
TopologicalSorter(Collection<E>, TopologicalSorter.EdgeLister<E>, Comparator<? super E>) - Constructor for class org.dellroad.stuff.graph.TopologicalSorter
Primary constructor.
TopologicalSorter(Collection<E>, TopologicalSorter.EdgeLister<E>) - Constructor for class org.dellroad.stuff.graph.TopologicalSorter
Convenience constructor for when ties should be broken based on the original ordering.
TopologicalSorter.EdgeLister<E> - Interface in org.dellroad.stuff.graph
Implemented by classes that can enumerate the outgoing edges from a node in a graph.
toString(Object) - Static method in class org.dellroad.stuff.jibx.JiBXUtil
Encode the given instance as an XML document and return it as a String.
toString(Object, String) - Static method in class org.dellroad.stuff.jibx.JiBXUtil
Encode the given instance as an XML document and return it as a String.
toString(Inet4Address) - Static method in class org.dellroad.stuff.net.IPv4Util
Convert an IPv4 address to string representation.
toString(Inet4Address, Inet4Address) - Static method in class org.dellroad.stuff.net.IPv4Util
Convert a network address (IPv4 base address and netmask) to string representation.
toString() - Method in class org.dellroad.stuff.pobj.PersistentObject
Get a simple string description of this instance.
toString() - Method in class org.dellroad.stuff.schema.AbstractSchemaUpdate
 
toString() - Method in class org.dellroad.stuff.servlet.BigFatLock
 
toUInt32(Inet4Address) - Static method in class org.dellroad.stuff.net.IPv4Util
Convert to an unsigned 32-bit integer representation within a 64-bit long.
transform(Transformer) - Method in class org.dellroad.stuff.pobj.PersistentFileTransaction
Apply an XSLT transform to the current XML object in this transaction.
TransformErrorListener - Class in org.dellroad.stuff.xml
ErrorListener implementation that logs the messgaes to a configured Logger and throws exceptions in cases of errors and fatal errors.
TransformErrorListener(Logger, boolean) - Constructor for class org.dellroad.stuff.xml.TransformErrorListener
 
translate(SQLException, Connection, String) - Method in class org.dellroad.stuff.schema.SpringSQLSchemaUpdater
Converts SQLExceptions into Spring DataAccessExceptions.
tryLiteral(String) - Method in class org.dellroad.stuff.string.ParseContext
Determine if the current input starts with the given literal prefix.
type - Variable in class org.dellroad.stuff.dao.AbstractDAO
Persistent instance type.
type - Variable in class org.dellroad.stuff.dao.CriteriaCallback
 
TypedQueryCallback<T,R> - Class in org.dellroad.stuff.dao
Helper class for building and executing JPA typed queries.
TypedQueryCallback() - Constructor for class org.dellroad.stuff.dao.TypedQueryCallback
 

U

unmarshal(Source) - Method in class org.dellroad.stuff.jibx.IdMappingMarshaller
Invokdes JibxMarshaller.unmarshal() on the configured JibxMarshaller within an invocation of IdGenerator.run().
unpark(Thread) - Method in class org.dellroad.stuff.java.ThreadParkingLot
Unpark a thread.
unread() - Method in class org.dellroad.stuff.string.ParseContext
Push back the previously read character.
unwrap(Class<T>) - Method in class org.dellroad.stuff.schema.AbstractUpdatingDataSource
 
UPDATE_ELEMENT_NAME - Static variable in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
XML element name for a single update.
UpdateCallback - Class in org.dellroad.stuff.dao
Helper class for JPA bulk updates.
UpdateCallback() - Constructor for class org.dellroad.stuff.dao.UpdateCallback
 
updateDataSource(DataSource) - Method in class org.dellroad.stuff.schema.AbstractUpdatingDataSource
Update the inner DataSource.
updateDataSource(DataSource) - Method in class org.dellroad.stuff.schema.SchemaUpdatingDataSource
 
updateDataSource(DataSource) - Method in class org.dellroad.stuff.schema.UpdatingDataSource
 
UPDATES_ELEMENT_NAME - Static variable in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
XML element name for the updates list.
UpdatesXMLEventReader - Class in org.dellroad.stuff.pobj
AnnotatedXMLEventReader that reads the nested schema update list.
UpdatesXMLEventReader(XMLEventReader) - Constructor for class org.dellroad.stuff.pobj.UpdatesXMLEventReader
 
UpdatesXMLEventWriter - Class in org.dellroad.stuff.pobj
AnnotatedXMLEventWriter that inserts the schema update list into the document using an PersistentObjectSchemaUpdater.UPDATES_ELEMENT_NAME annotation element.
UpdatesXMLEventWriter(XMLEventWriter, List<String>) - Constructor for class org.dellroad.stuff.pobj.UpdatesXMLEventWriter
Constructor.
UpdatingDataSource - Class in org.dellroad.stuff.schema
A DataSource that wraps an inner DataSource and automatically applies a configured SQLCommandList on first access.
UpdatingDataSource() - Constructor for class org.dellroad.stuff.schema.UpdatingDataSource
 
usageError() - Method in class org.dellroad.stuff.main.MainClass
Print the usage message and exit with exit value 1.
usageMessage() - Method in class org.dellroad.stuff.main.MainClass
Display the usage message to standard error.

V

VaadinApplicationListener<E extends ApplicationEvent> - Class in org.dellroad.stuff.vaadin
A Spring ApplicationListener support superclass customized for use by listeners that are part of a Vaadin application when listening to non-Vaadin application event sources.
VaadinApplicationListener(Class<E>) - Constructor for class org.dellroad.stuff.vaadin.VaadinApplicationListener
Convenience constructor.
VaadinApplicationListener(Class<E>, ContextApplication) - Constructor for class org.dellroad.stuff.vaadin.VaadinApplicationListener
Primary constructor.
VaadinApplicationScope - Class in org.dellroad.stuff.vaadin
A Spring custom Scope for Vaadin applications.
VaadinApplicationScope() - Constructor for class org.dellroad.stuff.vaadin.VaadinApplicationScope
 
VaadinConfigurable - Annotation Type in org.dellroad.stuff.vaadin
Indicates that the class is a candidate for configuration using the VaadinConfigurableAspect aspect.
VaadinConfigurableObject - Interface in org.dellroad.stuff.vaadin
Marker interface used by the VaadinConfigurableAspect.
validate(T) - Method in class org.dellroad.stuff.pobj.AbstractDelegate
Validate the given instance.
validate(T) - Method in class org.dellroad.stuff.pobj.FilterDelegate
 
validate(T) - Method in interface org.dellroad.stuff.pobj.PersistentObjectDelegate
Validate the given object.
validate() - Method in class org.dellroad.stuff.validation.ValidationContext
Validate this instance's root object.
validate(Validator) - Method in class org.dellroad.stuff.validation.ValidationContext
Validate this instance's root object using the given Validator, making the context available to the current thread during the validation process via ValidationContext.getCurrentContext(java.lang.Class).
ValidationContext<T> - Class in org.dellroad.stuff.validation
Provides additional context for ConstraintValidator implementations.
ValidationContext(T) - Constructor for class org.dellroad.stuff.validation.ValidationContext
Construct a new validation context configured to validate the given root object.
valueOf(String) - Static method in enum org.dellroad.stuff.java.Primitive
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.dellroad.stuff.java.Primitive
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in org.dellroad.stuff
Contains library version information.
visit(PrimitiveSwitch<R>) - Method in enum org.dellroad.stuff.java.Primitive
 

W

wait(Object, long, Predicate) - Static method in class org.dellroad.stuff.java.TimedWait
Wait (using Object.wait()) up to a given time limit for some predicate to become true.
waitForIdle(long) - Method in class org.dellroad.stuff.io.AsyncOutputStream
Wait for all outstanding work to complete.
waitForSpace(int, long) - Method in class org.dellroad.stuff.io.AsyncOutputStream
Wait for buffer space availability.
warning(TransformerException) - Method in class org.dellroad.stuff.xml.TransformErrorListener
 
write(int) - Method in class org.dellroad.stuff.io.AsyncOutputStream
Write data.
write(byte[], int, int) - Method in class org.dellroad.stuff.io.AsyncOutputStream
Write data.
write(int) - Method in class org.dellroad.stuff.io.OutputStreamWriter
 
write(T) - Method in class org.dellroad.stuff.jibx.XMLDocumentOutputStream
Write the object encoded as XML to the underlying output stream.
write(T) - Method in class org.dellroad.stuff.pobj.PersistentObject
Write the persistent file and rotate any backups.
writeDelay - Variable in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
 
writeObject(T, OutputStream) - Static method in class org.dellroad.stuff.jibx.JiBXUtil
Write out the given instance encoded as a UTF-8 encoded XML document.
writeObject(T, String, OutputStream) - Static method in class org.dellroad.stuff.jibx.JiBXUtil
Write out the given instance encoded as a UTF-8 encoded XML document.
writeObject(T, Writer) - Static method in class org.dellroad.stuff.jibx.JiBXUtil
Write out the given instance encoded as an XML document with "UTF-8" as the declared encoding.
writeObject(Object, String, Writer) - Static method in class org.dellroad.stuff.jibx.JiBXUtil
Write out the given instance encoded as an XML document with "UTF-8" as the declared encoding.
writeRow(Map<String, ?>) - Method in class org.dellroad.stuff.string.CSVOutput
Output a CSV row.
writeTo(OutputStream) - Method in interface org.dellroad.stuff.io.NullModemInputStream.WriteCallback
Write the output to the given output stream.

X

xalanWorkarounds - Variable in class org.dellroad.stuff.xml.TransformErrorListener
 
XML_ENCODING - Static variable in class org.dellroad.stuff.jibx.JiBXUtil
 
XML_PREFIX - Static variable in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
Preferred XML namespace prefix for PersistentObjectSchemaUpdater.NAMESPACE_URI elements.
XMLDocumentInputStream<T> - Class in org.dellroad.stuff.jibx
InputStream over which XML documents are passed.
XMLDocumentInputStream(Class<T>, InputStream) - Constructor for class org.dellroad.stuff.jibx.XMLDocumentInputStream
Constructor.
XMLDocumentOutputStream<T> - Class in org.dellroad.stuff.jibx
OutputStream over which XML documents are passed.
XMLDocumentOutputStream(Class<T>, OutputStream) - Constructor for class org.dellroad.stuff.jibx.XMLDocumentOutputStream
Constructor.
xmlEventFactory - Variable in class org.dellroad.stuff.xml.AnnotatedXMLEventWriter
 
XMLNS_ATTRIBUTE_NAME - Static variable in class org.dellroad.stuff.pobj.PersistentObjectSchemaUpdater
XML namespace URI used for namespace declarations.

A B C D E F G H I J L M N O P Q R S T U V W X