コード例 #1
0
  /**
   * Creates a new InfoUnmarshaller
   *
   * @param atts the AttributeList
   */
  public InfoUnmarshaller(AttributeList atts) throws SAXException {
    super();

    _info = new Info();

    // -- handle attributes
    String attValue = null;

    _info.setSource(atts.getValue(SchemaNames.SOURCE_ATTR));
  } // -- InfoUnmarshaller
コード例 #2
0
 /**
  * Called to signal an end of unmarshalling. This method should be overridden to perform any
  * necessary clean up by an unmarshaller
  */
 public void finish() {
   if (sb != null) {
     _info.setContent(sb.toString());
     sb = null;
   }
 } // -- finish