| /*************************************************************************************************** |
| * Copyright (c) 2005 Eteration A.S. 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: Eteration A.S. - initial API and implementation |
| **************************************************************************************************/ |
| package org.eclipse.jst.j2ee.xdoclet.runtime.internal.server; |
| |
| import org.eclipse.core.runtime.IStatus; |
| import org.eclipse.core.runtime.Status; |
| import org.eclipse.jst.j2ee.xdoclet.runtime.internal.XDocletTaskProviderImpl; |
| |
| public class JonasEjbdocletTaskProvider extends XDocletTaskProviderImpl { |
| |
| public static String NAMESPACE = "ejbdoclet.jonas."; |
| |
| public String getTask() { |
| StringBuffer buffer = new StringBuffer(256); |
| buffer.append("<jonas "); |
| buildAttributes(buffer); |
| buffer.append(" />"); |
| return buffer.toString(); |
| } |
| |
| public String getNamespace() { |
| return NAMESPACE; |
| } |
| |
| public IStatus validate() { |
| return Status.OK_STATUS; |
| } |
| } |