/* XBN Java: Generically useful, non-GUI Java code. http://sourceforge.net/projects/xbnjava Copyright (C) 1997-2003, Jeff Epstein All rights reserved. Modifications: No Redistribution in binary form, with or without modifications, are permitted provided that the following conditions are met: * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * If modifications are made to source code then this license should indicate that fact in the "Modifications" section above. * Neither the author, nor the contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. [NOTE: This license contains NO advertising clause.] */ package xbn.template; import xbn.util.ForLineRetrieval; /**

A TemplateOrderedGaps where there are always three gaps.

Source code:  TOGThree.java.

@version 0.9b @author Jeff Epstein, http://sourceforge.net/projects/xbnjava. **/ public class TOGThree extends TemplateOrderedGaps { /**

Create a TOGThree.

Equal to TOGThree(flr_srcTxt, (new OGCThree(s_gap1, s_gap2, s_gap3)))

**/ public TOGThree(ForLineRetrieval flr_srcTxt, String s_gap1, String s_gap2, String s_gap3) throws TemplateFormatException { this(flr_srcTxt, (new OGCThree(s_gap1, s_gap2, s_gap3))); } /**

Create a TOGThree.

Equal to TOGThree(flr_srcTxt, (new OGCThree(s_gap1, s_gap2, s_gap3)), tp_config)

**/ public TOGThree(ForLineRetrieval flr_srcTxt, TParseConfig tp_config, String s_gap1, String s_gap2, String s_gap3) throws TemplateFormatException { this(flr_srcTxt, (new OGCThree(s_gap1, s_gap2, s_gap3)), tp_config); } /**

Create a TOGThree.

Equal to TOGThree(s_name, flr_srcTxt, (new OGCThree(s_gap1, s_gap2, s_gap3)))

**/ public TOGThree(String s_name, ForLineRetrieval flr_srcTxt, String s_gap1, String s_gap2, String s_gap3) throws TemplateFormatException { this(s_name, flr_srcTxt, (new OGCThree(s_gap1, s_gap2, s_gap3))); } /**

Create a TOGThree.

Equal to TOGThree(s_name, flr_srcTxt, (new OGCThree(s_gap1, s_gap2, s_gap3)), tp_config)

**/ public TOGThree(String s_name, ForLineRetrieval flr_srcTxt, TParseConfig tp_config, String s_gap1, String s_gap2, String s_gap3) throws TemplateFormatException { this(s_name, flr_srcTxt, (new OGCThree(s_gap1, s_gap2, s_gap3)), tp_config); } /**

Create a TOGThree.

Equal to TOGThree(null, flr_srcTxt, ogc_three)

**/ public TOGThree(ForLineRetrieval flr_srcTxt, OGCThree ogc_three) throws TemplateFormatException { this(null, flr_srcTxt, ogc_three); } /**

Create a TOGThree.

Equal to TOGThree(null, flr_srcTxt, ogc_three, tp_config)

**/ public TOGThree(ForLineRetrieval flr_srcTxt, OGCThree ogc_three, TParseConfig tp_config) throws TemplateFormatException { this(null, flr_srcTxt, ogc_three, tp_config); } /**

Create a TOGThree.

Equal to TOGThree(s_name, flr_srcTxt, ogc_three, (new TParseConfig()))

**/ public TOGThree(String s_name, ForLineRetrieval flr_srcTxt, OGCThree ogc_three) throws TemplateFormatException { this(s_name, flr_srcTxt, ogc_three, (new TParseConfig())); } /**

Create a TOGThree.

Equal to TemplateOrderedGaps(s_name, flr_srcTxt, ogc_three, tp_config)

The only difference between this constructor and the super version, is that ogc_three (the TFilter) may not be null

**/ public TOGThree(String s_name, ForLineRetrieval flr_srcTxt, OGCThree ogc_three, TParseConfig tp_config) throws TemplateFormatException { super(s_name, flr_srcTxt, ogc_three, tp_config); throwAXIfNull(ogc_three, "ogc_three", sCNSTR); } /**

Create a full copy of the provided TOGThree.

Equal to TemplateOrderedGaps(tog_one)

**/ public TOGThree(TOGThree tog_one) { super(tog_one); } /**

Get the OGCThree for direct manipulation.

@return (OGCThree)getOGConfig() **/ public final OGCThree getOGCThree() { return (OGCThree)getOGConfig(); } }