| java.lang.Object org.cougaar.planning.servlet.XMLize
XMLize | public class XMLize (Code) | | Create and return xml for first class log plan objects.
Element name is extracted from object class, by taking the
last field of the object class, and dropping a trailing "Impl",
if it exists.
|
DEFAULT_UID_DEPTH | final public static int DEFAULT_UID_DEPTH(Code) | | Maximum search depth -- Integer.MAX_VALUE means unlimited. *
|
getReadResult | protected static Object getReadResult(Object obj, Method rm)(Code) | | Invoke read method on object
Object that is the result of the read |
isPrimitive | protected static boolean isPrimitive(Class propertyClass)(Code) | | Includes Double, Integer, etc. and Boolean as primitive types.
Checks to see if class is a direct descendant of Number or a
Boolean.
true when class is of a primitive type |
prunePropertiesFromMeasure | protected static PropertyDescriptor[] prunePropertiesFromMeasure(AbstractMeasure measure, PropertyDescriptor[] properties)(Code) | | Removes redundant measure properties.
Returns only the common unit measure.
For example, for Distance, returns only the meters property and discards furlongs.
(Converts underscores in common unit names.)
Parameters: measure - needed so can get common unit Parameters: properties - initial complete set of measure properties array containing the one property descriptor for the common unit property |
|
|