mirror of
https://github.com/gnosygnu/xowa.git
synced 2024-10-27 20:34:16 +00:00
43 lines
1.6 KiB
Java
43 lines
1.6 KiB
Java
|
/*
|
||
|
XOWA: the XOWA Offline Wiki Application
|
||
|
Copyright (C) 2012 gnosygnu@gmail.com
|
||
|
|
||
|
This program is free software: you can redistribute it and/or modify
|
||
|
it under the terms of the GNU Affero General Public License as
|
||
|
published by the Free Software Foundation, either version 3 of the
|
||
|
License, or (at your option) any later version.
|
||
|
|
||
|
This program 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 Affero General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU Affero General Public License
|
||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
*/
|
||
|
package gplx.html; import gplx.*;
|
||
|
public class Html_consts {
|
||
|
public static final String Nl_str = " ";
|
||
|
public static final String
|
||
|
Comm_bgn_str = "<!--"
|
||
|
, Comm_end_str = "-->"
|
||
|
, Img_str = "img"
|
||
|
;
|
||
|
public static final byte[]
|
||
|
Lt = Bry_.new_ascii_("<"), Gt = Bry_.new_ascii_(">")
|
||
|
, Amp = Bry_.new_ascii_("&"), Quote = Bry_.new_ascii_("""), Apos = Bry_.new_ascii_("'")
|
||
|
, Eq = Bry_.new_ascii_("=")
|
||
|
, Nl_bry = Bry_.new_ascii_(Nl_str), Space_bry = Bry_.new_ascii_(" ")
|
||
|
, Comm_bgn = Bry_.new_ascii_(Comm_bgn_str), Comm_end = Bry_.new_ascii_(Comm_end_str)
|
||
|
, Hr_bry = Bry_.new_ascii_("<hr/>")
|
||
|
, Br_bry = Bry_.new_ascii_("<br/>")
|
||
|
, Td_bgn_bry = Bry_.new_ascii_("<td>")
|
||
|
, Td_end_bry = Bry_.new_ascii_("</td>")
|
||
|
, Ul_tag_bry = Bry_.new_ascii_("ul")
|
||
|
;
|
||
|
public static final int
|
||
|
Comm_bgn_len = Comm_bgn.length
|
||
|
, Comm_end_len = Comm_end.length
|
||
|
;
|
||
|
}
|