Package com.enonic.xp.query.highlight
Class HighlightPropertySettings
- java.lang.Object
-
- com.enonic.xp.query.highlight.HighlightPropertySettings
-
- Direct Known Subclasses:
HighlightQuerySettings
public class HighlightPropertySettings extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HighlightPropertySettings.Builder<T extends HighlightPropertySettings.Builder>
-
Constructor Summary
Constructors Modifier Constructor Description protected
HighlightPropertySettings(HighlightPropertySettings.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HighlightPropertySettings.Builder
create()
static HighlightPropertySettings
empty()
boolean
equals(java.lang.Object o)
Fragmenter
getFragmenter()
java.lang.Integer
getFragmentSize()
java.lang.Integer
getNoMatchSize()
java.lang.Integer
getNumOfFragments()
Order
getOrder()
com.google.common.collect.ImmutableList<java.lang.String>
getPostTags()
com.google.common.collect.ImmutableList<java.lang.String>
getPreTags()
java.lang.Boolean
getRequireFieldMatch()
int
hashCode()
-
-
-
Constructor Detail
-
HighlightPropertySettings
protected HighlightPropertySettings(HighlightPropertySettings.Builder builder)
-
-
Method Detail
-
getFragmenter
public Fragmenter getFragmenter()
-
getFragmentSize
public java.lang.Integer getFragmentSize()
-
getNoMatchSize
public java.lang.Integer getNoMatchSize()
-
getNumOfFragments
public java.lang.Integer getNumOfFragments()
-
getOrder
public Order getOrder()
-
getPreTags
public com.google.common.collect.ImmutableList<java.lang.String> getPreTags()
-
getPostTags
public com.google.common.collect.ImmutableList<java.lang.String> getPostTags()
-
getRequireFieldMatch
public java.lang.Boolean getRequireFieldMatch()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
create
public static HighlightPropertySettings.Builder create()
-
empty
public static HighlightPropertySettings empty()
-
-