Class XMLContent.DefaultXMLContent<RC,WC>

java.lang.Object
org.jboss.as.controller.xml.XMLContent.DefaultXMLContent<RC,WC>
All Implemented Interfaces:
XMLContent<RC,WC>, XMLContentWriter<WC>, org.jboss.staxmapper.XMLElementWriter<WC>
Enclosing interface:
XMLContent<RC,WC>

public static class XMLContent.DefaultXMLContent<RC,WC> extends Object implements XMLContent<RC,WC>
  • Method Details

    • 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.
    • isEmpty

      public boolean isEmpty(WC content)
      Description copied from interface: XMLContentWriter
      Indicates whether the specified content is empty.
      Specified by:
      isEmpty in interface XMLContentWriter<RC>
    • 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