org.equanda.subjectory
Class XmlFileContainer

java.lang.Object
  extended by org.equanda.subjectory.DataContainerAdapter
      extended by org.equanda.subjectory.XmlFileContainer
All Implemented Interfaces:
DataContainer

public class XmlFileContainer
extends DataContainerAdapter

Data container bsaed on a simple xml file

Author:
Joachim Van der Auwera

Field Summary
 
Fields inherited from class org.equanda.subjectory.DataContainerAdapter
containerMap, DEFAULT_CONTAINER, xPathFactory
 
Constructor Summary
XmlFileContainer(File file)
           
 
Method Summary
 String getContainerType()
          Get container type identifier string.
protected  void setNameSpaceContext(XPath xPath)
           
 
Methods inherited from class org.equanda.subjectory.DataContainerAdapter
getAttachment, getContainer, getDom, getNodeList, getString, getXPath, setContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlFileContainer

public XmlFileContainer(File file)
                 throws IOException
Throws:
IOException
Method Detail

getContainerType

public String getContainerType()
Description copied from interface: DataContainer
Get container type identifier string.

Returns:
container type identifier

setNameSpaceContext

protected void setNameSpaceContext(XPath xPath)
Specified by:
setNameSpaceContext in class DataContainerAdapter


Copyright © 2007-2009. All Rights Reserved.