public class PreparsedXML extends Object
Constructor and Description |
---|
PreparsedXML(InputStream inputStream)
Create a new XML preparser.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getProcessorStream()
Gets the
InputStream that should be used by the SAX parser. |
InputStream |
nextContentStream()
Gets the next element content stream from the stack.
|
void |
removeContentStream()
Removes the current content stream from the stack.
|
public PreparsedXML(InputStream inputStream)
inputStream
- The incomming XML streampublic InputStream getProcessorStream()
InputStream
that should be used by the SAX parser.
In this stream the element content is replaced by a <?preparsed-xml-content?> processing instruction.
InputStream
for the SAX parserpublic InputStream nextContentStream() throws IOException
InputStream
of the content of an elementIOException
- on errorpublic void removeContentStream()
This method has to be invoked by the SAX content handler once it encounters a <?preparsed-xml-content?> processing instruction.
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