/[classpath]/classpath/javax/swing/text/html/HTML.java
ViewVC logotype

Diff of /classpath/javax/swing/text/html/HTML.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by abalkiss, Wed Sep 21 20:30:38 2005 UTC revision 1.7 by abalkiss, Thu Sep 22 14:40:43 2005 UTC
# Line 945  public class HTML Line 945  public class HTML
945       * This tag is not included into the array, returned by getAllTags().       * This tag is not included into the array, returned by getAllTags().
946       * toString() returns 'comment'. HTML reader synthesizes this tag.       * toString() returns 'comment'. HTML reader synthesizes this tag.
947       */       */
948      public static final Tag COMMENT = new Tag("comment", SYNTETIC);      public static final Tag COMMENT = new Tag("comment", SYNTHETIC);
949    
950      /**      /**
951       *  All text content is labeled with this tag.       *  All text content is labeled with this tag.
952       *  This tag is not included into the array, returned by getAllTags().       *  This tag is not included into the array, returned by getAllTags().
953       *  toString() returns 'content'. HTML reader synthesizes this tag.       *  toString() returns 'content'. HTML reader synthesizes this tag.
954       */       */
955      public static final Tag CONTENT = new Tag("content", SYNTETIC);      public static final Tag CONTENT = new Tag("content", SYNTHETIC);
956    
957      /**      /**
958       * All text content must be in a paragraph element.       * All text content must be in a paragraph element.
959       * If a paragraph didn't exist when content was encountered,       * If a paragraph didn't exist when content was encountered,
960       * a paragraph is manufactured.       * a paragraph is manufactured.
961       * toString() returns 'implied'. HTML reader synthesizes this tag.       * toString() returns 'p-implied'. HTML reader synthesizes this tag.
962       */       */
963      public static final Tag IMPLIED = new Tag("p-implied", SYNTETIC);      public static final Tag IMPLIED = new Tag("p-implied", SYNTHETIC);
964      final String name;      final String name;
965      final int flags;      final int flags;
966    
# Line 1144  public class HTML Line 1144  public class HTML
1144       */       */
1145      boolean isSyntetic()      boolean isSyntetic()
1146      {      {
1147        return (flags & SYNTETIC) != 0;        return (flags & SYNTHETIC) != 0;
1148      }      }
1149    
1150      private static void unexpected(Exception ex)      private static void unexpected(Exception ex)
# Line 1185  public class HTML Line 1185  public class HTML
1185    static final int BREAKS = 1;    static final int BREAKS = 1;
1186    static final int BLOCK = 2;    static final int BLOCK = 2;
1187    static final int PREFORMATTED = 4;    static final int PREFORMATTED = 4;
1188    static final int SYNTETIC = 8;    static final int SYNTHETIC = 8;
1189    private static Map tagMap;    private static Map tagMap;
1190    private static Map attrMap;    private static Map attrMap;
1191    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26