Class XMLContent.DefaultXMLContent<RC,​WC>

    • Method Detail

      • readContent

        public void readContent​(org.jboss.staxmapper.XMLExtendedStreamReader reader,
                                RC context)
                         throws XMLStreamException
        Description copied from interface: XMLContent
        Reads element content into the specified reader context.
        Specified by:
        readContent in interface XMLContent<RC,​WC>
        Parameters:
        reader - a StaX reader
        context - the reader context
        Throws:
        XMLStreamException - if the input could not be read from the specified reader.
      • writeContent

        public void writeContent​(org.jboss.staxmapper.XMLExtendedStreamWriter writer,
                                 WC content)
                          throws XMLStreamException
        Specified by:
        writeContent in interface org.jboss.staxmapper.XMLElementWriter<RC>
        Throws:
        XMLStreamException