org.teldap.core.xmlvalidator.unionCatalog.ui
Class ValidationReport

java.lang.Object
  extended by org.teldap.core.xmlvalidator.unionCatalog.ui.ValidationReport

public class ValidationReport
extends java.lang.Object

Copyright 2009 數位典藏與數位學習國家型科技計畫(TELDAP) 數位核心平台計畫

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Title: DACatalog XML檢查工具檢查結果輸出

Version:
1.0
Author:
徐慈妍、洪崇熙、洪國翔

Field Summary
static java.util.HashMap checks
           
 
Constructor Summary
ValidationReport(java.util.HashMap checkitems)
           
 
Method Summary
 void createFileReport(java.lang.String filepath, java.lang.String report)
          報告檔寫成檔案
 java.lang.String createReport(java.util.ArrayList alCatalogXMLValidateParser)
          產生html報告檔
 java.util.ArrayList getValidateReport(int flag, NoRepeatDigiID noRepeatDigiID, java.util.ArrayList alFile, javax.swing.DefaultListModel defaultListModel, javax.swing.JLabel jLabel1)
          取得所有DACatalog XML檔案驗證報告資訊
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

checks

public static java.util.HashMap checks
Constructor Detail

ValidationReport

public ValidationReport(java.util.HashMap checkitems)
Method Detail

getValidateReport

public java.util.ArrayList getValidateReport(int flag,
                                             NoRepeatDigiID noRepeatDigiID,
                                             java.util.ArrayList alFile,
                                             javax.swing.DefaultListModel defaultListModel,
                                             javax.swing.JLabel jLabel1)
取得所有DACatalog XML檔案驗證報告資訊


createReport

public java.lang.String createReport(java.util.ArrayList alCatalogXMLValidateParser)
產生html報告檔


createFileReport

public void createFileReport(java.lang.String filepath,
                             java.lang.String report)
報告檔寫成檔案

Parameters:
filepath - String 輸出的檔案路徑
report - String 輸出的內容