0N/A * Copyright 2005 The Apache Software Foundation 0N/A * Licensed under the Apache License, Version 2.0 (the "License"); 0N/A * you may not use this file except in compliance with the License. 0N/A * You may obtain a copy of the License at 0N/A * Unless required by applicable law or agreed to in writing, software 0N/A * distributed under the License is distributed on an "AS IS" BASIS, 0N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 0N/A * See the License for the specific language governing permissions and 0N/A * limitations under the License. 0N/A/** A document summary dynamically generated to match a query. */ 0N/A /** A fragment of text within a summary. */ 1469N/A /** Constructs a fragment for the given text. 1469N/A * @param text text for this fragment 1469N/A /** Get the text of this fragment. 1469N/A * @return the text of this fragment */ 1469N/A /** Check whether this fragment is to be highlighted. 1469N/A * @return {@code true} if highlighting is enabled */ 1469N/A /** Check, whether this fragment is an ellipsis. 1469N/A * @return {@code true} if this is an ellipsis */ 1469N/A /** Get an HTML representation of this fragment. 1469N/A * @return the htmlized text of this fragment */ 0N/A /** A highlighted fragment of text within a summary. */ 1469N/A /** Constructs a highlighted fragment for the given text. 1469N/A * @param text text for this fragment 0N/A /** An ellipsis fragment within a summary. */ 0N/A /** Constructs an ellipsis fragment for the given text. */ 1469N/A /** Adds a fragment to a summary. 1469N/A * @param fragment fragment ot add */ 1469N/A /** Get an array of all of this summary's fragments. 1469N/A * @return a possible empty array */ 1469N/A /** Get concatenation of all HTMLized fragments of this instance. */