|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ximpleware.ElementFragmentNs
public class ElementFragmentNs
ElementFragmentNs represents a name-space compensated element fragment
| Method Summary | |
|---|---|
long |
getOffsetLen()
Get the long encoding the len and offset of uncompensated element fragment |
int |
getSize()
getSize gets the byte length of ns compensated fragment in its source encoding format |
int |
getSize(int dest_encoding)
This method returns the size of the transcoded byte representation of the ns compensated element fragment |
byte[] |
toBytes()
Return a byte array of an element with namespace compensation in its orginal encoding format |
byte[] |
toBytes(int dest_encoding)
Transcode the ElementFragmentNS object to a byte array according to the destination encoding format |
void |
writeToOutputStream(java.io.OutputStream ost)
Write ns compensated fragments (bytes in original encoding format) to outputstream |
void |
writeToOutputStream(java.io.OutputStream ost,
int dest_encoding)
Write the transcode byte representation of an ns-compensated element fragment to the output stream |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public final long getOffsetLen()
public final int getSize()
public final int getSize(int dest_encoding)
throws com.ximpleware.TranscodeException
dest_encoding -
TranscodeExceptionpublic final byte[] toBytes()
public final byte[] toBytes(int dest_encoding)
throws com.ximpleware.TranscodeException
encoding -
com.ximpleware.TranscodeExceptionpublic final void writeToOutputStream(java.io.OutputStream ost)
throws java.io.IOException
ost -
java.io.IOExceptionpublic final void writeToOutputStream(java.io.OutputStream ost,
int dest_encoding)
throws java.io.IOException,
com.ximpleware.TranscodeException
ost - dest_encoding -
java.io.IOException
TranscodeException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||