gnu.javax.swing.text.html.parser
Class HTML_401F
- DTDConstants, Serializable
This class represents the java implementation of the HTML 4.01
( -//W3C//DTD HTML 4.01 Frameset//EN ) Frameset version. The
Frameset version includes as recommended, as obsoleted features and
also the frameset support. This the default DTD to parse HTML
documents in this implementation, containing 315 pre-defined general
entities and 92 elements.
static String | DTD_NAME - The standard name of this DTD,
'-//W3C//DTD HTML 4.01 Frameset//EN'
|
Element>() , Entity>() , Entity>entityHash , FILE_VERSION , applet , base , body , elementHash , elements , head , html , isindex , meta , name , p , param , pcdata , title |
ANY , CDATA , CONREF , CURRENT , DEFAULT , EMPTY , ENDTAG , ENTITIES , ENTITY , FIXED , GENERAL , ID , IDREF , IDREFS , IMPLIED , MD , MODEL , MS , NAME , NAMES , NMTOKEN , NMTOKENS , NOTATION , NUMBER , NUMBERS , NUTOKEN , NUTOKENS , PARAMETER , PI , PUBLIC , RCDATA , REQUIRED , SDATA , STARTTAG , SYSTEM |
HTML_401F() - Creates this DTD, filling in the entities and attributes data
as defined in -//W3C//DTD HTML 4.01 Frameset//EN.
|
attr , defAttributeList , defAttrsFor , defContentModel , defElement , defElement , defElement , defEntity , defineEntity , dump , dump |
defAttributeList , defContentModel , defElement , defEntity , defEntity , defineAttributes , defineElement , defineEntity , getDTD , getElement , getElement , getEntity , getEntity , getName , putDTDHash , read , toString |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
DTD_NAME
public static final String DTD_NAME
The standard name of this DTD,
'-//W3C//DTD HTML 4.01 Frameset//EN'
- "-//W3C//DTD HTML 4.01 Frameset//EN"
HTML_401F
protected HTML_401F()
Creates this DTD, filling in the entities and attributes data
as defined in -//W3C//DTD HTML 4.01 Frameset//EN.
createListModel
protected ContentModel createListModel()
This model is used for UL, OL, MENU and DIR.
HTML 4.01 specifies LI only, but the nested
list seems rendered correctly only if
it is not enclosed into
- of the
parent list.
defineElements
protected void defineElements()
Define all elements of this DTD.
defineEntities
protected void defineEntities()
Define all entities in this DTD.
getBodyElements
protected String[] getBodyElements()
Get elements that are allowed in the document body, at the zero level.
getInstance
public static DTD getInstance()
Either takes the document (by name) from DTD table, or
creates a new instance and registers it in the tabe.
The document is registerd under name "-//W3C//DTD HTML 4.01 Frameset//EN".
- The new or existing DTD for parsing HTML 4.01 Frameset.
model
protected ContentModel model(String element)
Crate a content model, consisting of the single
element, specified by name.
HTML_401F.java -- HTML 4.01 FRAMESET DTD java conception.
Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version.