添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Creates intermediate elements of the path by invoking an AbstractFactory, which should first be installed on the context by calling "setFactory". Pointer createPathAndSetValue ( JXPathContext context, java.lang.Object value) The same as setValue, except it creates intermediate elements of the path by invoking an AbstractFactory, which should first be installed on the context by calling "setFactory". protected Expression getExpression () public java.lang.Object getValue ( JXPathContext context)
Description copied from interface: CompiledExpression
Evaluates the xpath and returns the resulting object. Primitive types are wrapped into objects.
Specified by:
getValue in interface CompiledExpression
See Also:
CompiledExpression.getValue(JXPathContext)
Description copied from interface: CompiledExpression
Evaluates the xpath, converts the result to the specified class and returns the resulting object.
Specified by:
getValue in interface CompiledExpression
See Also:
CompiledExpression.getValue(JXPathContext, Class)
Description copied from interface: CompiledExpression
Modifies the value of the property described by the supplied xpath. Will throw an exception if one of the following conditions occurs:
  • The xpath does not in fact describe an existing property
  • The property is not writable (no public, non-static set method)
    Specified by:
    setValue in interface CompiledExpression
    See Also:
    CompiledExpression.setValue(JXPathContext, Object)
    public Pointer createPath ( JXPathContext context)
    Description copied from interface: CompiledExpression
    Creates intermediate elements of the path by invoking an AbstractFactory, which should first be installed on the context by calling "setFactory".
    Specified by:
    createPath in interface CompiledExpression
    See Also:
    CompiledExpression.createPath(JXPathContext)
    Description copied from interface: CompiledExpression
    The same as setValue, except it creates intermediate elements of the path by invoking an AbstractFactory, which should first be installed on the context by calling "setFactory". Will throw an exception if one of the following conditions occurs:
  • Elements of the xpath aleady exist, by the path does not in fact describe an existing property
  • The AbstractFactory fails to create an instance for an intermediate element.
  • The property is not writable (no public, non-static set method)
    Specified by:
    createPathAndSetValue in interface CompiledExpression
    See Also:
    CompiledExpression.createPathAndSetValue(JXPathContext, Object)
    public java.util.Iterator iterate ( JXPathContext context)
    Description copied from interface: CompiledExpression
    Traverses the xpath and returns a Iterator of all results found for the path. If the xpath matches no properties in the graph, the Iterator will not be null.
    Specified by:
    iterate in interface CompiledExpression
    See Also:
    CompiledExpression.iterate(JXPathContext)
    Description copied from interface: CompiledExpression
    Traverses the xpath and returns a Pointer. A Pointer provides easy access to a property. If the xpath matches no properties in the graph, the pointer will be null.
    Specified by:
    getPointer in interface CompiledExpression
    See Also:
    CompiledExpression.getPointer(JXPathContext, String)
    public java.util.Iterator iteratePointers ( JXPathContext context)
    Description copied from interface: CompiledExpression
    Traverses the xpath and returns an Iterator of Pointers. A Pointer provides easy access to a property. If the xpath matches no properties in the graph, the Iterator be empty, but not null.
    Specified by:
    iteratePointers in interface CompiledExpression
    See Also:
    CompiledExpression.iteratePointers(JXPathContext)
    public void removePath ( JXPathContext context)
    Description copied from interface: CompiledExpression
    Remove the graph element described by this expression
    Specified by:
    removePath in interface CompiledExpression
    See Also:
    CompiledExpression.removePath(JXPathContext)
    public void removeAll ( JXPathContext context)
    Description copied from interface: CompiledExpression
    Remove all graph elements described by this expression
    Specified by:
    removeAll in interface CompiledExpression
    See Also:
    CompiledExpression.removeAll(JXPathContext)
  •