|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.template.GapConfig
Configuration for a Template.
Source code: GapConfig.java.
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
GapConfig()
Create an GapConfig with default settings. |
|
GapConfig(char c_tagDelimiter)
Create an GapConfig. |
|
GapConfig(char c_tagDelimiter,
char c_escape)
Create an GapConfig. |
|
GapConfig(char c_tagDelimiter,
String s_tagTextStart,
String s_tagTextEnd)
Create an GapConfig. |
|
GapConfig(char c_tagDelimiter,
String s_tagTextStart,
String s_tagTextEnd,
char c_escape)
Create an GapConfig. |
|
GapConfig(String s_tagTextStart,
String s_tagTextEnd)
Create an GapConfig. |
|
GapConfig(String s_tagTextStart,
String s_tagTextEnd,
char c_escape)
Create an GapConfig. |
Method Summary | |
char |
getEscapeChar()
Get the escape character. |
char |
getTagDelimiter()
Get the character delimiter that starts and ends all tag parts. |
String |
getTagTextEnd()
Get the text for the gap end tag. |
String |
getTagTextStart()
Get the text for the gap start tag. |
String |
toString()
Get some information about this GapConfig. |
Methods inherited from class xbn.XBNObject |
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GapConfig()
Create an GapConfig with default settings.
Equal to GapConfig(TConfigDefaults.getTagDelimiter())
public GapConfig(char c_tagDelimiter)
Create an GapConfig.
Equal to GapConfig(c_tagDelimiter, '\')
public GapConfig(String s_tagTextStart, String s_tagTextEnd)
Create an GapConfig.
Equal to GapConfig(TConfigDefaults.getTagDelimiter(), s_tagTextStart, s_tagTextEnd)
public GapConfig(char c_tagDelimiter, char c_escape)
Create an GapConfig.
Equal to GapConfig(c_tagDelimiter, TConfigDefaults.getTagTxtStart(), TConfigDefaults.getTagTxtEnd(), c_escape)
public GapConfig(String s_tagTextStart, String s_tagTextEnd, char c_escape)
Create an GapConfig.
Equal to GapConfig(TConfigDefaults.getTagDelimiter(), s_tagTextStart, s_tagTextEnd, , c_escape)
public GapConfig(char c_tagDelimiter, String s_tagTextStart, String s_tagTextEnd)
Create an GapConfig.
Equal to GapConfig(c_tagDelimiter, s_tagTextStart, s_tagTextEnd, '\')
public GapConfig(char c_tagDelimiter, String s_tagTextStart, String s_tagTextEnd, char c_escape)
Create an GapConfig.
c_tagDelimiter
- The tag delimiter character. A single copy of this character precedes and follows both the tag start and end texts, to form a full gap tag part. May not equal c_escape.s_tagTextStart
- The text for the gap start tag. The entire start tag is considered to be a tag delimiter character, the value of this parameter, and then another tag delimiter character. Must be valid according to UtilTemplategetTag, and different than s_tagTextEnd. VALIDATED IN TLAObjects constructor.s_tagTextEnd
- The text for the gap end tag. Has the same rules as s_tagTextStart, and this parameter must have a different value than it. VALIDATED IN TLAObjects constructor.c_escape
- The escape character, to display a c_tagDelimiter literally. May not equal c_tagDelimiter.Method Detail |
public final char getTagDelimiter()
Get the character delimiter that starts and ends all tag parts.
To display a tag delimiter literally, precede it by the escape character.
public final String getTagTextStart()
Get the text for the gap start tag.
public final String getTagTextEnd()
Get the text for the gap end tag.
public final char getEscapeChar()
Get the escape character.
To display a tag delimiter literally, precede it by the escape character.
public String toString()
Get some information about this GapConfig.
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
http://sourceforge.net/projects/xbnjava