dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnetlib/System.Xml IXmlNamespaceResolver.cs, NONE,


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnetlib/System.Xml IXmlNamespaceResolver.cs, NONE, 1.1 XmlNamespaceScope.cs, NONE, 1.1
Date: Thu, 27 Nov 2003 07:30:42 +0000

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Xml
In directory subversions:/tmp/cvs-serv26648/System.Xml

Added Files:
        IXmlNamespaceResolver.cs XmlNamespaceScope.cs 
Log Message:


Add some framework 1.2 types to "System.Xml" that are needed by "ml-pnet".


--- NEW FILE: IXmlNamespaceResolver.cs ---
/*
 * IXmlNamespaceResolver.cs - Implementation of the
 *              "System.Xml.IXmlNamespaceResolver" class.
 *
 * Copyright (C) 2003 Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
namespace System.Xml
{

#if CONFIG_FRAMEWORK_1_2

using System.Collections.Specialized;

public interface IXmlNamespaceResolver
{
        XmlNameTable NameTable { get; }
        StringDictionary GetNamespacesInScope(XmlNamespaceScope scope);
        String LookupNamespace(String prefix);
        String LookupNamespace(String prefix, bool atomizedName);
        String LookupPrefix(String ns);
        String LookupPrefix(String ns, bool atomizedName);

}; // interface IXmlNamespaceResolver

#endif // CONFIG_FRAMEWORK_1_2

}; // namespace System.Xml

--- NEW FILE: XmlNamespaceScope.cs ---
/*
 * XmlNamespaceScope.cs - Implementation of the
 *              "System.Xml.XmlNamespaceScope" class.
 *
 * Copyright (C) 2003 Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
namespace System.Xml
{

#if CONFIG_FRAMEWORK_1_2

public enum XmlNamespaceScope
{
        All                             = 0,
        ExcludeXml              = 1,
        Local                   = 2

}; // enum XmlNamespaceScope

#endif // CONFIG_FRAMEWORK_1_2

}; // namespace System.Xml





reply via email to

[Prev in Thread] Current Thread [Next in Thread]