no.sesat.search.datamodel.generic
Interface StringDataObject

All Superinterfaces:
Serializable
All Known Subinterfaces:
QueryDataObject
All Known Implementing Classes:
StringDataObjectSupport

@DataObject
public interface StringDataObject
extends Serializable

DataObject wrapping a String providing getters for url encoded and xml escaped variants. String should not be used directly during the rendering stage. Hence getString has the annontation @AccessDisallow({VIEW_CONSTRUCTION}).

Version:
$Id: StringDataObject.java 7225 2009-04-09 00:32:20Z ssmiweve $

Method Summary
 String getIso88591UrlEncoded()
          The ISO-88591 url encoded variant of the string.
 String getString()
          The plain value of the string.
 String getUtf8UrlEncoded()
          The UTF8 url encoded variant of the string.
 String getXmlEscaped()
          The xml escaped variant of the string.
 

Method Detail

getString

@AccessDisallow(value=VIEW_CONSTRUCTION)
String getString()
The plain value of the string. Disallowed during rendering for security reasons.

Returns:

getUtf8UrlEncoded

String getUtf8UrlEncoded()
The UTF8 url encoded variant of the string. Encoding must meet those requirements stated in java.net.URLEncoder

Returns:
UTF8 url encoded variant of the string.

getIso88591UrlEncoded

String getIso88591UrlEncoded()
The ISO-88591 url encoded variant of the string. Encoding must meet those requirements stated in java.net.URLEncoder

Returns:
ISO-88591 url encoded variant of the string.

getXmlEscaped

String getXmlEscaped()
The xml escaped variant of the string.

Returns:
xmlescaped variant of the string.


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.