|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openlca.dataconversion.LCADocument
public class LCADocument
Return type of LCADocumentBuilder and Converter.
| Field Summary | |
|---|---|
static int |
ECOSPOLD_PROCESS
Constant type key for an EcoSpold process document. |
static int |
ELCD_CONTACT
Constant type key for an ELCD contact document. |
static int |
ELCD_FLOW
Constant type key for an ELCD flow document. |
static int |
ELCD_PROCESS
Constant type key for an ELCD process document. |
static int |
ELCD_SOURCE
Constant type key for an ELCD source document. |
static int |
ISO_PROCESS
Constant type key for an ISO process document. |
static int |
METADOCUMENT
Constant type key for a meta document. |
| Method Summary | |
|---|---|
java.io.File |
getFile()
Returns the document file. |
DataFormat |
getFormat()
Returns the data format. |
java.lang.String |
getMetaDocPath()
Returns the path to the meta document. |
java.util.List<org.jdom.Document> |
getMetaDocuments()
Returns a list of meta documents created from the source file. |
java.lang.String |
getName()
Returns the name of a process data set. |
DataFormat[] |
getTargetFormats()
Returns the possible target formats. |
int |
getType()
Returns the type key of the LCADocument: 0 = ELCD process, ... |
java.lang.String |
getTypeName()
Returns the type name of the document. |
java.util.List<java.lang.String> |
getUnits()
Returns the units from a (EcoSpold or ISO process) data set. |
boolean |
isMetaDocument()
Returns true if it is a meta document. |
boolean |
isUseExistingMetaDocument()
Returns true if a meta document is used in the conversion. |
boolean |
isValid()
Returns true if data set is valid against its schema. |
void |
setUseExistingMetaDocument(boolean useExistingMetaDocument)
Sets if a meta document should be used in the conversion, if exists. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ELCD_PROCESS
public static final int ELCD_FLOW
public static final int ELCD_SOURCE
public static final int ELCD_CONTACT
public static final int ECOSPOLD_PROCESS
public static final int ISO_PROCESS
public static final int METADOCUMENT
| Method Detail |
|---|
public java.io.File getFile()
File.public DataFormat getFormat()
DataFormat.public java.lang.String getMetaDocPath()
String.
public java.util.List<org.jdom.Document> getMetaDocuments()
throws ConverterException
Document.
ConverterExceptionpublic java.lang.String getName()
String.
public DataFormat[] getTargetFormats()
throws ConverterException
DataFormat.
ConverterExceptionpublic int getType()
type.public java.lang.String getTypeName()
public java.util.List<java.lang.String> getUnits()
String.public boolean isMetaDocument()
public boolean isUseExistingMetaDocument()
public boolean isValid()
public void setUseExistingMetaDocument(boolean useExistingMetaDocument)
useExistingMetaDocument - {true, false}.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||