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

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

[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml/Xsl IXsltContextFunction.


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System.Xml/Xsl IXsltContextFunction.cs,NONE,1.1 IXsltContextVariable.cs,NONE,1.1 XsltArgumentList.cs,NONE,1.1 XsltCompileException.cs,NONE,1.1 XsltContext.cs,NONE,1.1 XsltException.cs,NONE,1.1 XslTransform.cs,NONE,1.1
Date: Sun, 08 Jun 2003 06:30:05 -0400

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

Added Files:
        IXsltContextFunction.cs IXsltContextVariable.cs 
        XsltArgumentList.cs XsltCompileException.cs XsltContext.cs 
        XsltException.cs XslTransform.cs 
Log Message:
Stub out Xsl classes


--- NEW FILE ---
/*
 * IXsltContextFunction.cs - Implementation of 
 *                              "System.Xml.Xsl.IXsltContextFunction" interface.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 * 
 * Contributed by Gopal.V 
 *
 * 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
 */

#if !ECMA_COMPAT

using System;
using System.Xml.XPath;

namespace System.Xml.Xsl
{
        public interface IXsltContextFunction
        {
                 Object Invoke(XsltContext xsltContext, Object[] args, 
                                                XPathNavigator docContext);

                 XPathResultType[] ArgTypes { get; }

                 int Maxargs { get; }

                 int Minargs { get; }

                 XPathResultType ReturnType { get; }

        }
}//namespace

#endif

--- NEW FILE ---
/*
 * IXsltContextVariable.cs - Implementation of 
 *                      "System.Xml.Xsl.IXsltContextVariable" interface.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 * 
 * Contributed by Gopal.V 
 *
 * 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
 */

#if !ECMA_COMPAT
using System;
using System.Xml.XPath;

namespace System.Xml.Xsl
{
        public interface IXsltContextVariable
        {
                 Object Evaluate(XsltContext xsltContext);

                 bool IsLocal { get; }

                 bool IsParam { get; }

                 XPathResultType VariableType { get; }

        }
}//namespace
#endif

--- NEW FILE ---
/*
 * XsltArgumentList.cs - Implementation of "System.Xml.Xsl.XsltArgumentList" 
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 * 
 * Contributed by Gopal.V 
 *
 * 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
 */
 
#if !ECMA_COMPAT

using System;
namespace System.Xml.Xsl
{
        public sealed class XsltArgumentList
        {
                [TODO]
                public XsltArgumentList()
                {
                        throw new NotImplementedException(".ctor");
                }

                [TODO]
                public void AddExtensionObject(String namespaceUri, Object 
extension)
                {
                        throw new NotImplementedException("AddExtensionObject");
                }

                [TODO]
                public void AddParam(String name, String namespaceUri, Object 
parameter)
                {
                        throw new NotImplementedException("AddParam");
                }

                [TODO]
                public void Clear()
                {
                        throw new NotImplementedException("Clear");
                }

                [TODO]
                public Object GetExtensionObject(String namespaceUri)
                {
                        throw new NotImplementedException("GetExtensionObject");
                }

                [TODO]
                public Object GetParam(String name, String namespaceUri)
                {
                        throw new NotImplementedException("GetParam");
                }

                [TODO]
                public Object RemoveExtensionObject(String namespaceUri)
                {
                        throw new 
NotImplementedException("RemoveExtensionObject");
                }

                [TODO]
                public Object RemoveParam(String name, String namespaceUri)
                {
                        throw new NotImplementedException("RemoveParam");
                }

        }
}//namespace
#endif

--- NEW FILE ---
/*
 * XsltCompileException.cs - Implementation of 
 *                                      "System.Xml.Xsl.XsltCompileException" 
class.
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 * 
 * Contributed by Gopal.V 
 *
 * 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
 */

#if !ECMA_COMPAT
using System;
using System.Runtime.Serialization;

namespace System.Xml.Xsl
{
        public class XsltCompileException: XsltException
        {
                [TODO]
                public XsltCompileException(Exception inner, String sourceUri, 
                                                                        int 
lineNumber, int linePosition) 
                                                                        : 
base(sourceUri, inner)
                {
                        throw new NotImplementedException(".ctor");
                }

                [TODO]
                public override void GetObjectData(SerializationInfo info, 
                                                                                
        StreamingContext context)
                {
                        throw new NotImplementedException("GetObjectData");
                }

                [TODO]
                public override String Message 
                {
                        get
                        {
                                throw new NotImplementedException("Message");
                        }

                }

        }
}//namespace
#endif

--- NEW FILE ---
/*
 * XsltContext.cs - Implementation of "System.Xml.Xsl.XsltContext" 
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 * 
 * Contributed by Gopal.V 
 *
 * 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
 */

#if !ECMA_COMPAT
using System;
using System.Xml;
using System.Xml.XPath;

namespace System.Xml.Xsl
{
        public abstract class XsltContext: XmlNamespaceManager
        {
                [TODO]
                public XsltContext() : this(new NameTable())
                {
                        throw new NotImplementedException(".ctor");
                }

                [TODO]
                public XsltContext(NameTable table) : base(table)
                {
                        throw new NotImplementedException(".ctor");
                }

                public abstract int CompareDocument(String baseUri, 
                String nextbaseUri);

                public abstract bool PreserveWhitespace(XPathNavigator nav);

                public abstract IXsltContextFunction ResolveFunction(String 
prefix, 
                                                                String name, 
XPathResultType[] ArgTypes);

                public abstract IXsltContextVariable ResolveVariable(String 
prefix, 
                                                                String name);

                public abstract bool Whitespace { get; }

        }
}//namespace
#endif

--- NEW FILE ---
/*
 * XsltException.cs - Implementation of "System.Xml.Xsl.XsltException" 
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 * 
 * Contributed by Gopal.V 
 *
 * 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
 */

#if !ECMA_COMPAT
using System;
using System.Xml.XPath;
using System.Runtime.Serialization;

namespace System.Xml.Xsl
{
        public class XsltException: System.SystemException
        {
                [TODO]
                public XsltException(String message, Exception innerException)
                {
                        throw new NotImplementedException(".ctor");
                }

                [TODO]
                protected XsltException(SerializationInfo info, 
                                                                
StreamingContext context)
                {
                        throw new NotImplementedException(".ctor");
                }

                [TODO]
                public override void GetObjectData(SerializationInfo info, 
                                                                                
        StreamingContext context)
                {
                        throw new NotImplementedException("GetObjectData");
                }

                [TODO]
                public int LineNumber 
                {
                        get
                        {
                                throw new NotImplementedException("LineNumber");
                        }

                }

                [TODO]
                public int LinePosition 
                {
                        get
                        {
                                throw new 
NotImplementedException("LinePosition");
                        }

                }

                [TODO]
                public override String Message 
                {
                        get
                        {
                                throw new NotImplementedException("Message");
                        }

                }

                [TODO]
                public String SourceUri 
                {
                        get
                        {
                                throw new NotImplementedException("SourceUri");
                        }

                }

        }
}//namespace
#endif

--- NEW FILE ---
/*
 * XslTransform.cs - Implementation of "System.Xml.Xsl.XslTransform" 
 *
 * Copyright (C) 2003  Southern Storm Software, Pty Ltd.
 * 
 * Contributed by Gopal.V 
 *
 * 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
 */

#if !ECMA_COMPAT
using System;
using System.IO;
using System.Xml;
using System.Xml.XPath;

namespace System.Xml.Xsl
{
        public sealed class XslTransform
        {
                [TODO]
                public XslTransform()
                {
                        throw new NotImplementedException(".ctor");
                }

                [TODO]
                protected override void Finalize()
                {
                        throw new NotImplementedException("Finalize");
                }

                [TODO]
                public void Load(IXPathNavigable stylesheet)
                {
                        throw new NotImplementedException("Load");
                }

                [TODO]
                public void Load(String url)
                {
                        throw new NotImplementedException("Load");
                }

                [TODO]
                public void Load(XmlReader stylesheet)
                {
                        throw new NotImplementedException("Load");
                }

                [TODO]
                public void Load(XPathNavigator stylesheet)
                {
                        throw new NotImplementedException("Load");
                }

                [TODO]
                public void Load(IXPathNavigable stylesheet, XmlResolver 
resolver)
                {
                        throw new NotImplementedException("Load");
                }

                [TODO]
                public void Load(String url, XmlResolver resolver)
                {
                        throw new NotImplementedException("Load");
                }

                [TODO]
                public void Load(XmlReader stylesheet, XmlResolver resolver)
                {
                        throw new NotImplementedException("Load");
                }

                [TODO]
                public void Load(XPathNavigator stylesheet, XmlResolver 
resolver)
                {
                        throw new NotImplementedException("Load");
                }

                [TODO]
                public XmlReader Transform(IXPathNavigable input, 
XsltArgumentList args)
                {
                        throw new NotImplementedException("Transform");
                }

                [TODO]
                public void Transform(String inputfile, String outputfile)
                {
                        throw new NotImplementedException("Transform");
                }

                [TODO]
                public XmlReader Transform(XPathNavigator input, 
XsltArgumentList args)
                {
                        throw new NotImplementedException("Transform");
                }

                [TODO]
                public void Transform(IXPathNavigable input, XsltArgumentList 
args, 
                                                                Stream output)
                {
                        throw new NotImplementedException("Transform");
                }

                [TODO]
                public void Transform(IXPathNavigable input, XsltArgumentList 
args, 
                                                                TextWriter 
output)
                {
                        throw new NotImplementedException("Transform");
                }

                [TODO]
                public void Transform(IXPathNavigable input, XsltArgumentList 
args, 
                                                                XmlWriter 
output)
                {
                        throw new NotImplementedException("Transform");
                }

                [TODO]
                public void Transform(XPathNavigator input, XsltArgumentList 
args, 
                                                                Stream output)
                {
                        throw new NotImplementedException("Transform");
                }

                [TODO]
                public void Transform(XPathNavigator input, XsltArgumentList 
args, 
                                                                TextWriter 
output)
                {
                        throw new NotImplementedException("Transform");
                }

                [TODO]
                public void Transform(XPathNavigator input, XsltArgumentList 
args, 
                                                                XmlWriter 
output)
                {
                        throw new NotImplementedException("Transform");
                }

                [TODO]
                public XmlResolver XmlResolver 
                {
                        set
                        {
                                throw new 
NotImplementedException("XmlResolver");
                        }
                }
        }
}//namespace
#endif





reply via email to

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