info.bioinfweb.jphyloio.formats.xml.elementreaders

## Class XMLNoCharactersAllowedElementReader

- java.lang.Object
- - info.bioinfweb.jphyloio.formats.xml.elementreaders.AbstractXMLElementReader
  - - info.bioinfweb.jphyloio.formats.xml.elementreaders.XMLNoCharactersAllowedElementReader

- All Implemented Interfaces:
    XMLElementReader

      public class XMLNoCharactersAllowedElementReader
      extends AbstractXMLElementReader

  XML element reader that can be used to process the content of elements that do not allow nested characters.

  If character content is encountered by this element reader, a `JPhyloIOReaderException` is thrown.

  Author:
    Sarah Wiechers

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XMLNoCharactersAllowedElementReader()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `readEvent(XMLReaderStreamDataProvider streamDataProvider, javax.xml.stream.events.XMLEvent event)`

    - ### Methods inherited from class info.bioinfweb.jphyloio.formats.xml.elementreaders.AbstractXMLElementReader

      `readAttributes, readAttributes`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### XMLNoCharactersAllowedElementReader

          public XMLNoCharactersAllowedElementReader()

  - ### Method Detail

    - #### readEvent

          public void readEvent(XMLReaderStreamDataProvider streamDataProvider,
                                javax.xml.stream.events.XMLEvent event)
                         throws java.io.IOException,
                                javax.xml.stream.XMLStreamException

      Throws:
        `java.io.IOException`
        `javax.xml.stream.XMLStreamException`