/**
  * parseXML
  *
  * @param stream a {@link java.io.InputStream} object.
  * @throws org.exolab.castor.xml.MarshalException if any.
  * @throws org.exolab.castor.xml.ValidationException if any.
  */
 public synchronized void parseXML(final InputStream stream)
     throws MarshalException, ValidationException {
   m_notifications = CastorUtils.unmarshal(Notifications.class, stream, true);
   oldHeader = m_notifications.getHeader();
 }
 /**
  * parseXML
  *
  * @param reader a {@link java.io.Reader} object.
  * @throws org.exolab.castor.xml.MarshalException if any.
  * @throws org.exolab.castor.xml.ValidationException if any.
  */
 @Deprecated
 public synchronized void parseXML(final Reader reader)
     throws MarshalException, ValidationException {
   m_notifications = CastorUtils.unmarshal(Notifications.class, reader, true);
   oldHeader = m_notifications.getHeader();
 }