gnu.javax.swing.text.html.parser.support.low
Class Constants
The parser constants and operations, directly related to the parser
constants.
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
AP
public static final int AP
Quoting sign.
BEGIN
public static final int BEGIN
Start of HTML token.
DOUBLE_DASH
public static final int DOUBLE_DASH
Double dash (--)
END
public static final int END
End of HTML token.
ENTITY
public static final int ENTITY
Named or numeric entity,
ENTITY_NAMED
public static final int ENTITY_NAMED
Named entity.
EOF
public static final int EOF
End of file.
EQ
public static final int EQ
Equals sign.
EXCLAMATION
public static final int EXCLAMATION
Exclamation (indicates SGML or comment).
NUMTOKEN
public static final int NUMTOKEN
Sequence of valid name characters (can start from digit).
OTHER
public static final int OTHER
All other tokens.
QUOT
public static final int QUOT
Quoting sign.
SCRIPT
public static final int SCRIPT
The SCRIPT tag (needs special handling).
SGML
public static final pattern SGML
SGML element heading pattern.
SLASH
public static final int SLASH
Slash (indicates closing tag).
STYLE
public static final int STYLE
The STYLE tag (needs special handling).
TAG
public static final pattern TAG
Ordinary HTML tag heading pattern.
TAG_CLOSE
public static final pattern TAG_CLOSE
Ordinary HTML tag closing pattern.
WS
public static final int WS
HTML whitespace.
bLETTER
public static final BitSet bLETTER
All letters, used in HTML names.
bNAME
public static final BitSet bNAME
Valid name characters.
bSPECIAL
public static final BitSet bSPECIAL
Non letters and non numbers, allowed in HTML names.
endMatches
public Token endMatches(Buffer b)
Verifies if one of the tokens matches the end of string
buffer. The last character in the string buffer is the
"future character", some tokens needs to verify it the
token does not continue "towards the future". If the token
matches, it matches till "pre-last" character in the buffer.
Constants.java --
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.