All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.maven.doxia.module.fml.FmlMarkup Maven / Gradle / Ivy

Go to download

A Doxia module for FML source documents. FML format is only supported as source format.

There is a newer version: 2.0.0
Show newest version
package org.apache.maven.doxia.module.fml;

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

import javax.swing.text.html.HTML.Tag;

import org.apache.maven.doxia.markup.HtmlMarkup;

/**
 * List of FML markups.
 * 
* FML uses several {@link javax.swing.text.html.HTML.Tag} and {@link javax.swing.text.html.HTML.Attribute} * as markups and custom tags. * * @author ltheussl * @version $Id: FmlMarkup.java 784718 2009-06-15 10:28:18Z vsiveton $ * @since 1.0 */ public interface FmlMarkup extends HtmlMarkup { /** FML namespace: "http://maven.apache.org/FML/1.0.1" */ String FML_NAMESPACE = "http://maven.apache.org/FML/1.0.1"; /** FML system id: "http://maven.apache.org/xsd/fml-1.0.1.xsd" */ String FML_SYSTEM_ID = "http://maven.apache.org/xsd/fml-1.0.1.xsd"; // ---------------------------------------------------------------------- // Specific Fml tags // ---------------------------------------------------------------------- /** Fml tag for faqs */ Tag FAQS_TAG = new Tag() { /** {@inheritDoc} */ public String toString() { return "faqs"; } }; /** Fml tag for part */ Tag PART_TAG = new Tag() { /** {@inheritDoc} */ public String toString() { return "part"; } }; /** Fml tag for faq */ Tag FAQ_TAG = new Tag() { /** {@inheritDoc} */ public String toString() { return "faq"; } }; /** Fml tag for question */ Tag QUESTION_TAG = new Tag() { /** {@inheritDoc} */ public String toString() { return "question"; } }; /** Fml tag for answer */ Tag ANSWER_TAG = new Tag() { /** {@inheritDoc} */ public String toString() { return "answer"; } }; /** Fml tag for source */ Tag SOURCE_TAG = new Tag() { /** {@inheritDoc} */ public String toString() { return "source"; } }; /** * Fml tag for macro * @since 1.1.1 */ Tag MACRO_TAG = new Tag() { /** {@inheritDoc} */ public String toString() { return "macro"; } }; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy