org.silverpeas.search.indexEngine.model
Class TextDescription

java.lang.Object
  extended by org.silverpeas.search.indexEngine.model.TextDescription
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
XMLFieldDescription

public class TextDescription
extends Object
implements Serializable

A ContentDescription pack all the needed information to parse and index a content. We need :

See Also:
Serialized Form

Constructor Summary
TextDescription(String content, String lang)
           
 
Method Summary
 String getContent()
          Return the content itself
 String getLang()
          Return the content language
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextDescription

public TextDescription(String content,
                       String lang)
Method Detail

getContent

public String getContent()
Return the content itself


getLang

public String getLang()
Return the content language



Copyright © 2016 Silverpeas. All Rights Reserved.