001/* 002 * Licensed to the Apache Software Foundation (ASF) under one 003 * or more contributor license agreements. See the NOTICE file 004 * distributed with this work for additional information 005 * regarding copyright ownership. The ASF licenses this file 006 * to you under the Apache License, Version 2.0 (the 007 * "License"); you may not use this file except in compliance 008 * with the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, 013 * software distributed under the License is distributed on an 014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 015 * KIND, either express or implied. See the License for the 016 * specific language governing permissions and limitations 017 * under the License. 018 */ 019package org.apache.maven.doxia.markup; 020 021/** 022 * List of constants used by <code>Xml</code> markup syntax. 023 * 024 * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a> 025 * @since 1.0 026 */ 027@SuppressWarnings("checkstyle:interfaceistype") 028public interface XmlMarkup extends Markup { 029 /** XML namespace: "http://www.w3.org/2001/XMLSchema-instance" */ 030 String XML_NAMESPACE = "http://www.w3.org/2001/XMLSchema-instance"; 031 032 // ---------------------------------------------------------------------- 033 // Xml separator characters 034 // ---------------------------------------------------------------------- 035 036 /** bang character: '!' */ 037 char BANG = '!'; 038 039 // ---------------------------------------------------------------------- 040 // Xml constants 041 // ---------------------------------------------------------------------- 042 043 /** CDATA. String: "CDATA". */ 044 String CDATA = "CDATA"; 045 046 /** DOCTYPE start. String: "<!DOCTYPE". */ 047 String DOCTYPE_START = "<!DOCTYPE"; 048 049 /** ENTITY start. String: "<!ENTITY". */ 050 String ENTITY_START = "<!ENTITY"; 051}