com.sun.xml.bind.v2.runtime.unmarshaller
Class IntData

java.lang.Object
  extended by com.sun.xml.bind.v2.runtime.output.Pcdata
      extended by com.sun.xml.bind.v2.runtime.unmarshaller.IntData
All Implemented Interfaces:
java.lang.CharSequence

public class IntData
extends Pcdata

Pcdata that represents a single integer.


Constructor Summary
IntData()
           
 
Method Summary
 char charAt(int index)
           
 int length()
           
 void reset(int i)
           
 java.lang.CharSequence subSequence(int start, int end)
           
 java.lang.String toString()
           
 void writeTo(UTF8XmlOutput output)
          Writes itself to UTF8XmlOutput.
 
Methods inherited from class com.sun.xml.bind.v2.runtime.output.Pcdata
writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntData

public IntData()
Method Detail

reset

public void reset(int i)

toString

public java.lang.String toString()
Specified by:
toString in interface java.lang.CharSequence
Specified by:
toString in class Pcdata

length

public int length()

charAt

public char charAt(int index)

subSequence

public java.lang.CharSequence subSequence(int start,
                                          int end)

writeTo

public void writeTo(UTF8XmlOutput output)
             throws java.io.IOException
Description copied from class: Pcdata
Writes itself to UTF8XmlOutput.

This is the most performance critical path for the marshaller, so it warrants its own method.

Specified by:
writeTo in class Pcdata
Throws:
java.io.IOException