Class XMLChecker


  • public final class XMLChecker
    extends Object
    Utility class that provides XML checking functionality.
    Since:
    xmlenc 0.41
    Version:
    $Revision: 1.11 $ $Date: 2005/09/12 08:40:02 $
    Author:
    Ernst de Haan (wfe.dehaan@gmail.com)
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void checkName​(char[] ch, int start, int length)
      Checks if the specified part of a character array matches the Name production.
      static void checkName​(String s)
      Checks if the specified string matches the Name production.
      static void checkPubidLiteral​(char[] ch, int start, int length)
      Checks if the specified part of a character array matches the PubidLiteral production.
      static void checkPubidLiteral​(String s)
      Checks if the specified string matches the PubidLiteral production.
      static void checkS​(char[] ch, int start, int length)
      Checks if the specified part of a character array matches the S (white space) production.
      static void checkS​(String s)
      Checks if the specified string matches the S (white space) production.
      static void checkSystemLiteral​(char[] ch, int start, int length)
      Checks if the specified part of a character array matches the SystemLiteral production.
      static void checkSystemLiteral​(String s)
      Checks if the specified string matches the SystemLiteral production.
      static boolean isName​(String s)
      Determines if the specified string matches the Name production.
      static boolean isPubidLiteral​(String s)
      Determines if the specified string matches the PubidLiteral production.
      static boolean isSystemLiteral​(String s)
      Determines if the specified string matches the SystemLiteral production.