Esempio n. 1
0
  /**
   * Attaches to a provided DataChannel.
   *
   * @since 3.1
   */
  protected void attachToChannel(DataChannel channel) {
    if (channel == null) {
      throw new NullPointerException("Null channel");
    }

    setChannel(channel);
    setEntityResolver(channel.getEntityResolver());
  }