public class OdemXmlContainerSpecification extends ContainerSpecification
Constructor and Description |
---|
OdemXmlContainerSpecification(java.lang.String containerName,
org.pfsw.six.Element xml)
Initialize the new instance with default values.
|
Modifier and Type | Method and Description |
---|---|
protected CollectionUtil |
coll() |
protected org.pfsw.six.Element |
getContainerXml() |
org.pfsw.six.Element[] |
getDependencyElements(ClassInformation classInfo)
Returns the dependency element that are defined below the element that
corresponds to the given classInfo.
|
org.pfsw.six.Element |
getNamespaceElement(java.lang.String name)
Returns the namespace element with the given name in this container
or null if it cannot be found.
|
org.pfsw.six.Element[] |
getNamespaceElements()
Returns all namespace elements in this container.
|
org.pfsw.six.Element |
getTypeElement(ClassInformation classInfo)
Returns the type element in this container that corresponds to the given
classInfo or null if it cannot be found.
|
boolean |
isMetaData()
Returns true if this element specifies containers and their content by
meta data rather than defining the location of binary class files.
|
protected void |
setContainerXml(org.pfsw.six.Element newValue) |
close, fileUtil, getClassesFolderName, getClasspathElement, getContainerNames, getContainerType, getDisplayName, getFileInfo, getFullContainerName, getParentBundleSpec, getPhysicalName, getQualifiedContainerName, getSimpleContainerName, getSubDirExcludeFilter, isArchive, isDirectory, isEmbedded, isPhysicalArchive, isPhysicalDirectory, isValid, open, openContainedFile, release, setClasspathElement, setContainerType, setFileRepresentation, str, toString
public OdemXmlContainerSpecification(java.lang.String containerName, org.pfsw.six.Element xml)
public boolean isMetaData()
ContainerSpecification
isMetaData
in class ContainerSpecification
public org.pfsw.six.Element[] getNamespaceElements()
public org.pfsw.six.Element getNamespaceElement(java.lang.String name)
name
- The name of the namespace to lookuppublic org.pfsw.six.Element getTypeElement(ClassInformation classInfo)
public org.pfsw.six.Element[] getDependencyElements(ClassInformation classInfo)
protected CollectionUtil coll()
protected org.pfsw.six.Element getContainerXml()
protected void setContainerXml(org.pfsw.six.Element newValue)