public abstract class XmlChannelWriter extends Object implements XmlWriter
| Constructor and Description |
|---|
XmlChannelWriter()
Private constructor : for poolableObject.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addExpcetion(LegalDocMlException exception) |
void |
flush()
Flush the current outputStream.
|
List<LegalDocMlException> |
getExceptions() |
static byte[] |
getPiEnd() |
static byte[] |
getPiStart() |
boolean |
isPermissive() |
void |
popNS() |
void |
pushNS(long addr,
long size) |
protected void |
reset() |
void |
setChannel(WritableByteChannel channel) |
void |
setPermissive(boolean value) |
void |
write(char[] text) |
void |
write(char[] text,
int off,
int len) |
void |
write(LocalDate date) |
void |
writeAttribute(long name,
int nameLen,
byte[] value) |
void |
writeAttribute(long name,
int nameLen,
char[] value) |
void |
writeAttribute(long name,
int nameLen,
LocalDate date) |
void |
writeAttribute(long name,
int nameLen,
OffsetDateTime offsetDateTime) |
void |
writeEnd(long address,
int len) |
void |
writeEndDocument(long address,
int len) |
void |
writeNamespace(long key,
int keyLen,
long value,
int valueLen) |
void |
writeStart(long address,
int len) |
void |
writeStartDocument(long address,
int len) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVersionpublic XmlChannelWriter()
Private constructor : for poolableObject.
public void setChannel(WritableByteChannel channel)
channel - the channel to setpublic void flush()
throws IOException
Flush the current outputStream.
IOExceptionpublic void writeStartDocument(long address,
int len)
writeStartDocument in interface XmlWriterpublic void writeEndDocument(long address,
int len)
throws IOException
writeEndDocument in interface XmlWriterIOExceptionpublic void writeAttribute(long name,
int nameLen,
char[] value)
throws IOException
writeAttribute in interface XmlWriterIOExceptionpublic void writeAttribute(long name,
int nameLen,
byte[] value)
throws IOException
writeAttribute in interface XmlWriterIOExceptionpublic void writeAttribute(long name,
int nameLen,
LocalDate date)
throws IOException
writeAttribute in interface XmlWriterIOExceptionpublic void writeAttribute(long name,
int nameLen,
OffsetDateTime offsetDateTime)
throws IOException
writeAttribute in interface XmlWriterIOExceptionpublic void write(char[] text,
int off,
int len)
throws IOException
IOExceptionpublic void write(char[] text)
throws IOException
write in interface XmlWriterIOExceptionpublic void writeStart(long address,
int len)
throws IOException
writeStart in interface XmlWriterIOExceptionpublic void writeEnd(long address,
int len)
throws IOException
writeEnd in interface XmlWriterIOExceptionpublic void write(LocalDate date) throws IOException
IOExceptionpublic void writeNamespace(long key,
int keyLen,
long value,
int valueLen)
throws IOException
writeNamespace in interface XmlWriterIOExceptionpublic static byte[] getPiStart()
public static byte[] getPiEnd()
public void pushNS(long addr,
long size)
public void popNS()
protected void reset()
public void setPermissive(boolean value)
setPermissive in interface XmlWriterpublic boolean isPermissive()
isPermissive in interface XmlWriterpublic void addExpcetion(LegalDocMlException exception)
addExpcetion in interface XmlWriterpublic List<LegalDocMlException> getExceptions()
Copyright © 2017. All rights reserved.