org.teldap.core.xmlvalidator.unionCatalog.rule
Class DACatalog

java.lang.Object
  extended by org.teldap.core.xmlvalidator.unionCatalog.rule.DACatalog

public class DACatalog
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:
徐慈妍、洪崇熙、洪國翔

Constructor Summary
DACatalog()
           
 
Method Summary
 java.util.HashMap collectMsg()
           
 boolean isCorrectAdminMetaDesc(java.util.List daCatalogList)
          檢查/DACatalog/AdminDesc、/DACatalog/MetaDesc
 boolean isCorrectTagName(org.jdom.Document doc)
          檢查DACatalog tag名稱是否為DACatalog
 boolean isTagExist(org.jdom.Document doc)
          檢查DACatalog tag是否存在
 void validateCorrectLevelCount()
          DACatalog XML階層檢查
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DACatalog

public DACatalog()
Method Detail

isTagExist

public boolean isTagExist(org.jdom.Document doc)
檢查DACatalog tag是否存在


isCorrectTagName

public boolean isCorrectTagName(org.jdom.Document doc)
檢查DACatalog tag名稱是否為DACatalog


validateCorrectLevelCount

public void validateCorrectLevelCount()
DACatalog XML階層檢查


isCorrectAdminMetaDesc

public boolean isCorrectAdminMetaDesc(java.util.List daCatalogList)
檢查/DACatalog/AdminDesc、/DACatalog/MetaDesc


collectMsg

public java.util.HashMap collectMsg()