|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.util.html.HTMLStreamWriter
public class HTMLStreamWriter
Writes events from a IHTMLReader onto a stream.
A HTMLStreamWriter can be installed as a IHTMLContentHandler in a
reader and will write all events generated by the reader onto the given
stream.
Copyright (c) SAP AG 2001-2003
| Constructor Summary | |
|---|---|
HTMLStreamWriter(OutputStream out)
Will write all events onto out using the default Java
encoding. |
|
HTMLStreamWriter(OutputStream out,
String encoding)
Will write all events onto out using the given Java encoding. |
|
HTMLStreamWriter(Writer out)
Will write all events onto out . |
|
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Notification of a character event. |
void |
endDocument()
Notification that the document is finished. |
void |
endElement(IHTMLElement element)
Notification that an end tag was encountered (e.g. starting with '</'). |
void |
startDocument()
Notification that the document is about to start. |
void |
startElement(IHTMLElementStart element)
Notification that a tag was encountered. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLStreamWriter(OutputStream out)
out using the default Java
encoding.
out - the stream to write on
public HTMLStreamWriter(OutputStream out,
String encoding)
throws UnsupportedEncodingException
out using the given Java encoding.
out - the stream to write onencoding - to use
UnsupportedEncodingException - Exception raised in failure
situationpublic HTMLStreamWriter(Writer out)
out . Encoding does not matter.
out - the Writer to write on| Method Detail |
|---|
public void characters(char[] ch,
int start,
int length)
throws HTMLException
IHTMLContentHandlerch at offset start . There are length
number of characters.
The content of the buffer before start or after start +
length is undefined. Modification of the character array is strictly
forbidden. The content of the array is undefined after this method returns.
characters in interface IHTMLContentHandlerch - array holding characters of eventstart - where in the array the characters beginlength - number of characters in event
HTMLException - to indicate error in event handling
public void endDocument()
throws HTMLException
IHTMLContentHandler
endDocument in interface IHTMLContentHandlerHTMLException - to indicate error in event handling
public void endElement(IHTMLElement element)
throws HTMLException
IHTMLContentHandlerIHTMLElement for further information.
endElement in interface IHTMLContentHandlerelement - TBD: Description of the incoming method parameter
HTMLException - to indicate error in event handling
public void startDocument()
throws HTMLException
IHTMLContentHandler
startDocument in interface IHTMLContentHandlerHTMLException - to indicate error in event handling
public void startElement(IHTMLElementStart element)
throws HTMLException
IHTMLContentHandlerIHTMLElementStart for further information.
startElement in interface IHTMLContentHandlerelement - TBD: Description of the incoming method parameter
HTMLException - to indicate error in event handling| 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
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||