|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThingsMarkup
Markup for Strings. String printers and processors may support this markup.
P = New Paragraph It will be two CR/LF pairs.
BR = New Line. It will be a CR/LF pair.
TAB = Make tab spacing. Every character counts as tab spacing, unless it is part of markup.
$var = Variable replacement for named 'var'. If not present, it should be left blank.
XML escaping can be used. If it is not well formed, it will emit the whole string as a literal. If it is well formed, but the name isn't recognized, it will not be emitted at all.
<
>
&
&apos
"
You can pass information to the formatter with the meta tag. It should look like this:
<meta.name=variable>
The following names are supported:
tab = the tab length. The default is 8.
The tags will be ignored if not well formed or supported.
<P> = Valid and would cause a new paragraph.
<P< = This would break on the second < and would emit the string as a literal.
<FAKE_TAG< = This is not a tag, so it will be emitted as a literal.
Version History
EPG - Initial - 26 MAR 05
Field Summary | |
---|---|
static char |
CLOSE_TAG
|
static char |
COMPELTE_ESCAPE
|
static int |
DEFAULT_TAB_LENGTH
DEFAULTS |
static char |
EMIT_ESCAPE_AMP
|
static char |
EMIT_ESCAPE_APOS
|
static char |
EMIT_ESCAPE_GT
|
static char |
EMIT_ESCAPE_LT
|
static char |
EMIT_ESCAPE_QUOT
|
static java.lang.String |
EMIT_NEW_LINE
|
static java.lang.String |
EMIT_NEW_PARAGRAPH
|
static char |
EMIT_SPACE
EMITTABLE |
static char |
ESCAPE
|
static java.lang.String |
ESCAPE_AMP
|
static java.lang.String |
ESCAPE_APOS
|
static java.lang.String |
ESCAPE_GT
|
static java.lang.String |
ESCAPE_LT
Escaped |
static java.lang.String |
ESCAPE_QUOT
|
static java.lang.String |
META
|
static char |
META_NAME_SPLIT
|
static java.lang.String |
META_TAB
|
static char |
META_VALUE_SPLIT
|
static java.lang.String |
NEW_LINE
Markup Strings |
static java.lang.String |
NEW_PARAGRAPH
|
static char |
OPEN_TAG
Markup Characters |
static java.lang.String |
TAB
|
static char |
VARIABLE
|
Field Detail |
---|
static final java.lang.String NEW_LINE
static final java.lang.String NEW_PARAGRAPH
static final char VARIABLE
static final java.lang.String TAB
static final java.lang.String META
static final java.lang.String META_TAB
static final char OPEN_TAG
static final char CLOSE_TAG
static final char ESCAPE
static final char COMPELTE_ESCAPE
static final char META_NAME_SPLIT
static final char META_VALUE_SPLIT
static final java.lang.String ESCAPE_LT
static final java.lang.String ESCAPE_GT
static final java.lang.String ESCAPE_AMP
static final java.lang.String ESCAPE_APOS
static final java.lang.String ESCAPE_QUOT
static final int DEFAULT_TAB_LENGTH
static final char EMIT_SPACE
static final java.lang.String EMIT_NEW_LINE
static final java.lang.String EMIT_NEW_PARAGRAPH
static final char EMIT_ESCAPE_LT
static final char EMIT_ESCAPE_GT
static final char EMIT_ESCAPE_AMP
static final char EMIT_ESCAPE_APOS
static final char EMIT_ESCAPE_QUOT
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |