1 /* 2 * Copyright (C) 2008-2012 OMRON SOFTWARE Co., Ltd. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package jp.co.omronsoft.openwnn; 18 19 /** 20 * The container class of {@link StrSegment} which includes a clause information for Japanese IME. 21 * 22 * @author Copyright (C) 2009 OMRON SOFTWARE CO., LTD. All rights reserved. 23 */ 24 public class StrSegmentClause extends StrSegment { 25 /** Clause information */ 26 public WnnClause clause; 27 28 /** 29 * Constructor 30 * 31 * @param clause The clause 32 * @param from The start position 33 * @param to The end position 34 */ 35 public StrSegmentClause(WnnClause clause, int from, int to) { 36 super(clause.candidate, from, to); 37 this.clause = clause; 38 } 39 } 40