| java.lang.Object com.sun.xml.bind.v2.runtime.output.Pcdata com.sun.xml.bind.v2.runtime.unmarshaller.IntArrayData
IntArrayData | final public class IntArrayData extends Pcdata (Code) | | Typed
CharSequence for int[].
Fed to unmarshaller when the 'text' data is actually
a virtual image of int array.
This class holds int[] as a triplet of (data,start,len)
where 'start' and 'len' represents the start position of the
data and the length.
author: Kohsuke Kawaguchi |
Method Summary | |
public char | charAt(int index) | public int | length() | public void | set(int[] data, int start, int len) Sets the int[] data to this object.
This method doesn't make a copy for a performance reason.
The caller is still free to modify the array it passed to this method,
but he should do so with a care. | public CharSequence | subSequence(int start, int end) | public String | toString() | public void | writeTo(UTF8XmlOutput output) |
IntArrayData | public IntArrayData(int[] data, int start, int len)(Code) | | |
IntArrayData | public IntArrayData()(Code) | | |
charAt | public char charAt(int index)(Code) | | |
length | public int length()(Code) | | |
set | public void set(int[] data, int start, int len)(Code) | | Sets the int[] data to this object.
This method doesn't make a copy for a performance reason.
The caller is still free to modify the array it passed to this method,
but he should do so with a care. The unmarshalling code isn't expecting
the value to be changed while it's being routed.
|
|
|