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

A

addAttribute(String, String) - Method in class org.springframework.roo.support.util.XmlElementBuilder
Add an attribute to the current element.
addChild(Node) - Method in class org.springframework.roo.support.util.XmlElementBuilder
Add a child node to the current element.
addContextParam(WebXmlUtils.WebXmlParam, Document, String) - Static method in class org.springframework.roo.support.util.WebXmlUtils
Add a context param to the web.xml document
addErrorCode(Integer, String, Document, String) - Static method in class org.springframework.roo.support.util.WebXmlUtils
Add error code to web.xml document
addExceptionType(String, String, Document, String) - Static method in class org.springframework.roo.support.util.WebXmlUtils
Add exception type to web.xml document
addFilter(String, String, String, Document, String, WebXmlUtils.WebXmlParam...) - Static method in class org.springframework.roo.support.util.WebXmlUtils
Add a new filter definition to web.xml document.
addFilterAtPosition(WebXmlUtils.FilterPosition, String, String, String, String, String, Document, String, WebXmlUtils.WebXmlParam...) - Static method in class org.springframework.roo.support.util.WebXmlUtils
Add a new filter definition to web.xml document.
addListener(String, Document, String) - Static method in class org.springframework.roo.support.util.WebXmlUtils
Add listener element to web.xml document
addObjectToArray(Object[], Object) - Static method in class org.springframework.roo.support.util.ObjectUtils
Append the given Object to the given array, returning a new array consisting of the input array contents plus the given Object.
addResourcePathToPackagePath(Class, String) - Static method in class org.springframework.roo.support.util.ClassUtils
Return a path suitable for use with ClassLoader.getResource (also suitable for use with Class.getResource by prepending a slash ('/') to the return value.
addServlet(String, String, String, Integer, Document, String, WebXmlUtils.WebXmlParam...) - Static method in class org.springframework.roo.support.util.WebXmlUtils
Add servlet element to the web.xml document
addStringToArray(String[], String) - Static method in class org.springframework.roo.support.util.StringUtils
Append the given String to the given String array, returning a new array consisting of the input array contents plus the given String.
addWelcomeFile(String, Document, String) - Static method in class org.springframework.roo.support.util.WebXmlUtils
Add a welcome file definition to web.xml document
AntPathMatcher - Class in org.springframework.roo.support.ant
PathMatcher implementation for Ant-style path patterns.
AntPathMatcher() - Constructor for class org.springframework.roo.support.ant.AntPathMatcher
 
append(String, byte) - Method in class org.springframework.roo.support.style.ToStringCreator
Append a byte field value.
append(String, short) - Method in class org.springframework.roo.support.style.ToStringCreator
Append a short field value.
append(String, int) - Method in class org.springframework.roo.support.style.ToStringCreator
Append a integer field value.
append(String, long) - Method in class org.springframework.roo.support.style.ToStringCreator
Append a long field value.
append(String, float) - Method in class org.springframework.roo.support.style.ToStringCreator
Append a float field value.
append(String, double) - Method in class org.springframework.roo.support.style.ToStringCreator
Append a double field value.
append(String, boolean) - Method in class org.springframework.roo.support.style.ToStringCreator
Append a boolean field value.
append(String, Object) - Method in class org.springframework.roo.support.style.ToStringCreator
Append a field value.
append(Object) - Method in class org.springframework.roo.support.style.ToStringCreator
Append the provided value.
applyRelativePath(String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Apply the given relative path to the given path, assuming standard Java folder separation (i.e. "/" separators);
ARRAY_SUFFIX - Static variable in class org.springframework.roo.support.util.ClassUtils
Suffix for array class names: "[]"
arrayToCommaDelimitedString(Object[]) - Static method in class org.springframework.roo.support.util.StringUtils
Convenience method to return a String array as a CSV String.
arrayToDelimitedString(Object[], String) - Static method in class org.springframework.roo.support.util.StringUtils
Convenience method to return a String array as a delimited (e.g.
arrayToList(Object) - Static method in class org.springframework.roo.support.util.CollectionUtils
Convert the supplied array into a List.
Assert - Class in org.springframework.roo.support.util
Assertion utility class that assists in validating arguments.
Assert() - Constructor for class org.springframework.roo.support.util.Assert
 

B

Base64 - Class in org.springframework.roo.support.util
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in org.springframework.roo.support.util
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.InputStream(InputStream) - Constructor for class org.springframework.roo.support.util.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class org.springframework.roo.support.util.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in org.springframework.roo.support.util
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream(OutputStream) - Constructor for class org.springframework.roo.support.util.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class org.springframework.roo.support.util.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.
BUFFER_SIZE - Static variable in class org.springframework.roo.support.util.FileCopyUtils
 
build() - Method in class org.springframework.roo.support.util.XmlElementBuilder
Get the element instance.

C

calculateUniqueKeyFor(Element) - Static method in class org.springframework.roo.support.util.XmlRoundTripUtils
Create a base 64 encoded SHA1 hash key for a given XML element.
capitalize(String) - Static method in class org.springframework.roo.support.util.StringUtils
Capitalize a String, changing the first letter to upper case as per Character.toUpperCase(char).
CGLIB_CLASS_SEPARATOR - Static variable in class org.springframework.roo.support.util.ClassUtils
The CGLIB class separator character "$$"
CLASS_FILE_SUFFIX - Static variable in class org.springframework.roo.support.util.ClassUtils
The ".class" file suffix
classNamesToString(Class...) - Static method in class org.springframework.roo.support.util.ClassUtils
Build a String that consists of the names of the classes/interfaces in the given array.
classNamesToString(Collection<Class>) - Static method in class org.springframework.roo.support.util.ClassUtils
Build a String that consists of the names of the classes/interfaces in the given collection.
classPackageAsResourcePath(Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Given an input class object, return a string which consists of the class's package name as a pathname, i.e., all dots ('.') are replaced by slashes ('/').
ClassUtils - Class in org.springframework.roo.support.util
Miscellaneous class utility methods.
ClassUtils() - Constructor for class org.springframework.roo.support.util.ClassUtils
 
cleanPath(String) - Static method in class org.springframework.roo.support.util.StringUtils
Normalize the path by suppressing sequences like "path/.." and inner simple dots.
close() - Method in class org.springframework.roo.support.logging.DeferredLogHandler
 
close() - Method in class org.springframework.roo.support.util.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
collectionToCommaDelimitedString(Collection<?>) - Static method in class org.springframework.roo.support.util.StringUtils
Convenience method to return a Collection as a CSV String.
collectionToDelimitedString(Collection<?>, String, String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Convenience method to return a Collection as a delimited (e.g.
collectionToDelimitedString(Collection<?>, String) - Static method in class org.springframework.roo.support.util.StringUtils
Convenience method to return a Collection as a delimited (e.g.
CollectionUtils - Class in org.springframework.roo.support.util
Miscellaneous collection utility methods.
CollectionUtils() - Constructor for class org.springframework.roo.support.util.CollectionUtils
 
commaDelimitedListToSet(String) - Static method in class org.springframework.roo.support.util.StringUtils
Convenience method to convert a CSV string list to a set.
commaDelimitedListToStringArray(String) - Static method in class org.springframework.roo.support.util.StringUtils
Convert a CSV list into an array of Strings.
compareDocuments(Document, Document) - Static method in class org.springframework.roo.support.util.XmlRoundTripUtils
This method will compare the original document with the proposed document and return an adjusted document if necessary.
concatenateStringArrays(String[], String[]) - Static method in class org.springframework.roo.support.util.StringUtils
Concatenate the given String arrays into one, with overlapping array elements included twice.
contains(Iterator, Object) - Static method in class org.springframework.roo.support.util.CollectionUtils
Check whether the given Iterator contains the given element.
contains(Enumeration, Object) - Static method in class org.springframework.roo.support.util.CollectionUtils
Check whether the given Enumeration contains the given element.
containsAny(Collection, Collection) - Static method in class org.springframework.roo.support.util.CollectionUtils
Return true if any element in 'candidates' is contained in 'source'; otherwise returns false.
containsElement(Object[], Object) - Static method in class org.springframework.roo.support.util.ObjectUtils
Check whether the given array contains the given element.
containsInstance(Collection, Object) - Static method in class org.springframework.roo.support.util.CollectionUtils
Check whether the given Collection contains the given element instance.
containsWhitespace(CharSequence) - Static method in class org.springframework.roo.support.util.StringUtils
Check whether the given CharSequence contains any whitespace characters.
containsWhitespace(String) - Static method in class org.springframework.roo.support.util.StringUtils
Check whether the given String contains any whitespace characters.
convertClassNameToResourcePath(String) - Static method in class org.springframework.roo.support.util.ClassUtils
Convert a "."
convertResourcePathToClassName(String) - Static method in class org.springframework.roo.support.util.ClassUtils
Convert a "/"-based resource path to a "."
copy(File, File) - Static method in class org.springframework.roo.support.util.FileCopyUtils
Copy the contents of the given input File to the given output File.
copy(byte[], File) - Static method in class org.springframework.roo.support.util.FileCopyUtils
Copy the contents of the given byte array to the given output File.
copy(InputStream, OutputStream) - Static method in class org.springframework.roo.support.util.FileCopyUtils
Copy the contents of the given InputStream to the given OutputStream.
copy(byte[], OutputStream) - Static method in class org.springframework.roo.support.util.FileCopyUtils
Copy the contents of the given byte array to the given OutputStream.
copy(Reader, Writer) - Static method in class org.springframework.roo.support.util.FileCopyUtils
Copy the contents of the given Reader to the given Writer.
copy(String, Writer) - Static method in class org.springframework.roo.support.util.FileCopyUtils
Copy the contents of the given String to the given output Writer.
COPYABLE_FIELDS - Static variable in class org.springframework.roo.support.util.ReflectionUtils
Pre-built FieldFilter that matches all non-static, non-final fields.
copyRecursively(File, File, boolean) - Static method in class org.springframework.roo.support.util.FileUtils
Copies the specified source directory to the destination.
copyToByteArray(File) - Static method in class org.springframework.roo.support.util.FileCopyUtils
Copy the contents of the given input File into a new byte array.
copyToByteArray(InputStream) - Static method in class org.springframework.roo.support.util.FileCopyUtils
Copy the contents of the given InputStream into a new byte array.
copyToString(Reader) - Static method in class org.springframework.roo.support.util.FileCopyUtils
Copy the contents of the given Reader into a String.
countOccurrencesOf(String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Count the occurrences of the substring in string s.
createCompositeInterface(Class[], ClassLoader) - Static method in class org.springframework.roo.support.util.ClassUtils
Create a composite interface Class for the given interfaces, implementing the given interfaces in one single Class.
createIndentingTransformer() - Static method in class org.springframework.roo.support.util.XmlUtils
 

D

declaresException(Method, Class) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Determine whether the given method explicitly declares the given exception or one of its superclasses, which means that an exception of that type can be propagated as-is within a reflective invocation.
DECODE - Static variable in class org.springframework.roo.support.util.Base64
Specify decoding in first bit.
decode(byte[]) - Static method in class org.springframework.roo.support.util.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(byte[], int, int, int) - Static method in class org.springframework.roo.support.util.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class org.springframework.roo.support.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class org.springframework.roo.support.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - Static method in class org.springframework.roo.support.util.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class org.springframework.roo.support.util.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class org.springframework.roo.support.util.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class org.springframework.roo.support.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decodeToObject(String, int, ClassLoader) - Static method in class org.springframework.roo.support.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
DEFAULT_PATH_SEPARATOR - Static variable in class org.springframework.roo.support.ant.AntPathMatcher
Default path separator: "/"
DefaultToStringStyler - Class in org.springframework.roo.support.style
Spring's default toString() styler.
DefaultToStringStyler(ValueStyler) - Constructor for class org.springframework.roo.support.style.DefaultToStringStyler
Create a new DefaultToStringStyler.
DefaultValueStyler - Class in org.springframework.roo.support.style
Converts objects to String form, generally for debugging purposes, using Spring's toString styling conventions.
DefaultValueStyler() - Constructor for class org.springframework.roo.support.style.DefaultValueStyler
 
DeferredLogHandler - Class in org.springframework.roo.support.logging
Defers the publication of JDK LogRecord instances until a target Handler is registered.
DeferredLogHandler(Handler, Level) - Constructor for class org.springframework.roo.support.logging.DeferredLogHandler
Creates an instance that will publish all recorded LogRecord instances to the specified fallback Handler if an event of the specified Level is received.
delete(String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Delete all occurrences of the given substring.
deleteAny(String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Delete any character in a given String.
deleteRecursively(File) - Static method in class org.springframework.roo.support.util.FileUtils
Deletes the specified File.
delimitedListToStringArray(String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Take a String which is a delimited list and convert it to a String array.
delimitedListToStringArray(String, String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Take a String which is a delimited list and convert it to a String array.
DO_BREAK_LINES - Static variable in class org.springframework.roo.support.util.Base64
Do break lines when encoding.
doesNotContain(String, String, String) - Static method in class org.springframework.roo.support.util.Assert
Assert that the given text does not contain the given substring.
doesNotContain(String, String) - Static method in class org.springframework.roo.support.util.Assert
Assert that the given text does not contain the given substring.
doMatch(String, String, boolean, Map<String, String>) - Method in class org.springframework.roo.support.ant.AntPathMatcher
Actually match the given path against the given pattern.
DomUtils - Class in org.springframework.roo.support.util
Convenience methods for working with the DOM API, in particular for working with DOM Nodes and DOM Elements.
DomUtils() - Constructor for class org.springframework.roo.support.util.DomUtils
 
DONT_GUNZIP - Static variable in class org.springframework.roo.support.util.Base64
Specify that gzipped data should not be automatically gunzipped.
doWith(Field) - Method in interface org.springframework.roo.support.util.ReflectionUtils.FieldCallback
Perform an operation using the given field.
doWith(Method) - Method in interface org.springframework.roo.support.util.ReflectionUtils.MethodCallback
Perform an operation using the given method.
doWithFields(Class, ReflectionUtils.FieldCallback) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
doWithFields(Class, ReflectionUtils.FieldCallback, ReflectionUtils.FieldFilter) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.
doWithMethods(Class, ReflectionUtils.MethodCallback) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Perform the given callback operation on all matching methods of the given class and superclasses.
doWithMethods(Class, ReflectionUtils.MethodCallback, ReflectionUtils.MethodFilter) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Perform the given callback operation on all matching methods of the given class and superclasses.

E

ENCODE - Static variable in class org.springframework.roo.support.util.Base64
Specify encoding in first bit.
encode(ByteBuffer, ByteBuffer) - Static method in class org.springframework.roo.support.util.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded ByteBuffer.
encode(ByteBuffer, CharBuffer) - Static method in class org.springframework.roo.support.util.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded CharBuffer.
encodeBytes(byte[]) - Static method in class org.springframework.roo.support.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class org.springframework.roo.support.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class org.springframework.roo.support.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class org.springframework.roo.support.util.Base64
Encodes a byte array into Base64 notation.
encodeBytesToBytes(byte[]) - Static method in class org.springframework.roo.support.util.Base64
Similar to Base64.encodeBytes(byte[]) but returns a byte array instead of instantiating a String.
encodeBytesToBytes(byte[], int, int, int) - Static method in class org.springframework.roo.support.util.Base64
Similar to Base64.encodeBytes(byte[], int, int, int) but returns a byte array instead of instantiating a String.
encodeFileToFile(String, String) - Static method in class org.springframework.roo.support.util.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class org.springframework.roo.support.util.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class org.springframework.roo.support.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class org.springframework.roo.support.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class org.springframework.roo.support.util.Base64
Convenience method for encoding data to a file.
endsWithIgnoreCase(String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Test if the given String ends with the specified suffix, ignoring upper/lower case.
ExceptionUtils - Class in org.springframework.roo.support.util
Methods for working with exceptions.
ExceptionUtils() - Constructor for class org.springframework.roo.support.util.ExceptionUtils
 
extractPathWithinPattern(String, String) - Method in class org.springframework.roo.support.ant.AntPathMatcher
Given a pattern and a full path, determine the pattern-mapped part.
extractPathWithinPattern(String, String) - Method in interface org.springframework.roo.support.ant.PathMatcher
Given a pattern and a full path, determine the pattern-mapped part.
extractRootCause(Throwable) - Static method in class org.springframework.roo.support.util.ExceptionUtils
Obtains the root cause of an exception, if available.
extractUriTemplateVariables(String, String) - Method in class org.springframework.roo.support.ant.AntPathMatcher
 
extractUriTemplateVariables(String, String) - Method in interface org.springframework.roo.support.ant.PathMatcher
Given a pattern and a full path, extract the URI template variables.

F

FileCopyUtils - Class in org.springframework.roo.support.util
Simple utility methods for file and stream copying.
FileCopyUtils() - Constructor for class org.springframework.roo.support.util.FileCopyUtils
 
FileUtils - Class in org.springframework.roo.support.util
Utilities for handling File instances.
FileUtils() - Constructor for class org.springframework.roo.support.util.FileUtils
 
findElements(String, Element) - Static method in class org.springframework.roo.support.util.XmlUtils
Checks in under a given root element whether it can find a child elements which match the XPath expression supplied.
findField(Class, String) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Attempt to find a field on the supplied Class with the supplied name.
findField(Class, String, Class) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Attempt to find a field on the supplied Class with the supplied name and/or type.
findFirstAttribute(String, Element) - Static method in class org.springframework.roo.support.util.XmlUtils
Checks for a given element whether it can find an attribute which matches the XPath expression supplied.
findFirstElement(String, Element) - Static method in class org.springframework.roo.support.util.XmlUtils
Checks in under a given root element whether it can find a child element which matches the XPath expression supplied.
findFirstElementByName(String, Element) - Static method in class org.springframework.roo.support.util.XmlUtils
Checks in under a given root element whether it can find a child element which matches the name supplied.
findFirstMatch(Collection, Collection) - Static method in class org.springframework.roo.support.util.CollectionUtils
Return the first element in 'candidates' that is contained in 'source'.
findMatchingClasspathResources(BundleContext, String) - Static method in class org.springframework.roo.support.util.TemplateUtils
 
findMethod(Class, String) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Attempt to find a Method on the supplied class with the supplied name and no parameters.
findMethod(Class, String, Class[]) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Attempt to find a Method on the supplied class with the supplied name and parameter types.
findNode(String, Element) - Static method in class org.springframework.roo.support.util.XmlUtils
Checks in under a given root element whether it can find a child node which matches the XPath expression supplied.
findRequiredElement(String, Element) - Static method in class org.springframework.roo.support.util.XmlUtils
Checks in under a given root element whether it can find a child element which matches the XPath expression supplied.
findUrls(BundleContext, String) - Static method in class org.springframework.roo.support.util.TemplateUtils
Locates URLs that represent a search of all bundles for a given resource.
findValueOfType(Collection, Class<T>) - Static method in class org.springframework.roo.support.util.CollectionUtils
Find a single value of the given type in the given Collection.
findValueOfType(Collection, Class[]) - Static method in class org.springframework.roo.support.util.CollectionUtils
Find a single value of one of the given types in the given Collection: searching the Collection for a value of the first type, then searching for a value of the second type, etc.
flush() - Method in class org.springframework.roo.support.logging.DeferredLogHandler
 
flushAllHandlers(Logger) - Static method in class org.springframework.roo.support.logging.HandlerUtils
Forces all Handler instances registered in the presented Logger to be flushed.
flushBase64() - Method in class org.springframework.roo.support.util.Base64.OutputStream
Method added by PHIL.
forName(String) - Static method in class org.springframework.roo.support.util.ClassUtils
Replacement for Class.forName() that also returns Class instances for primitives (like "int") and array class names (like "String[]").
forName(String, ClassLoader) - Static method in class org.springframework.roo.support.util.ClassUtils
Replacement for Class.forName() that also returns Class instances for primitives (like "int") and array class names (like "String[]").

G

getAllDeclaredMethods(Class) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Get all declared methods on the leaf class and all superclasses.
getAllInterfaces(Object) - Static method in class org.springframework.roo.support.util.ClassUtils
Return all interfaces that the given instance implements as array, including ones implemented by superclasses.
getAllInterfacesAsSet(Object) - Static method in class org.springframework.roo.support.util.ClassUtils
Return all interfaces that the given instance implements as Set, including ones implemented by superclasses.
getAllInterfacesForClass(Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Return all interfaces that the given class implements as array, including ones implemented by superclasses.
getAllInterfacesForClass(Class, ClassLoader) - Static method in class org.springframework.roo.support.util.ClassUtils
Return all interfaces that the given class implements as array, including ones implemented by superclasses.
getAllInterfacesForClassAsSet(Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Return all interfaces that the given class implements as Set, including ones implemented by superclasses.
getAllInterfacesForClassAsSet(Class, ClassLoader) - Static method in class org.springframework.roo.support.util.ClassUtils
Return all interfaces that the given class implements as Set, including ones implemented by superclasses.
getChildElementByTagName(Element, String) - Static method in class org.springframework.roo.support.util.DomUtils
Utility method that returns the first child element identified by its name.
getChildElementsByTagName(Element, String[]) - Static method in class org.springframework.roo.support.util.DomUtils
Retrieve all child elements of the given DOM element that match any of the given element names.
getChildElementsByTagName(Element, String) - Static method in class org.springframework.roo.support.util.DomUtils
Retrieve all child elements of the given DOM element that match the given element name.
getChildElementValueByTagName(Element, String) - Static method in class org.springframework.roo.support.util.DomUtils
Utility method that returns the first child element value identified by its name.
getClassFileName(Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Determine the name of the class file, relative to the containing package: e.g.
getConfiguration(Class<?>, String) - Static method in class org.springframework.roo.support.util.XmlUtils
Returns the root element of an addon's configuration file.
getConfiguration(Class<?>) - Static method in class org.springframework.roo.support.util.XmlUtils
Returns the root element of an addon's configuration file.
getConstructorIfAvailable(Class, Class...) - Static method in class org.springframework.roo.support.util.ClassUtils
Determine whether the given class has a constructor with the given signature, and return it if available (else return null).
getDefaultClassLoader() - Static method in class org.springframework.roo.support.util.ClassUtils
Return the default ClassLoader to use: typically the thread context ClassLoader, if available; the ClassLoader that loaded the ClassUtils class will be used as fallback.
getDescriptiveType(Object) - Static method in class org.springframework.roo.support.util.ClassUtils
Return a descriptive name for the given object's type: usually simply the class name, but component type class name + "[]" for arrays, and an appended list of implemented interfaces for JDK proxies.
getDisplayString(Object) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a content-based String representation if obj is not null; otherwise returns an empty String.
getDocumentBuilder() - Static method in class org.springframework.roo.support.util.XmlUtils
 
getField(Field, Object) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Get the field represented by the supplied field object on the specified target object.
getFilename(String) - Static method in class org.springframework.roo.support.util.StringUtils
Extract the filename from the given path, e.g.
getFilenameExtension(String) - Static method in class org.springframework.roo.support.util.StringUtils
Extract the filename extension from the given path, e.g.
getIdentityHexString(Object) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a hex String form of an object's identity hash code.
getLogger(Class<?>) - Static method in class org.springframework.roo.support.logging.HandlerUtils
Obtains a Logger that guarantees to set the Level to Level.FINE if it is part of org.springframework.roo.
getMethodCountForName(Class, String) - Static method in class org.springframework.roo.support.util.ClassUtils
Return the number of methods with a given name (with any argument types), for the given class and/or its superclasses.
getMethodIfAvailable(Class, String, Class...) - Static method in class org.springframework.roo.support.util.ClassUtils
Determine whether the given class has a method with the given signature, and return it if available (else return null).
getMostSpecificMethod(Method, Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Given a method, which may come from an interface, and a target class used in the current reflective invocation, find the corresponding target method if there is one.
getName() - Method in class org.springframework.roo.support.util.WebXmlUtils.WebXmlParam
 
getPackageName(Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Determine the name of the package of the given class: e.g.
getQualifiedMethodName(Method) - Static method in class org.springframework.roo.support.util.ClassUtils
Return the qualified name of the given method, consisting of fully qualified interface/class name + "." + method name.
getQualifiedName(Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Return the qualified name of the given class: usually simply the class name, but component type class name + "[]" for arrays.
getShortName(String) - Static method in class org.springframework.roo.support.util.ClassUtils
Get the class name without the qualified package name.
getShortName(Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Get the class name without the qualified package name.
getShortNameAsProperty(Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Return the short string name of a Java class in decapitalized JavaBeans property format.
getStaticMethod(Class, String, Class...) - Static method in class org.springframework.roo.support.util.ClassUtils
Return a static method of a class.
getTargetHandler() - Method in class org.springframework.roo.support.logging.DeferredLogHandler
 
getTemplate(Class<?>, String) - Static method in class org.springframework.roo.support.util.TemplateUtils
Acquires an InputStream to the requested classloader-derived template.
getTemplatePath(Class<?>, String) - Static method in class org.springframework.roo.support.util.TemplateUtils
Determines the path to the requested template.
getTextValue(Element) - Static method in class org.springframework.roo.support.util.DomUtils
Extract the text value from the given DOM element, ignoring XML comments.
getUserClass(Object) - Static method in class org.springframework.roo.support.util.ClassUtils
Return the user-defined class for the given instance: usually simply the class of the given instance, but the original class in case of a CGLIB-generated subclass.
getUserClass(Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Return the user-defined class for the given class: usually simply the given class, but the original class in case of a CGLIB-generated subclass.
getValue() - Method in class org.springframework.roo.support.util.WebXmlUtils.WebXmlParam
 
getValueStyler() - Method in class org.springframework.roo.support.style.DefaultToStringStyler
Return the ValueStyler used by this ToStringStyler.
GZIP - Static variable in class org.springframework.roo.support.util.Base64
Specify that data should be gzip-compressed in second bit.

H

handleInvocationTargetException(InvocationTargetException) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Handle the given invocation target exception.
handleReflectionException(Exception) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Handle the given reflection exception.
HandlerUtils - Class in org.springframework.roo.support.logging
Utility methods for dealing with Handler objects.
HandlerUtils() - Constructor for class org.springframework.roo.support.logging.HandlerUtils
 
hasAtLeastOneMethodWithName(Class, String) - Static method in class org.springframework.roo.support.util.ClassUtils
Does the given class and/or its superclasses at least have one or more methods (with any argument types)?
hasConstructor(Class, Class...) - Static method in class org.springframework.roo.support.util.ClassUtils
Determine whether the given class has a constructor with the given signature.
hashCode(boolean) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return the same value as Boolean.hashCode().
hashCode(double) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return the same value as Double.hashCode().
hashCode(float) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return the same value as Float.hashCode().
hashCode(long) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return the same value as Long.hashCode().
hasLength(String, String) - Static method in class org.springframework.roo.support.util.Assert
Assert that the given String is not empty; that is, it must not be null and not the empty String.
hasLength(String) - Static method in class org.springframework.roo.support.util.Assert
Assert that the given String is not empty; that is, it must not be null and not the empty String.
hasLength(CharSequence) - Static method in class org.springframework.roo.support.util.StringUtils
Check that the given CharSequence is neither null nor of length 0.
hasLength(String) - Static method in class org.springframework.roo.support.util.StringUtils
Check that the given String is neither null nor of length 0.
hasMethod(Class, String, Class...) - Static method in class org.springframework.roo.support.util.ClassUtils
Determine whether the given class has a method with the given signature.
hasText(String, String) - Static method in class org.springframework.roo.support.util.Assert
Assert that the given String has valid text content; that is, it must not be null and must contain at least one non-whitespace character.
hasText(String) - Static method in class org.springframework.roo.support.util.Assert
Assert that the given String has valid text content; that is, it must not be null and must contain at least one non-whitespace character.
hasText(CharSequence) - Static method in class org.springframework.roo.support.util.StringUtils
Check whether the given CharSequence has actual text.
hasText(String) - Static method in class org.springframework.roo.support.util.StringUtils
Check whether the given String has actual text.
hasUniqueObject(Collection) - Static method in class org.springframework.roo.support.util.CollectionUtils
Determine whether the given Collection only contains a single unique object.

I

identityToString(Object) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a String representation of an object's overall identity.
invokeJdbcMethod(Method, Object) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Invoke the specified JDBC API Method against the supplied target object with no arguments.
invokeJdbcMethod(Method, Object, Object[]) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Invoke the specified JDBC API Method against the supplied target object with the supplied arguments.
invokeMethod(Method, Object) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Invoke the specified Method against the supplied target object with no arguments.
invokeMethod(Method, Object, Object[]) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Invoke the specified Method against the supplied target object with the supplied arguments.
isAssignable(Class, Class) - Static method in class org.springframework.roo.support.util.Assert
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class, Class, String) - Static method in class org.springframework.roo.support.util.Assert
Assert that superType.isAssignableFrom(subType) is true.
isAssignable(Class, Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Check if the right-hand side type may be assigned to the left-hand side type, assuming setting by reflection.
isAssignableValue(Class, Object) - Static method in class org.springframework.roo.support.util.ClassUtils
Determine if the given type is assignable from the given value, assuming setting by reflection.
isCacheSafe(Class, ClassLoader) - Static method in class org.springframework.roo.support.util.ClassUtils
Check whether the given class is cache-safe in the given context, i.e. whether it is loaded by the given ClassLoader or a parent of it.
isCheckedException(Throwable) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return whether the given throwable is a checked exception: that is, neither a RuntimeException nor an Error.
isCompatibleWithThrowsClause(Throwable, Class[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Check whether the given exception is compatible with the exceptions declared in a throws clause.
isEmpty(Collection) - Static method in class org.springframework.roo.support.util.CollectionUtils
Return true if the supplied Collection is null or empty.
isEmpty(Map) - Static method in class org.springframework.roo.support.util.CollectionUtils
Return true if the supplied Map is null or empty.
isEmpty(Object[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return whether the given array is empty: that is, null or of zero length.
isEqualsMethod(Method) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Determine whether the given method is an "equals" method.
isHashCodeMethod(Method) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Determine whether the given method is a "hashCode" method.
isInstanceOf(Class, Object) - Static method in class org.springframework.roo.support.util.Assert
Assert that the provided object is an instance of the provided class.
isInstanceOf(Class, Object, String) - Static method in class org.springframework.roo.support.util.Assert
Assert that the provided object is an instance of the provided class.
isNull(Object, String) - Static method in class org.springframework.roo.support.util.Assert
Assert that an object is null .
isNull(Object) - Static method in class org.springframework.roo.support.util.Assert
Assert that an object is null .
isPattern(String) - Method in class org.springframework.roo.support.ant.AntPathMatcher
 
isPattern(String) - Method in interface org.springframework.roo.support.ant.PathMatcher
Does the given path represent a pattern that can be matched by an implementation of this interface?
isPresent(String) - Static method in class org.springframework.roo.support.util.ClassUtils
Deprecated. as of Spring 2.5, in favor of ClassUtils.isPresent(String, ClassLoader)
isPresent(String, ClassLoader) - Static method in class org.springframework.roo.support.util.ClassUtils
Determine whether the Class identified by the supplied name is present and can be loaded.
isPrimitiveArray(Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Check if the given class represents an array of primitives, i.e. boolean, byte, char, short, int, long, float, or double.
isPrimitiveOrWrapper(Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Check if the given class represents a primitive (i.e. boolean, byte, char, short, int, long, float, or double) or a primitive wrapper (i.e.
isPrimitiveWrapper(Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Check if the given class represents a primitive wrapper, i.e.
isPrimitiveWrapperArray(Class) - Static method in class org.springframework.roo.support.util.ClassUtils
Check if the given class represents an array of primitive wrappers, i.e.
isPublicStaticFinal(Field) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Determine whether the given field is a "public static final" constant.
isToStringMethod(Method) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Determine whether the given method is a "toString" method.
isTrue(boolean, String) - Static method in class org.springframework.roo.support.util.Assert
Assert a boolean expression, throwing IllegalArgumentException if the test result is false.
isTrue(boolean) - Static method in class org.springframework.roo.support.util.Assert
Assert a boolean expression, throwing IllegalArgumentException if the test result is false.
isVisible(Class, ClassLoader) - Static method in class org.springframework.roo.support.util.ClassUtils
Check whether the given class is visible in the given ClassLoader.

M

makeAccessible(Field) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Make the given field accessible, explicitly setting it accessible if necessary.
makeAccessible(Method) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Make the given method accessible, explicitly setting it accessible if necessary.
makeAccessible(Constructor) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Make the given constructor accessible, explicitly setting it accessible if necessary.
match(String, String) - Method in class org.springframework.roo.support.ant.AntPathMatcher
 
match(String, String) - Method in interface org.springframework.roo.support.ant.PathMatcher
Match the given path against the given pattern, according to this PathMatcher's matching strategy.
matches(Field) - Method in interface org.springframework.roo.support.util.ReflectionUtils.FieldFilter
Determine whether the given field matches.
matches(Method) - Method in interface org.springframework.roo.support.util.ReflectionUtils.MethodFilter
Determine whether the given method matches.
matchStart(String, String) - Method in class org.springframework.roo.support.ant.AntPathMatcher
 
matchStart(String, String) - Method in interface org.springframework.roo.support.ant.PathMatcher
Match the given path against the corresponding part of the given pattern, according to this PathMatcher's matching strategy.
mergeArrayIntoCollection(Object, Collection) - Static method in class org.springframework.roo.support.util.CollectionUtils
Merge the given array into the given Collection.
mergePropertiesIntoMap(Properties, Map) - Static method in class org.springframework.roo.support.util.CollectionUtils
Merge the given Properties instance into the given Map, copying all properties (key-value pairs) over.
mergeStringArrays(String[], String[]) - Static method in class org.springframework.roo.support.util.StringUtils
Merge the given String arrays into one, with overlapping array elements only included once.

N

NO_OPTIONS - Static variable in class org.springframework.roo.support.util.Base64
No options specified.
nodeNameEquals(Node, String) - Static method in class org.springframework.roo.support.util.DomUtils
Namespace-aware equals comparison.
noNullElements(Object[], String) - Static method in class org.springframework.roo.support.util.Assert
Assert that an array has no null elements.
noNullElements(Object[]) - Static method in class org.springframework.roo.support.util.Assert
Assert that an array has no null elements.
notEmpty(Object[], String) - Static method in class org.springframework.roo.support.util.Assert
Assert that an array has elements; that is, it must not be null and must have at least one element.
notEmpty(Object[]) - Static method in class org.springframework.roo.support.util.Assert
Assert that an array has elements; that is, it must not be null and must have at least one element.
notEmpty(Collection, String) - Static method in class org.springframework.roo.support.util.Assert
Assert that a collection has elements; that is, it must not be null and must have at least one element.
notEmpty(Collection) - Static method in class org.springframework.roo.support.util.Assert
Assert that a collection has elements; that is, it must not be null and must have at least one element.
notEmpty(Map, String) - Static method in class org.springframework.roo.support.util.Assert
Assert that a Map has entries; that is, it must not be null and must have at least one entry.
notEmpty(Map) - Static method in class org.springframework.roo.support.util.Assert
Assert that a Map has entries; that is, it must not be null and must have at least one entry.
notNull(Object, String) - Static method in class org.springframework.roo.support.util.Assert
Assert that an object is not null .
notNull(Object) - Static method in class org.springframework.roo.support.util.Assert
Assert that an object is not null .
nullSafeClassName(Object) - Static method in class org.springframework.roo.support.util.ObjectUtils
Determine the class name for the given object.
nullSafeEquals(Object, Object) - Static method in class org.springframework.roo.support.util.ObjectUtils
Determine if the given objects are equal, returning true if both are null or false if only one is null.
nullSafeHashCode(Object) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return as hash code for the given object; typically the value of Object.hashCode().
nullSafeHashCode(Object[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(boolean[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(byte[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(char[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(double[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(float[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(int[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(long[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeHashCode(short[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a hash code based on the contents of the specified array.
nullSafeToString(Object) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a String representation of the specified Object.
nullSafeToString(Object[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(boolean[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(byte[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(char[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(double[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(float[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(int[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(long[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a String representation of the contents of the specified array.
nullSafeToString(short[]) - Static method in class org.springframework.roo.support.util.ObjectUtils
Return a String representation of the contents of the specified array.

O

ObjectUtils - Class in org.springframework.roo.support.util
Miscellaneous object utility methods.
ObjectUtils() - Constructor for class org.springframework.roo.support.util.ObjectUtils
 
ORDERED - Static variable in class org.springframework.roo.support.util.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
org.springframework.roo.support.ant - package org.springframework.roo.support.ant
 
org.springframework.roo.support.logging - package org.springframework.roo.support.logging
 
org.springframework.roo.support.style - package org.springframework.roo.support.style
 
org.springframework.roo.support.util - package org.springframework.roo.support.util
 
overrideThreadContextClassLoader(ClassLoader) - Static method in class org.springframework.roo.support.util.ClassUtils
Override the thread context ClassLoader with the environment's bean ClassLoader if necessary, i.e. if the bean ClassLoader is not equivalent to the thread context ClassLoader already.

P

parseLocaleString(String) - Static method in class org.springframework.roo.support.util.StringUtils
Parse the given localeString into a Locale.
pathEquals(String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Compare two paths after normalization of them.
PathMatcher - Interface in org.springframework.roo.support.ant
Strategy interface for String-based path matching.
publish(LogRecord) - Method in class org.springframework.roo.support.logging.DeferredLogHandler
Stores the log record internally.

Q

quote(String) - Static method in class org.springframework.roo.support.util.StringUtils
Quote the given String with single quotes.
quoteIfString(Object) - Static method in class org.springframework.roo.support.util.StringUtils
Turn the given Object into a String with single quotes if it is a String; keeping the Object as-is else.

R

read() - Method in class org.springframework.roo.support.util.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class org.springframework.roo.support.util.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
ReflectionUtils - Class in org.springframework.roo.support.util
Simple utility class for working with the reflection API and handling reflection exceptions.
ReflectionUtils() - Constructor for class org.springframework.roo.support.util.ReflectionUtils
 
ReflectionUtils.FieldCallback - Interface in org.springframework.roo.support.util
Callback interface invoked on each field in the hierarchy.
ReflectionUtils.FieldFilter - Interface in org.springframework.roo.support.util
Callback optionally used to filter fields to be operated on by a field callback.
ReflectionUtils.MethodCallback - Interface in org.springframework.roo.support.util
Action to take on each method.
ReflectionUtils.MethodFilter - Interface in org.springframework.roo.support.util
Callback optionally used to method fields to be operated on by a method callback.
registerTargetHandler(Logger, Handler) - Static method in class org.springframework.roo.support.logging.HandlerUtils
Registers the presented target Handler against any DeferredLogHandler encountered in the presented Logger.
removeDuplicateStrings(String[]) - Static method in class org.springframework.roo.support.util.StringUtils
Remove duplicate Strings from the given array.
removeTextNodes(Element) - Static method in class org.springframework.roo.support.util.XmlUtils
Removes empty text nodes from the specified element
replace(String, String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Replace all occurences of a substring within a string with another string.
resolveClassName(String, ClassLoader) - Static method in class org.springframework.roo.support.util.ClassUtils
Resolve the given class name into a Class instance.
resolvePrimitiveClassName(String) - Static method in class org.springframework.roo.support.util.ClassUtils
Resolve the given class name as primitive class, if appropriate, according to the JVM's naming rules for primitive classes.
resumeEncoding() - Method in class org.springframework.roo.support.util.Base64.OutputStream
Resumes encoding of the stream.
rethrowException(Throwable) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Rethrow the given exception, which is presumably the target exception of an InvocationTargetException.
rethrowRuntimeException(Throwable) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Rethrow the given exception, which is presumably the target exception of an InvocationTargetException.

S

setDescription(String, Document, String) - Static method in class org.springframework.roo.support.util.WebXmlUtils
Set the description element in the web.xml document.
setDisplayName(String, Document, String) - Static method in class org.springframework.roo.support.util.WebXmlUtils
Set the displayname element in the web.xml document.
setField(Field, Object, Object) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Set the field represented by the supplied field object on the specified target object to the specified value.
setPathSeparator(String) - Method in class org.springframework.roo.support.ant.AntPathMatcher
Set the path separator to use for pattern parsing.
setSessionTimeout(Integer, Document, String) - Static method in class org.springframework.roo.support.util.WebXmlUtils
Set session timeout in web.xml document
setTargetHandler(Handler) - Method in class org.springframework.roo.support.logging.DeferredLogHandler
 
setText(String) - Method in class org.springframework.roo.support.util.XmlElementBuilder
Add text contents to the current element.
shallowCopyFieldState(Object, Object) - Static method in class org.springframework.roo.support.util.ReflectionUtils
Given the source object and the destination, which must be the same class or a subclass, copy all fields, including inherited fields.
sortStringArray(String[]) - Static method in class org.springframework.roo.support.util.StringUtils
Turn given source String array into sorted array.
split(String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Split a String at the first occurrence of the delimiter.
splitArrayElementsIntoProperties(String[], String) - Static method in class org.springframework.roo.support.util.StringUtils
Take an array Strings and split each element based on the given delimiter.
splitArrayElementsIntoProperties(String[], String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Take an array Strings and split each element based on the given delimiter.
startsWithIgnoreCase(String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Test if the given String starts with the specified prefix, ignoring upper/lower case.
state(boolean, String) - Static method in class org.springframework.roo.support.util.Assert
Assert a boolean expression, throwing IllegalStateException if the test result is false.
state(boolean) - Static method in class org.springframework.roo.support.util.Assert
Assert a boolean expression, throwing IllegalStateException if the test result is false.
StringUtils - Class in org.springframework.roo.support.util
Miscellaneous String utility methods.
StringUtils() - Constructor for class org.springframework.roo.support.util.StringUtils
 
stripFilenameExtension(String) - Static method in class org.springframework.roo.support.util.StringUtils
Strip the filename extension from the given path, e.g.
style(Object) - Method in class org.springframework.roo.support.style.DefaultValueStyler
 
style(Object) - Static method in class org.springframework.roo.support.style.StylerUtils
Style the specified value according to default conventions.
style(Object) - Method in interface org.springframework.roo.support.style.ValueStyler
Style the given value, returning a String representation.
styleEnd(StringBuilder, Object) - Method in class org.springframework.roo.support.style.DefaultToStringStyler
 
styleEnd(StringBuilder, Object) - Method in interface org.springframework.roo.support.style.ToStringStyler
Style a toString()'ed object after it's fields are styled.
styleField(StringBuilder, String, Object) - Method in class org.springframework.roo.support.style.DefaultToStringStyler
 
styleField(StringBuilder, String, Object) - Method in interface org.springframework.roo.support.style.ToStringStyler
Style a field value as a string.
styleFieldEnd(StringBuilder, String) - Method in class org.springframework.roo.support.style.DefaultToStringStyler
 
styleFieldSeparator(StringBuilder) - Method in class org.springframework.roo.support.style.DefaultToStringStyler
 
styleFieldSeparator(StringBuilder) - Method in interface org.springframework.roo.support.style.ToStringStyler
Style the field separator.
styleFieldStart(StringBuilder, String) - Method in class org.springframework.roo.support.style.DefaultToStringStyler
 
StylerUtils - Class in org.springframework.roo.support.style
Simple utility class to allow for convenient access to value styling logic, mainly to support descriptive logging messages.
StylerUtils() - Constructor for class org.springframework.roo.support.style.StylerUtils
 
styleStart(StringBuilder, Object) - Method in class org.springframework.roo.support.style.DefaultToStringStyler
 
styleStart(StringBuilder, Object) - Method in interface org.springframework.roo.support.style.ToStringStyler
Style a toString()'ed object before its fields are styled.
styleValue(StringBuilder, Object) - Method in class org.springframework.roo.support.style.DefaultToStringStyler
 
styleValue(StringBuilder, Object) - Method in interface org.springframework.roo.support.style.ToStringStyler
Style the given value.
substringMatch(CharSequence, int, CharSequence) - Static method in class org.springframework.roo.support.util.StringUtils
Test whether the given string matches the given substring at the given index.
suspendEncoding() - Method in class org.springframework.roo.support.util.Base64.OutputStream
Suspends encoding of the stream.

T

TemplateUtils - Class in org.springframework.roo.support.util
Utilities for dealing with "templates", which are commonly used by ROO add-ons.
TemplateUtils() - Constructor for class org.springframework.roo.support.util.TemplateUtils
 
tokenizeToStringArray(String, String) - Static method in class org.springframework.roo.support.util.StringUtils
Tokenize the given String into a String array via a StringTokenizer.
tokenizeToStringArray(String, String, boolean, boolean) - Static method in class org.springframework.roo.support.util.StringUtils
Tokenize the given String into a String array via a StringTokenizer.
toLanguageTag(Locale) - Static method in class org.springframework.roo.support.util.StringUtils
Determine the RFC 3066 compliant language tag, as used for the HTTP "Accept-Language" header.
toObjectArray(Object) - Static method in class org.springframework.roo.support.util.ObjectUtils
Convert the given array (which may be a primitive array) to an object array (if necessary of primitive wrapper objects).
toString() - Method in class org.springframework.roo.support.style.ToStringCreator
Return the String representation that this ToStringCreator built.
toStringArray(Collection<String>) - Static method in class org.springframework.roo.support.util.StringUtils
Copy the given Collection into a String array.
toStringArray(Enumeration<String>) - Static method in class org.springframework.roo.support.util.StringUtils
Copy the given Enumeration into a String array.
ToStringCreator - Class in org.springframework.roo.support.style
Utility class that builds pretty-printing toString() methods with pluggable styling conventions.
ToStringCreator(Object) - Constructor for class org.springframework.roo.support.style.ToStringCreator
Create a ToStringCreator for the given object.
ToStringCreator(Object, ValueStyler) - Constructor for class org.springframework.roo.support.style.ToStringCreator
Create a ToStringCreator for the given object, using the provided style.
ToStringCreator(Object, ToStringStyler) - Constructor for class org.springframework.roo.support.style.ToStringCreator
Create a ToStringCreator for the given object, using the provided style.
ToStringStyler - Interface in org.springframework.roo.support.style
A strategy interface for pretty-printing toString() methods.
trimAllWhitespace(String) - Static method in class org.springframework.roo.support.util.StringUtils
Trim all whitespace from the given String: leading, trailing, and inbetween characters.
trimArrayElements(String[]) - Static method in class org.springframework.roo.support.util.StringUtils
Trim the elements of the given String array, calling String.trim() on each of them.
trimLeadingCharacter(String, char) - Static method in class org.springframework.roo.support.util.StringUtils
Trim all occurences of the supplied leading character from the given String.
trimLeadingWhitespace(String) - Static method in class org.springframework.roo.support.util.StringUtils
Trim leading whitespace from the given String.
trimTrailingCharacter(String, char) - Static method in class org.springframework.roo.support.util.StringUtils
Trim all occurences of the supplied trailing character from the given String.
trimTrailingWhitespace(String) - Static method in class org.springframework.roo.support.util.StringUtils
Trim trailing whitespace from the given String.
trimWhitespace(String) - Static method in class org.springframework.roo.support.util.StringUtils
Trim leading and trailing whitespace from the given String.

U

uncapitalize(String) - Static method in class org.springframework.roo.support.util.StringUtils
Uncapitalize a String, changing the first letter to lower case as per Character.toLowerCase(char).
unqualify(String) - Static method in class org.springframework.roo.support.util.StringUtils
Unqualify a string qualified by a '.' dot character.
unqualify(String, char) - Static method in class org.springframework.roo.support.util.StringUtils
Unqualify a string qualified by a separator character.
URL_SAFE - Static variable in class org.springframework.roo.support.util.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.

V

valueOf(String) - Static method in enum org.springframework.roo.support.util.WebXmlUtils.FilterPosition
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.springframework.roo.support.util.WebXmlUtils.FilterPosition
Returns an array containing the constants of this enum type, in the order they are declared.
ValueStyler - Interface in org.springframework.roo.support.style
Strategy that encapsulates value String styling algorithms according to Spring conventions.

W

WebXmlUtils - Class in org.springframework.roo.support.util
Helper util class to allow more convenient handling of web.xml file in Web projects.
WebXmlUtils() - Constructor for class org.springframework.roo.support.util.WebXmlUtils
 
WebXmlUtils.FilterPosition - Enum in org.springframework.roo.support.util
Enum to define filter position
WebXmlUtils.WebXmlParam - Class in org.springframework.roo.support.util
Value object used to hold init-param style information
WebXmlUtils.WebXmlParam(String, String) - Constructor for class org.springframework.roo.support.util.WebXmlUtils.WebXmlParam
 
wrapWithDeferredLogHandler(Logger, Level) - Static method in class org.springframework.roo.support.logging.HandlerUtils
Replaces each Handler defined against the presented Logger with DeferredLogHandler.
write(int) - Method in class org.springframework.roo.support.util.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class org.springframework.roo.support.util.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.
writeXml(OutputStream, Document) - Static method in class org.springframework.roo.support.util.XmlUtils
Write an XML document to the outputstream provided.
writeXml(Transformer, OutputStream, Document) - Static method in class org.springframework.roo.support.util.XmlUtils
Write an XML document to the outputstream provided.

X

XmlElementBuilder - Class in org.springframework.roo.support.util
Very simple convenience Builder for XML Elements
XmlElementBuilder(String, Document) - Constructor for class org.springframework.roo.support.util.XmlElementBuilder
Create a new Element instance.
XmlRoundTripUtils - Class in org.springframework.roo.support.util
Utilities related to Dround tripping XML documents
XmlRoundTripUtils() - Constructor for class org.springframework.roo.support.util.XmlRoundTripUtils
 
XmlUtils - Class in org.springframework.roo.support.util
Utilities related to DOM and XML usage.

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

Copyright © 2009-2010 VMware, Inc. All Rights Reserved.