Beispiel #1
0
			//    TODO    Where is this class used?  No longer using it in QName implementation
			internal static Rhino.Xmlimpl.XmlNode.QName Create(Rhino.Xmlimpl.XmlNode.Namespace @namespace, string localName)
			{
				//    A null namespace indicates a wild-card match for any namespace
				//    A null localName indicates "*" from the point of view of ECMA357
				if (localName != null && localName.Equals("*"))
				{
					throw new Exception("* is not valid localName");
				}
				Rhino.Xmlimpl.XmlNode.QName rv = new Rhino.Xmlimpl.XmlNode.QName();
				rv.@namespace = @namespace;
				rv.localName = localName;
				return rv;
			}
Beispiel #2
0
		//    TODO    Should be XMLObjectImpl, XMLName?
		internal virtual void SetTargets(XMLObjectImpl @object, Rhino.Xmlimpl.XmlNode.QName property)
		{
			targetObject = @object;
			targetProperty = property;
		}