1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00
2011-03-22 08:50:05 +01:00

146 lines
4.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
This file is
Copyright 2007,2008,2009,2010 Rustici Software, LLC
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
-->
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
<Imports>
<Import>java.util.Hashtable</Import>
</Imports>
<Java>Hashtable</Java>
<Name>System.Collections.Hashtable</Name>
<Uses />
<Inherits>
<Type>System.Collections.ICollection</Type>
<Type>System.Collections.IDictionary</Type>
</Inherits>
<Iterable>
<ElementType>System.Object</ElementType>
<Java>${expr}.entrySet()</Java>
</Iterable>
<Methods>
<Method>
<Imports />
<Java>${this:16}.put(${key}, ${value})</Java>
<Params>
<Param>
<Type>System.Object</Type>
<Name>key</Name>
</Param>
<Param>
<Type>System.Object</Type>
<Name>value</Name>
</Param>
</Params>
<Name>Add</Name>
<Return>System.Int32</Return>
</Method>
<Method>
<Imports />
<Java>${this:16}.containsKey(${key})</Java>
<Params>
<Param>
<Type>System.Object</Type>
<Name>key</Name>
</Param>
</Params>
<Name>Contains</Name>
<Return>System.Boolean</Return>
</Method>
<Method>
<Imports />
<Java>${this:16}.containsKey(${key})</Java>
<Params>
<Param>
<Type>System.Object</Type>
<Name>key</Name>
</Param>
</Params>
<Name>ContainsKey</Name>
<Return>System.Boolean</Return>
</Method>
</Methods>
<Properties>
<Property>
<Imports />
<Java>${this:16}.size()</Java>
<Type>System.Int32</Type>
<Name>Count</Name>
<Get>${this:16}.size()</Get>
<Set>${this:16}.setCount(${value})</Set>
</Property>
<Property>
<Imports />
<Java>${this:16}.keySet()</Java>
<Type>System.Collections.ICollection</Type>
<Name>Keys</Name>
<Get>${this:16}.keySet()</Get>
<Set>${this:16}.setKeys(${value})</Set>
</Property>
<Property>
<Imports />
<Java>${this:16}.values()</Java>
<Type>System.Collections.ICollection</Type>
<Name>Values</Name>
<Get>${this:16}.values()</Get>
<Set>${this:16}.setValues(${value})</Set>
</Property>
</Properties>
<Events />
<Indexers>
<Indexer>
<Imports />
<Params>
<Param>
<Type>System.Object</Type>
<Name>key</Name>
</Param>
</Params>
<Type>System.Object</Type>
<Get>${this:16}.get(${key})</Get>
<Set>${this:16}.put(${key}, ${value})</Set>
</Indexer>
</Indexers>
<Constructors>
<Constructor>
<Imports>
<Import>java.util.Hashtable</Import>
</Imports>
<Java>new Hashtable()</Java>
<Params />
</Constructor>
<Constructor>
<Imports>
<Import>java.util.Hashtable</Import>
</Imports>
<Java>new Hashtable(${length})</Java>
<Params>
<Param>
<Type>System.Int32</Type>
<Name>length</Name>
</Param>
</Params>
</Constructor>
<Constructor>
<Imports>
<Import>java.util.Hashtable</Import>
</Imports>
<Java>new Hashtable(${collection})</Java>
<Params>
<Param>
<Type>System.ICollection</Type>
<Name>collection</Name>
</Param>
</Params>
</Constructor>
</Constructors>
<Fields />
<Casts />
<UnaryOps />
<BinaryOps />
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>CyFYJRPJJJC+BdPe7KI/hR0PeK0=</DigestValue></Reference></SignedInfo><SignatureValue>AZ0nzp3rrggsT6CxfIFTSUcr4RAH6yv8sF0m4OyMKEbB5O3fQOW/deSIwBbOVykX520B7mewcEVGxCAa5z3QgAdADC59gYCcudG+pkifY7ltivIClVuT105fBvAxGkRO0Mh+EWqRgFJnxt/x7/ujMj/Q0kiOBYWHQlK7I+Uvugk=</SignatureValue></Signature></Class>