| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.ecf.provider.filetransfer" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appinfo> |
| <meta.schema plugin="org.eclipse.ecf.provider.filetransfer" id="sendFileTransferProtocolFactory" name="sendFileTransferProtocolFactory"/> |
| </appinfo> |
| <documentation> |
| This extension point allows IRetrieveFileTransferFactorys to be defined for given file transfer protocols. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <complexType> |
| <sequence> |
| <element ref="sendFileTransferProtocolFactory" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appinfo> |
| <meta.attribute translatable="true"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="sendFileTransferProtocolFactory"> |
| <annotation> |
| <documentation> |
| Send file transfer protocol factory extention point |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="protocol" type="string" use="required"> |
| <annotation> |
| <documentation> |
| Protocol to define factory for. For example, http, https, ftp, bittorrent, my.favorite.protocol. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The factory class to use for given protocol. Must implement <b>org.eclipse.ecf.filetransfer.service.ISendFileTransferFactory</b> |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.ecf.filetransfer.service.ISendFileTransferFactory"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="priority" type="string"> |
| <annotation> |
| <documentation> |
| Priority relative to other sendFileTransferProtocolFactory extensions. Valid priorities are 0 (highest priority) to 100 (lowest priority). If this optional attribute is not specified, it will automatically be assigned a default priority of 100. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="since"/> |
| </appinfo> |
| <documentation> |
| 1.0.0 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="examples"/> |
| </appinfo> |
| <documentation> |
| <pre> |
| <extension |
| point="org.eclipse.ecf.provider.filetransfer.sendFileTransferProtocolFactory"> |
| <sendFileTransferProtocolFactory |
| class="org.eclipse.ecf.provider.filetransfer.ssh.ScpOutgoingFileTransferFactory" |
| protocol="scp" |
| priority="50"> |
| </sendFileTransferProtocolFactory> |
| </extension> |
| |
| </pre> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="apiInfo"/> |
| </appinfo> |
| <documentation> |
| Here is the <b>org.eclipse.ecf.filetransfer.service.IRetrieveFileTransferFactory</b> |
| |
| <pre> |
| /** |
| * Retrieve file transfer factory. This service interface is used by clients to |
| * create a new IRetrieveFileTransfer instance. |
| */ |
| public interface IRetrieveFileTransferFactory { |
| |
| /** |
| * Get new instance of IRetrieveFileTransfer. |
| * |
| * @return IRetrieveFileTransfer for a given file transfer |
| */ |
| public IRetrieveFileTransfer newInstance(); |
| |
| } |
| </pre> |
| </documentation> |
| </annotation> |
| |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="implementation"/> |
| </appinfo> |
| <documentation> |
| None |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="copyright"/> |
| </appinfo> |
| <documentation> |
| Copyright (c) 2004 Composent, Inc., IBM and others. |
| All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html. Contributors: Composent, Inc. - initial API and implementation, IBM, Inc. - Initial API and implementation |
| </documentation> |
| </annotation> |
| |
| </schema> |