Class IntData
java.lang.Object
com.sun.xml.bind.v2.runtime.output.Pcdata
com.sun.xml.bind.v2.runtime.unmarshaller.IntData
- All Implemented Interfaces:
CharSequence
Pcdata
that represents a single integer.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchar
charAt
(int index) int
length()
void
reset
(int i) subSequence
(int start, int end) toString()
void
writeTo
(UTF8XmlOutput output) Writes itself toUTF8XmlOutput
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Constructor Details
-
IntData
public IntData()
-
-
Method Details
-
reset
public void reset(int i) -
toString
- Specified by:
toString
in interfaceCharSequence
- Specified by:
toString
in classPcdata
-
length
public int length() -
charAt
public char charAt(int index) -
subSequence
-
writeTo
Description copied from class:Pcdata
Writes itself toUTF8XmlOutput
.This is the most performance critical path for the marshaller, so it warrants its own method.
- Specified by:
writeTo
in classPcdata
- Throws:
IOException
-