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