| Home >> All >> org >> cantaloop >> tools >> [ digester Javadoc ] |
org.cantaloop.tools.digester: Javadoc index of package org.cantaloop.tools.digester.
Package Samples:
org.cantaloop.tools.digester
Classes:
PropertyUtils: Utility methods for using Java Reflection APIs to facilitate generic property getter and setter operations on Java objects. Much of this code was originally included in BeanUtils , but has been separated because of the volume of code involved. In general, the objects that are examined and modified using these methods are expected to conform to the property getter and setter method naming conventions described in the JavaBeans Specification (Version 1.0.1). No data type conversions are performed, and there are no usage of any PropertyEditor classes that have been registered, although a convenient ...
FastHashMap: A customized implementation of java.util.HashMap designed to operate in a multithreaded environment where the large majority of method calls are read-only, instead of structural changes. When operating in "fast" mode, read calls are non-synchronized and write calls perform the following steps: Clone the existing collection Perform the modification on the clone Replace the existing collection with the (modified) clone When first created, objects of this class default to "slow" mode, where all accesses of any type are synchronized but no cloning takes place. This is appropriate for initially populating ...
Digester: A Digester processes an XML input stream by matching a series of element nesting patterns to execute Rules that have been added prior to the start of parsing. This package was inspired by the XmlMapper class that was part of Tomcat 3.0 and 3.1, but is organized somewhat differently. See the Digester Developer Guide for more information. IMPLEMENTATION NOTE - A single Digester instance may only be used within the context of a single thread at a time, and a call to parse() must be completed before another can be initiated even from the same thread.
ConvertUtils: Utility methods for converting String values to objects of the specified class. If you specify a Java primitive type, or an array of a Java primitive type, as a destination type, a scalar or array of the coresponding Java wrapper class will be created instead. If you attempt to convert an Object or Object array of a non-String and non-primitive type, it will be converted to a scalar String or array of Strings, as appropriate.
ArrayStack: Implementation of the java.util.Stack API that is based on an ArrayList rather than a Vector . This means no synchronization locks are utilized internally, so you must synchronize externally if an instance is referenced from multiple threads.
CallMethodRule: Rule implementation that calls a method on the top (parent) object, passing arguments collected from subsequent CallParamRule rules or from the body of this element.
CallParamRule: Rule implementation that saves a parameter from either an attribute of this element, or from the element body, to be used in a call generated by a surrounding CallMethodRule rule.
SetNextRule: Rule implementation that calls a method on the (top-1) (parent) object, passing the top object (child) as an argument. It is commonly used to establish parent-child relationships.
ObjectCreateRule: Rule implementation that creates a new object and pushes it onto the object stack. When the element is complete, the object will be popped
Rule: Concrete implementations of this class implement actions to be taken when a corresponding nested pattern of XML elements has been matched.
SetPropertyRule: Rule implementation that sets an individual property on the object at the top of the stack, based on attributes with specified names.
SetPropertiesRule: Rule implementation that sets properties on the object at the top of the stack, based on attributes with corresponding names.
SetTopRule: Rule implementation that calls a method on the top (parent) object, passing the (top-1) (child) object as an argument.
BeanUtils: Utility methods for populating JavaBeans properties via reflection.
| Home | Contact Us | Privacy Policy | Terms of Service |