SetTargets() private méthode

private SetTargets ( XMLObjectImpl @object, Rhino property ) : void
@object XMLObjectImpl
property Rhino
Résultat void
Exemple #1
0
		internal virtual XMLList MatchDescendantChildren(XMLList rv, XML target)
		{
			rv.SetTargets(target, null);
			AddDescendantChildren(rv, target);
			return rv;
		}
Exemple #2
0
		internal virtual void AddMatches(XMLList rv, XML target)
		{
			if (IsDescendants())
			{
				AddDescendants(rv, target);
			}
			else
			{
				if (IsAttributeName())
				{
					AddAttributes(rv, target);
				}
				else
				{
					XML[] children = target.GetChildren();
					if (children != null)
					{
						for (int i = 0; i < children.Length; i++)
						{
							if (this.Matches(children[i]))
							{
								rv.AddToList(children[i]);
							}
						}
					}
					rv.SetTargets(target, this.ToQname());
				}
			}
		}
Exemple #3
0
		internal virtual XMLList MatchDescendantAttributes(XMLList rv, XML target)
		{
			rv.SetTargets(target, null);
			AddDescendantAttributes(rv, target);
			return rv;
		}