SerializerConstants.java revision 1133:2fdbfbde3bc0
1/* 2 * reserved comment block 3 * DO NOT REMOVE OR ALTER! 4 */ 5/* 6 * Licensed to the Apache Software Foundation (ASF) under one or more 7 * contributor license agreements. See the NOTICE file distributed with 8 * this work for additional information regarding copyright ownership. 9 * The ASF licenses this file to You under the Apache License, Version 2.0 10 * (the "License"); you may not use this file except in compliance with 11 * the License. You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, software 16 * distributed under the License is distributed on an "AS IS" BASIS, 17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 * See the License for the specific language governing permissions and 19 * limitations under the License. 20 */ 21 22package com.sun.org.apache.xml.internal.serializer; 23 24/** 25 * Constants used in serialization, such as the string "xmlns" 26 * @xsl.usage internal 27 */ 28interface SerializerConstants 29{ 30 31 /** To insert ]]> in a CDATA section by ending the last CDATA section with 32 * ]] and starting the next CDATA section with > 33 */ 34 static final String CDATA_CONTINUE = "]]]]><![CDATA[>"; 35 /** 36 * The constant "]]>" 37 */ 38 static final String CDATA_DELIMITER_CLOSE = "]]>"; 39 static final String CDATA_DELIMITER_OPEN = "<![CDATA["; 40 41 static final String EMPTYSTRING = ""; 42 43 static final String ENTITY_AMP = "&"; 44 static final String ENTITY_CRLF = "
"; 45 static final String ENTITY_GT = ">"; 46 static final String ENTITY_LT = "<"; 47 static final String ENTITY_QUOT = """; 48 49 static final String XML_PREFIX = "xml"; 50 static final String XMLNS_PREFIX = "xmlns"; 51 static final String XMLNS_URI = "http://www.w3.org/2000/xmlns/"; 52 53 public static final String DEFAULT_SAX_SERIALIZER="com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler"; 54 55 /** 56 * Define the XML version. 57 */ 58 static final String XMLVERSION11 = "1.1"; 59 static final String XMLVERSION10 = "1.0"; 60} 61