Home | History | Annotate | Download | only in tagsoup
      1 // This file is part of TagSoup and is Copyright 2002-2008 by John Cowan.
      2 //
      3 // TagSoup is licensed under the Apache License,
      4 // Version 2.0.  You may obtain a copy of this license at
      5 // http://www.apache.org/licenses/LICENSE-2.0 .  You may also have
      6 // additional legal rights not granted by this license.
      7 //
      8 // TagSoup is distributed in the hope that it will be useful, but
      9 // unless required by applicable law or agreed to in writing, TagSoup
     10 // is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
     11 // OF ANY KIND, either express or implied; not even the implied warranty
     12 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     13 //
     14 //
     15 // Defines models for HTMLSchema
     16 
     17 /**
     18 This interface contains generated constants representing HTML content
     19 models.  Logically, it is part of HTMLSchema, but it is more
     20 convenient to generate the constants into a separate interface.
     21 */
     22 
     23 package org.ccil.cowan.tagsoup;
     24 public interface HTMLModels {
     25 
     26 	// Start of model definitions
     27 		public static final int M_AREA = 1 << 1;
     28 	public static final int M_BLOCK = 1 << 2;
     29 	public static final int M_BLOCKINLINE = 1 << 3;
     30 	public static final int M_BODY = 1 << 4;
     31 	public static final int M_CELL = 1 << 5;
     32 	public static final int M_COL = 1 << 6;
     33 	public static final int M_DEF = 1 << 7;
     34 	public static final int M_FORM = 1 << 8;
     35 	public static final int M_FRAME = 1 << 9;
     36 	public static final int M_HEAD = 1 << 10;
     37 	public static final int M_HTML = 1 << 11;
     38 	public static final int M_INLINE = 1 << 12;
     39 	public static final int M_LEGEND = 1 << 13;
     40 	public static final int M_LI = 1 << 14;
     41 	public static final int M_NOLINK = 1 << 15;
     42 	public static final int M_OPTION = 1 << 16;
     43 	public static final int M_OPTIONS = 1 << 17;
     44 	public static final int M_P = 1 << 18;
     45 	public static final int M_PARAM = 1 << 19;
     46 	public static final int M_TABLE = 1 << 20;
     47 	public static final int M_TABULAR = 1 << 21;
     48 	public static final int M_TR = 1 << 22;
     49 
     50 
     51 	// End of model definitions
     52 
     53 	}
     54