public class EcmsdkXMLOutputStream extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPACT |
static int |
DEFAULT |
static int |
NO_REUSE |
static int |
PRETTY |
static int |
REUSE |
| Constructor and Description |
|---|
EcmsdkXMLOutputStream(OutputStream outStream) |
EcmsdkXMLOutputStream(Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addIndent(int paramInt) |
void |
close() |
void |
close(int closeStreanAndWriter)
close stream
|
void |
finalFlush() |
void |
flush()
Flush out
|
void |
flushDebugStream()
flush Debug Stream
|
int |
getOutputStyle() |
static String |
getXMLProperty(String propertyName)
Get XMl prop
|
boolean |
isMixed() |
void |
pop(int pos) |
void |
setEncoding(String encoding,
boolean led,
boolean useByteBuffer)
Set Encoding
|
void |
setEOLChars(String chars) |
void |
setMixed(boolean paramBoolean) |
void |
setOutputStyle(int paramInt) |
void |
write(int charNo) |
void |
writeChars(String content) |
void |
writeIndent() |
void |
writeNewLine() |
void |
writeQuotedString(String paramString) |
public static final int DEFAULT
public static final int PRETTY
public static final int COMPACT
public static final int REUSE
public static final int NO_REUSE
public EcmsdkXMLOutputStream(OutputStream outStream)
public EcmsdkXMLOutputStream(Writer writer)
public void setEOLChars(String chars)
public void setEncoding(String encoding, boolean led, boolean useByteBuffer) throws IOException
encoding - led - useByteBuffer - IOExceptionpublic void flush()
throws IOException
IOExceptionpublic void flushDebugStream()
throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic void close(int closeStreanAndWriter)
throws IOException
closeStreanAndWriter - IOExceptionpublic void pop(int pos)
throws IOException
IOExceptionpublic void write(int charNo)
throws IOException
IOExceptionpublic void writeChars(String content) throws IOException
IOExceptionpublic void writeQuotedString(String paramString) throws IOException
IOExceptionpublic void writeNewLine()
throws IOException
IOExceptionpublic void addIndent(int paramInt)
public void writeIndent()
throws IOException
IOExceptionpublic void setOutputStyle(int paramInt)
public int getOutputStyle()
public void finalFlush()
throws IOException
IOExceptionpublic boolean isMixed()
public void setMixed(boolean paramBoolean)
Copyright © 2025. All rights reserved.