public class ICEText extends Object implements IICEElement, IICECharacterHandler
Copyright 2004 SAP AG author Bodo Junglas - junglas@objectcode.de version $Id: //kmgmt/km.shared.protocol/NW750EXT_13_COR/src/_ice/java/api/com/sapportals/wcm/protocol/ice/protocol/ICEText.java#1 $
Constructor and Description |
---|
ICEText(Attributes attributes)
Create a new ICE text element.
|
ICEText(String language,
String text)
Create a new ICE text element.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Informs the handler that is character stream is closed.
|
String |
getLanguage()
Get the language identifier of the text.
|
String |
getText()
Get the text.
|
void |
handleCharacters(char[] characters,
int offset,
int length)
Receive notification of character data.
|
void |
write(ContentHandler handler)
Write the XML representation of the ICE element to a SAX ContentHandler.
|
boolean |
writeChunk(ContentHandler handler)
Write a chunk of XML to a SAX ContentHandler.
|
public static final String TAGNAME
public ICEText(String language, String text)
language
- The language of the text or nulltext
- The content of the ICE text elementpublic ICEText(Attributes attributes)
attributes
- The attributes of the ice-text tagpublic String getLanguage()
public String getText()
public void handleCharacters(char[] characters, int offset, int length) throws SAXException
handleCharacters
in interface IICECharacterHandler
characters
- The characters from the XML document.offset
- The start position in the array.length
- The number of characters to read from the array.SAXException
- on error (might wrap another exception)public void close() throws SAXException
close
in interface IICECharacterHandler
SAXException
- on error (might wrap another exception)public void write(ContentHandler handler) throws SAXException
write
in interface IICEElement
handler
- The SAX ContentHandler (usually a XMLSerializer)SAXException
- on error (might wrap another exception)public boolean writeChunk(ContentHandler handler) throws SAXException
writeChunk
in interface IICEElement
handler
- The SAX ContentHandler (usually a XMLSerializer)SAXException
- on error (might wrap another exception)Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice