Represents a RanoreXPath.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class RxPath : ICloneable, IComparable<RxPath>
<SerializableAttribute> _ Public Class RxPath _ Implements ICloneable, IComparable(Of RxPath)
[SerializableAttribute] public ref class RxPath : ICloneable, IComparable<RxPath^>
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| RxPath(String) |
Creates a new RanoreXPath instance, using the supplied path.
| |
| BuildElementPath(Element, Element, PathBuildMode) |
Builds a RanoreXPath for a given element.
| |
| ChangePrefix(RxPath, RxPath, RxPath) |
Changes a given prefix of an RxPath to a new prefix.
| |
| Clone()()() |
Creates a clone of the path.
| |
| CompareTo(RxPath) |
Compares the current path with another path.
| |
| Concat(RxPath, RxPath) |
Concatenates two paths.
| |
| ConvertToCanonicalAndChain(IList<(Of <(IPredicate>)>)) |
Returns a list of predicates iff the preds can be represented
as a flat list of predicates.
| |
| DataProvider |
The data provider to use for resolving variables.
| |
| DefaultSearchTimeout |
The timeout used when elements are searched by assigning a path
to an element variable (implicit cast operator).
| |
| Equality(RxPath, RxPath) |
Implements the operator ==.
| |
| Equals(Object) |
Compares an RxPath to an object.
(Overrides Object.Equals(Object).) | |
| ExtractCommonPrefix(IList<(Of <(RxPath>)>)) |
Extracts the longest common prefix from a list of RxPaths.
| |
| Finalize()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCapabilityForTailNodeTest()()() |
Map the RxPath nodetest name expression to a capability.
| |
| GetHashCode()()() |
Calculates a hash value for the RxPath.
(Overrides Object.GetHashCode()()().) | |
| GetParentPath(RxPath) |
Returns a path which applies to parent elements of an element with the specified path.
| |
| GetPrefixPath(RxPath, Int32) |
Returns a path with the specified number of prefix steps
| |
| GetRxPathTokens(String, Boolean%, String%, Int32%) |
Gets the tokens which form an RxPath.
| |
| GetType()()() | Gets the type of the current instance. (Inherited from Object.) | |
| Implicit(String) |
Implicitly converts a String to an RxPath.
| |
| Inequality(RxPath, RxPath) |
Implements the operator !=.
| |
| Invert(RxPath) |
Inverts the specified path.
| |
| IsAbsolute |
Gets or sets a value indicating whether this instance is absolute.
| |
| IsPrefixOf(RxPath) |
Determines whether the path is a prefix of the specified path.
| |
| IsSimilar(RxPath, RxPath, Int32%, IDataProvider) |
Determines whether two paths are similar.
Per definition, paths are similar if they could yield an intersecting set of result elements.
| |
| Length |
The number of location steps contained in the RxPath.
| |
| LocationSteps |
Gets or sets the location steps of this path.
| |
| MaxMatchTextLen |
The maximum length to use for attribute values that have a TruncationLength
of -1 when building paths. Longer attribute values are truncated using regular expressions.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemovePrefix(RxPath, RxPath, Boolean) |
Removes a given prefix from a specific path. If the prefix is not a prefix of the specified path, the path is returned unmodified.
| |
| Root |
Represents the RxPath for the root element.
| |
| ToResolvedString()()() |
Converts the RxPath to its string representation, with the variables resolved to their current values.
| |
| ToString()()() |
Converts the RxPath to its string representation.
(Overrides Object.ToString()()().) | |
| ToStringSteps()()() |
Creates a list of strings where each location step in the RxPath corresponds to one string.
| |
| TryCreate(String, RxPath%) |
Tries to create an RxPath instance.
|
RanoreXPath is modeled after W3C XPath and allows easy
identification/searching/filtering of web elements and navigation in web documents.
For detailed usage, please refer to the user guide and to the RanoreXPath examples.
| Object | |
| RxPath | |
