org.pf.tools.cda.base.model.util
Class ContainerSpecificationElement

java.lang.Object
  extended by org.pf.file.ClasspathElement
      extended by org.pf.tools.cda.base.model.util.ContainerSpecificationElement
Direct Known Subclasses:
OdemXmlContainerSpecification

public class ContainerSpecificationElement
extends org.pf.file.ClasspathElement

Each instance defines one element that specifies one or more container objects. Currently the following different container specification elements are supported:

Version:
1.0
Author:
M.Duchrow

Constructor Summary
ContainerSpecificationElement(java.lang.String elementName)
          Initialize the new instance with a name.
 
Method Summary
 boolean isArchive()
           
 boolean isDirectory()
           
 boolean isMetaData()
          Returns true if this element specifies containers and their content by meta data rather than defining the location of binary class files.
 
Methods inherited from class org.pf.file.ClasspathElement
close, contains, createURL, equals, exists, getFileInfo, getName, getURL, hashCode, isFile, isOpen, isValid, leaveArchiveOpen, leaveArchiveOpen, open, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContainerSpecificationElement

public ContainerSpecificationElement(java.lang.String elementName)
Initialize the new instance with a name.

Method Detail

isMetaData

public boolean isMetaData()
Returns true if this element specifies containers and their content by meta data rather than defining the location of binary class files.


isArchive

public boolean isArchive()
Overrides:
isArchive in class org.pf.file.ClasspathElement

isDirectory

public boolean isDirectory()
Overrides:
isDirectory in class org.pf.file.ClasspathElement