Package org.apache.commons.jxpath
Public, abstract part of JXPath: interfaces and configuration.
If you are a user of JXPath and don't plan to modify its implementation,
this is the only package you'll need to use.
Start with the
JXPathContext class.-
Interface Summary Interface Description CompiledExpression Represents a compiled XPath.Container A Container is an object implementing an indirection mechanism transparent to JXPath.DynamicPropertyHandler A generic mechanism for accessing collections of name/value pairs.ExpressionContext If an extenstion function has an argument of type ExpressionContext, it can gain access to the current node of an XPath expression context.ExtendedKeyManager More complete implementation for the XPath"key()"function.Function Extension function interface.Functions A group of Function objects sharing a common namespace or a set of common namespaces.IdentityManager A delegate ofJXPathContextthat implements the XPath"id()"function.JXPathBeanInfo JXPathBeanInfo is similar toBeanInfoin that it describes properties of a JavaBean class.KeyManager A delegate ofJXPathContextthat implements the XPath"key()"function.NodeSet NodeSet interface can be used as the type of an argument of an extension function.Pointer Pointers represent locations of objects and their properties in Java object graphs.Variables Variables provide access to a global set of values accessible via XPath. -
Class Summary Class Description AbstractFactory TheJXPathContext.createPath()method of JXPathContext can create missing objects as it traverses an XPath; it utilizes an AbstractFactory for that purpose.BasicNodeSet A simple implementation ofNodeSetthat behaves as a collection of pointers.BasicVariables A basic implementation of the Variables interface that uses a HashMap.ClassFunctions Extension functions provided by a Java class.FunctionLibrary An object that aggregatesFunctionsobjects into a group Functions object.JXPathBasicBeanInfo An implementation of JXPathBeanInfo based on JavaBeans' BeanInfo.JXPathContext JXPathContext provides APIs for the traversal of graphs of JavaBeans using the XPath syntax.JXPathContextFactory Defines a factory API that enables applications to obtain aJXPathContextinstance.JXPathIntrospector JXPathIntrospector maintains a registry ofJXPathBeanInfoobjects for Java classes.MapDynamicPropertyHandler Implements the DynamicPropertyHandler interface forMap.PackageFunctions Extension functions provided by Java classes.XMLDocumentContainer Deprecated. 1.1 Please useDocumentContainer -
Exception Summary Exception Description JXPathAbstractFactoryException Thrown when anAbstractFactorycannot generate an object for the requested path.JXPathException Thrown in various situations by JXPath; may contain a nested exception.JXPathFunctionNotFoundException Thrown when JXPath encounters an unknown extension function.JXPathInvalidAccessException Similary toInvocationTargetExceptionin that it is thrown when JXPath cannot access properties, collection etc on the target object model.JXPathInvalidSyntaxException Thrown when JXPath cannot parse a supplied XPath.JXPathNotFoundException Thrown when JXPath cannot find a requested path.JXPathTypeConversionException Thrown when JXPath cannot convert supplied value to the required type. -
Error Summary Error Description JXPathContextFactoryConfigurationError Thrown when a problem with configuration with theJXPathContextFactoriesexists.