| /* |
| * reserved comment block |
| * DO NOT REMOVE OR ALTER! |
| */ |
| /* |
| * 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. |
| */ |
| |
| package com.sun.org.apache.xalan.internal.xsltc.runtime; |
| |
| import com.sun.org.apache.xml.internal.dtm.DTM; |
| |
| /** |
| * This class defines constants used by both the compiler and the |
| * runtime system. |
| * @author Jacek Ambroziak |
| * @author Santiago Pericas-Geertsen |
| */ |
| public interface Constants { |
| |
| final static int ANY = -1; |
| final static int ATTRIBUTE = -2; |
| final static int ROOT = DTM.ROOT_NODE; |
| final static int TEXT = DTM.TEXT_NODE; |
| final static int ELEMENT = DTM.ELEMENT_NODE; |
| final static int COMMENT = DTM.COMMENT_NODE; |
| final static int PROCESSING_INSTRUCTION = DTM.PROCESSING_INSTRUCTION_NODE; |
| |
| public static final String XSLT_URI = "http://www.w3.org/1999/XSL/Transform"; |
| public static final String NAMESPACE_FEATURE = |
| "http://xml.org/sax/features/namespaces"; |
| |
| public static final String EMPTYSTRING = ""; |
| public static final String XML_PREFIX = "xml"; |
| public static final String XMLNS_PREFIX = "xmlns"; |
| public static final String XMLNS_STRING = "xmlns:"; |
| public static final String XMLNS_URI = "http://www.w3.org/2000/xmlns/"; |
| } |