Class IntData

  • All Implemented Interfaces:
    CharSequence

    public class IntData
    extends org.glassfish.jaxb.runtime.v2.runtime.output.Pcdata
    Pcdata that represents a single integer.
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • IntData

        public IntData()
    • Method Detail

      • reset

        public void reset​(int i)
      • toString

        public String toString()
        Specified by:
        toString in interface CharSequence
        Specified by:
        toString in class org.glassfish.jaxb.runtime.v2.runtime.output.Pcdata
      • length

        public int length()
      • charAt

        public char charAt​(int index)
      • subSequence

        public CharSequence subSequence​(int start,
                                        int end)
      • writeTo

        public void writeTo​(org.glassfish.jaxb.runtime.v2.runtime.output.UTF8XmlOutput output)
                     throws IOException
        Description copied from class: org.glassfish.jaxb.runtime.v2.runtime.output.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 org.glassfish.jaxb.runtime.v2.runtime.output.Pcdata
        Throws:
        IOException