public static class HtmlDataType.Data extends Object implements CharSequence, ISearchable, IRenderable
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
String |
getDisplayString(IRenderer renderer)
Returns the string to be displayed for representing this instance, when
a short display is required.
|
String |
getRenderData(IRenderer renderer)
Returns the data of this object in a standard xml format.
|
Collection<SearchContentAttachment> |
getSearchContentAttachments()
Returns the search content attachments to be used for indexing this object.
|
List<SearchContentField> |
getSearchContentFields()
Returns the search content fields to be used for indexing this object.
|
int |
length() |
CharSequence |
subSequence(int start,
int end) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
chars, codePoints
public Data(String html)
public char charAt(int index)
charAt
in interface CharSequence
public CharSequence subSequence(int start, int end)
subSequence
in interface CharSequence
public int length()
length
in interface CharSequence
public String toString()
toString
in interface CharSequence
toString
in class Object
public Collection<SearchContentAttachment> getSearchContentAttachments()
ISearchable
Must never return null
. May return an empty collection if
no attachment is to be used for indexing this object.
getSearchContentAttachments
in interface ISearchable
public List<SearchContentField> getSearchContentFields()
ISearchable
Note that the actual search content fields used are decided by the
ISourceSearchContentFiller
implementation
used in the source. It may or may not use the fields returned by this
method. This method provides only the default recommended search fields
for this data.
getSearchContentFields
in interface ISearchable
null
.
May return an empty collection if no field is to be used for indexing
this object.public String getRenderData(IRenderer renderer) throws PortalException
IRenderable
getRenderData
in interface IRenderable
renderer
- the renderer object that will use the returned render data.PortalException
public String getDisplayString(IRenderer renderer) throws PortalException
IRenderable
getDisplayString
in interface IRenderable
renderer
- the renderer object that will use the returned render data.PortalException
LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.