001/* 002 * ModeShape (http://www.modeshape.org) 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.modeshape.sequencer.xml; 017 018import static org.modeshape.sequencer.xml.XmlLexicon.Namespace.PREFIX; 019 020/** 021 * Lexicon of names for XML concepts. 022 */ 023public class XmlLexicon { 024 025 public static class Namespace { 026 public static final String URI = "http://www.modeshape.org/xml/1.0"; 027 public static final String PREFIX = "modexml"; 028 } 029 030 public static final String CDATA = PREFIX + ":cData"; 031 public static final String CDATA_CONTENT = PREFIX + ":cDataContent"; 032 public static final String COMMENT = PREFIX + ":comment"; 033 public static final String COMMENT_CONTENT = PREFIX + ":commentContent"; 034 public static final String DOCUMENT = PREFIX + ":document"; 035 public static final String ELEMENT = PREFIX + ":element"; 036 public static final String ELEMENT_CONTENT = PREFIX + ":elementContent"; 037 public static final String PROCESSING_INSTRUCTION = PREFIX + ":processingInstruction"; 038 public static final String PROCESSING_INSTRUCTION_CONTENT = PREFIX + ":processingInstructionContent"; 039 public static final String TARGET = PREFIX + ":target"; 040}