public interface CharacterData extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
getCharsetName()
Gets the charset name of this character data.
|
int |
getComponentId()
Gets the component id of this character data.
|
String |
getContentType()
Gets the content type of this character data.
|
int |
getId()
Gets the id of this character data.
|
InputStream |
getInputStream()
Gets an
InputStream representing the character data. |
InputStream |
getInputStream(String encoding)
Gets an
InputStream representing the character data
using specified encoding. |
int |
getNamespaceId()
Gets the namespace id of this character data.
|
int |
getPublicationId()
Gets the publication id of this character data.
|
Integer |
getRegionSchemaId()
Gets region schema id.
|
Integer |
getSchemaId()
Gets schema id.
|
String |
getString()
Gets the character data as a String
|
String |
getString(String encoding)
Gets the character data as a String
|
int |
getTemplateId()
Gets the template id of this character data.
|
String |
getTitle()
Gets title.
|
String |
getUrl()
gets page url.
|
int getNamespaceId()
int getId()
int getPublicationId()
int getComponentId()
int getTemplateId()
InputStream getInputStream() throws IOException
InputStream
representing the character data.InputStream
.IOException
- If an error occurs accessing the character data.InputStream getInputStream(String encoding) throws IOException
InputStream
representing the character data
using specified encoding.encoding
- The encoding to use to build the InputStream
InputStream
.IOException
- If an error occurs accessing the character data.String getString() throws IOException
String.
By default, UTF-8 encoding is used.
- Returns:
String representation of the character data.
- Throws:
IOException
- If an error occurs accessing the character data.
-
getString
String getString(String encoding)
throws IOException
Gets the character data as a String, using a specified
encoding.
- Parameters:
encoding
- The encoding to use to build the String
result.
- Returns:
String representation of the character data.
- Throws:
IOException
- If an error occurs accessing the character data.
-
getCharsetName
String getCharsetName()
Gets the charset name of this character data.
- Returns:
- The charset name.
-
getContentType
String getContentType()
Gets the content type of this character data.
- Returns:
- The content type.
-
getSchemaId
Integer getSchemaId()
Gets schema id.
- Returns:
- The schema id.
-
getRegionSchemaId
Integer getRegionSchemaId()
Gets region schema id.
- Returns:
- The schema id.
-
getUrl
String getUrl()
gets page url.
- Returns:
- url for page.
-
getTitle
String getTitle()
Gets title.
- Returns:
- title.
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries