com.ximpleware
Class ElementFragment
java.lang.Object
com.ximpleware.ElementFragment
public class ElementFragment
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementFragment
public ElementFragment(VTDNav vn1,
long l1,
FastIntBuffer fib1,
int len)
toBytes
public final byte[] toBytes()
- Return a byte array with namespace compensation
witht the orginal encoding format
- Returns:
getSize
public final int getSize()
- getSize gets the fragment with ns compensation
- Returns:
writeToByteArray
public final int writeToByteArray(byte[] ba,
int offset)
writeToOutputStream
public final void writeToOutputStream(OutputStream ost)
throws IOException
- Write ns compensated fragments (bytes in original encoding format) to outputstream
- Parameters:
ost -
- Throws:
IOException
getOffsetLen
public final long getOffsetLen()
- Returns:
Copyright © 2013. All Rights Reserved.