Package org.apache.struts2.util
package org.apache.struts2.util
XWork util classes.
-
ClassDescription
AnnotationUtils
A bean that takes several iterators and outputs them in sequenceThis class is extremely useful for loading resources and classes in a fault tolerant manner that works across different applications servers.This class is an utility class that will search through the classpath for files whose names match the given pattern.ValueStacks implementing this interface provide a way to remove values from their contexts.Various static methods used with componentsA Stack that is implemented using a List.ContainUtil
will check if object 1 contains object 2.Matches content type of uploaded files, similar toPatternMatcher
A bean that can be used to keep track of a counter.Helper class to create and retrieve information from location-enabled DOM-trees.TheDOMBuilder
is a utility class that will generate a W3C DOM Document from SAX events.A speedy implementation of ByteArrayOutputStream.InvocationSessionStoreA base class for iterator filtersA bean that generates an iterator filled with a given object depending on the count, separator and converter defined.Interface for converting each separated token into an Object of choice.Entry in a list.MakeIterator.ValueStacks implementing this interface provide a way to remove block or allow access to properties using regular expressionsA bean that takes several iterators and outputs the merge of them.An implementation of a pattern matcher that uses simple named wildcards.Stores the compiled pattern and the variable names matches will correspond to.An interface to be implemented by any ObjectFactory implementation if it requires shutdown hook whenever an ObjectFactory is to be destroyed.OGNL implementation ofTextParser
Compiles and matches a pattern against a valueQuickly matches a prefix to an object.This class is used to read properties lines.ProxyUtil
Allows regular expressions to be used in action names.Holds a compiled expression to match URLsResolverUtil<T>ResolverUtil is used to locate classes that are available in the/a class path and meet arbitrary conditions.A Test that checks to see if each class is annotated with a specific annotation.A Test that checks to see if each class is assignable to the provided class.A Test that checks to see if each class name ends with the provided suffix.A simple interface that specifies how to test classes to determine if they are to be included in the results produced by the ResolverUtil.A bean that takes a source and comparator then attempt to sort the source utilizing the comparator.Generic test setup methods to be used with any unit testing framework.Struts base utility class, for use in Velocity and Freemarker templatesA bean that takes an iterator and outputs a subset of it.A decider determines if the given element should be added to the list or not.A bean that helps implement a tabbed pane FIXME: use it removeUsed to parse expressions like ${foo.bar} or %{bar.foo} but it is up tp the TextParser's implementation what kind of opening char to use (#, $, %, etc)Utility class for text parsing.A parsed value evaluator forTextParseUtil
.Helper methods to access text from TextProvidersA bean that can be used to time execution of pages FIXME: remove?TokenHelperA bean that can generate a URL.ValueStack allows multiple beans to be pushed in and dynamic EL expressions to be evaluated against it.Factory that creates a value stack, defaulting to the OgnlValueStackFactoryThis class is an utility class that perform wilcard-patterns matching and isolation taken from Apache Cocoon.Helper class to convert wildcard expression to regular expressionGeneric test setup methods to be used with any unit testing framework.