6
|
1 |
/*
|
|
2 |
* reserved comment block
|
|
3 |
* DO NOT REMOVE OR ALTER!
|
|
4 |
*/
|
|
5 |
/*
|
|
6 |
* Copyright 1999-2004 The Apache Software Foundation.
|
|
7 |
*
|
|
8 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9 |
* you may not use this file except in compliance with the License.
|
|
10 |
* You may obtain a copy of the License at
|
|
11 |
*
|
|
12 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13 |
*
|
|
14 |
* Unless required by applicable law or agreed to in writing, software
|
|
15 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17 |
* See the License for the specific language governing permissions and
|
|
18 |
* limitations under the License.
|
|
19 |
*/
|
|
20 |
/*
|
|
21 |
* $Id: PsuedoNames.java,v 1.1.2.1 2005/08/01 01:30:33 jeffsuttor Exp $
|
|
22 |
*/
|
|
23 |
package com.sun.org.apache.xpath.internal.compiler;
|
|
24 |
|
|
25 |
/**
|
|
26 |
* This is used to represent names of nodes that may not be named, like a
|
|
27 |
* comment node.
|
|
28 |
*/
|
|
29 |
public class PsuedoNames
|
|
30 |
{
|
|
31 |
|
|
32 |
/**
|
|
33 |
* Psuedo name for a wild card pattern ('*').
|
|
34 |
*/
|
|
35 |
public static final String PSEUDONAME_ANY = "*";
|
|
36 |
|
|
37 |
/**
|
|
38 |
* Psuedo name for the root node.
|
|
39 |
*/
|
|
40 |
public static final String PSEUDONAME_ROOT = "/";
|
|
41 |
|
|
42 |
/**
|
|
43 |
* Psuedo name for a text node.
|
|
44 |
*/
|
|
45 |
public static final String PSEUDONAME_TEXT = "#text";
|
|
46 |
|
|
47 |
/**
|
|
48 |
* Psuedo name for a comment node.
|
|
49 |
*/
|
|
50 |
public static final String PSEUDONAME_COMMENT = "#comment";
|
|
51 |
|
|
52 |
/**
|
|
53 |
* Psuedo name for a processing instruction node.
|
|
54 |
*/
|
|
55 |
public static final String PSEUDONAME_PI = "#pi";
|
|
56 |
|
|
57 |
/**
|
|
58 |
* Psuedo name for an unknown type value.
|
|
59 |
*/
|
|
60 |
public static final String PSEUDONAME_OTHER = "*";
|
|
61 |
}
|