com.konakart.wsapp
Class SnippetOptions

java.lang.Object
  extended by com.konakart.wsapp.SnippetOptions
All Implemented Interfaces:
java.io.Serializable

public class SnippetOptions
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
SnippetOptions()
           
SnippetOptions(boolean enableSnippets, boolean escapeHTML, int numberOfSnippets, java.lang.String postKeywordHighlight, java.lang.String preKeywordHighlight, int snippetSizeInChars)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 int getNumberOfSnippets()
          Gets the numberOfSnippets value for this SnippetOptions.
 java.lang.String getPostKeywordHighlight()
          Gets the postKeywordHighlight value for this SnippetOptions.
 java.lang.String getPreKeywordHighlight()
          Gets the preKeywordHighlight value for this SnippetOptions.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 int getSnippetSizeInChars()
          Gets the snippetSizeInChars value for this SnippetOptions.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 boolean isEnableSnippets()
          Gets the enableSnippets value for this SnippetOptions.
 boolean isEscapeHTML()
          Gets the escapeHTML value for this SnippetOptions.
 void setEnableSnippets(boolean enableSnippets)
          Sets the enableSnippets value for this SnippetOptions.
 void setEscapeHTML(boolean escapeHTML)
          Sets the escapeHTML value for this SnippetOptions.
 void setNumberOfSnippets(int numberOfSnippets)
          Sets the numberOfSnippets value for this SnippetOptions.
 void setPostKeywordHighlight(java.lang.String postKeywordHighlight)
          Sets the postKeywordHighlight value for this SnippetOptions.
 void setPreKeywordHighlight(java.lang.String preKeywordHighlight)
          Sets the preKeywordHighlight value for this SnippetOptions.
 void setSnippetSizeInChars(int snippetSizeInChars)
          Sets the snippetSizeInChars value for this SnippetOptions.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnippetOptions

public SnippetOptions()

SnippetOptions

public SnippetOptions(boolean enableSnippets,
                      boolean escapeHTML,
                      int numberOfSnippets,
                      java.lang.String postKeywordHighlight,
                      java.lang.String preKeywordHighlight,
                      int snippetSizeInChars)
Method Detail

isEnableSnippets

public boolean isEnableSnippets()
Gets the enableSnippets value for this SnippetOptions.

Returns:
enableSnippets

setEnableSnippets

public void setEnableSnippets(boolean enableSnippets)
Sets the enableSnippets value for this SnippetOptions.

Parameters:
enableSnippets -

isEscapeHTML

public boolean isEscapeHTML()
Gets the escapeHTML value for this SnippetOptions.

Returns:
escapeHTML

setEscapeHTML

public void setEscapeHTML(boolean escapeHTML)
Sets the escapeHTML value for this SnippetOptions.

Parameters:
escapeHTML -

getNumberOfSnippets

public int getNumberOfSnippets()
Gets the numberOfSnippets value for this SnippetOptions.

Returns:
numberOfSnippets

setNumberOfSnippets

public void setNumberOfSnippets(int numberOfSnippets)
Sets the numberOfSnippets value for this SnippetOptions.

Parameters:
numberOfSnippets -

getPostKeywordHighlight

public java.lang.String getPostKeywordHighlight()
Gets the postKeywordHighlight value for this SnippetOptions.

Returns:
postKeywordHighlight

setPostKeywordHighlight

public void setPostKeywordHighlight(java.lang.String postKeywordHighlight)
Sets the postKeywordHighlight value for this SnippetOptions.

Parameters:
postKeywordHighlight -

getPreKeywordHighlight

public java.lang.String getPreKeywordHighlight()
Gets the preKeywordHighlight value for this SnippetOptions.

Returns:
preKeywordHighlight

setPreKeywordHighlight

public void setPreKeywordHighlight(java.lang.String preKeywordHighlight)
Sets the preKeywordHighlight value for this SnippetOptions.

Parameters:
preKeywordHighlight -

getSnippetSizeInChars

public int getSnippetSizeInChars()
Gets the snippetSizeInChars value for this SnippetOptions.

Returns:
snippetSizeInChars

setSnippetSizeInChars

public void setSnippetSizeInChars(int snippetSizeInChars)
Sets the snippetSizeInChars value for this SnippetOptions.

Parameters:
snippetSizeInChars -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer



Copyright © 2011 DS Data Systems UK Ltd.