public interface ExportDataAnalyzerService
ExportService| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttribute(Element el,
java.lang.String attribute)
Returns the
Elements value of the given attribute |
java.util.List<Element> |
getCollectionValueElementsFor(Element el)
Returns the collection value elements for a given
element as a
NodeList |
java.util.List<ItemProperty> |
getCollectionValuesFor(Element el)
|
EnclosedItemProperty |
getEnclosedPropertyFor(Element el)
Returns the
EnclosedItemProperty for the given Element |
EnclosedItemProperty |
getEnclosedPropertyFor(ExportDataProvider dataProvider,
java.lang.String id)
Returns the
EnclosedItemProperty for the exported element identified
by the given ID. |
java.util.Date |
getExportDate(ExportDataProvider dataProvider)
Returns the export
Date of a given Document |
java.lang.String |
getExportDescription(ExportDataProvider dataProvider)
Returns the export description of a given
Document |
ExportedItem |
getExportedItemById(ExportDataProvider dataProvider,
java.lang.String id)
Gets the
ExportedItem identified by the given ID. |
Elements |
getExportedItemElementsFor(ExportDataProvider dataProvider,
java.lang.Class<? extends Exporter> exporter)
|
ExportedItem |
getExportedItemFor(Element el,
ExportDataProvider dataProvider)
Gets the
ExportedItem for the given Element |
java.util.List<ExportedItem> |
getExportedItemsFor(ExportDataProvider dataProvider,
java.lang.Class<? extends Exporter> exporter)
|
ExportedItem |
getExportedItemWithEnclosed(ExportDataProvider dataProvider,
java.lang.String id)
Gets the
ExportedItem identified by the given ID including enclosed
elements. |
java.lang.Class<? extends Exporter> |
getExporterClass(Element el)
Returns the
Class of the exporter of the given Element |
java.util.Collection<java.lang.Class<? extends Exporter>> |
getExporterClasses(ExportDataProvider dataProvider)
Returns a
Collection of exporter Classes of a given
Document |
Elements |
getExporterElements(ExportDataProvider dataProvider)
Returns a
NodeList of exporter elements of a given Document |
java.lang.Class<?> |
getExporterForEnclosed(ExportDataProvider dataProvider,
java.lang.String id)
Gets the
Class of the exporter type used for the enclosed elements of
the Element identified by the given ID. |
java.lang.String |
getExportName(ExportDataProvider dataProvider)
Returns the export name of a given
Document |
java.lang.String |
getItemId(Element el)
Returns the ID attribute of the given
Element |
java.util.Collection<ItemProperty> |
getItemPropertiesFor(Element el)
|
ItemProperty |
getItemPropertyFor(Element el)
Returns the
ItemProperty for the given Element |
java.util.List<Element> |
getItemsPropertyElements(Element el)
Returns the
Elements property elements as a NodeList |
java.lang.String |
getItemType(Element el)
Returns the type attribute of the given
Element |
java.lang.Class<?> |
getItemTypeAsClass(Element el)
Returns the type attribute of the given
Element as a Class |
ExportedItem |
getRoot(ExportDataProvider dataProvider,
java.lang.Class<? extends Exporter> exporter) |
boolean |
hasAttribute(Element el,
java.lang.String attribute)
Checks wether the given
Element has the given attribute or not |
boolean |
isExportedItemElement(Element el)
Checks wether a given
Element is an exported item element or not |
void |
validateExportedItemElement(Element el)
Validates the given exported item
Element |
java.lang.String getExportName(ExportDataProvider dataProvider)
DocumentDocumentjava.lang.String getExportDescription(ExportDataProvider dataProvider)
DocumentDocumentjava.util.Date getExportDate(ExportDataProvider dataProvider)
Date of a given DocumentDateElements getExporterElements(ExportDataProvider dataProvider)
NodeList of exporter elements of a given DocumentNodeList of exporter elementsjava.util.Collection<java.lang.Class<? extends Exporter>> getExporterClasses(ExportDataProvider dataProvider) throws java.lang.ClassNotFoundException
Collection of exporter Classes of a given
DocumentCollection of exporter Classesjava.lang.ClassNotFoundExceptionjava.lang.Class<? extends Exporter> getExporterClass(Element el) throws java.lang.ClassNotFoundException
Class of the exporter of the given Elementel - The ElementClass of the exporterjava.lang.ClassNotFoundExceptionjava.util.List<ExportedItem> getExportedItemsFor(ExportDataProvider dataProvider, java.lang.Class<? extends Exporter> exporter) throws java.lang.ClassNotFoundException
exporter - The Exporter to useList of ExportedItemsjava.lang.ClassNotFoundExceptionExportedItem getExportedItemFor(Element el, ExportDataProvider dataProvider) throws java.lang.ClassNotFoundException
ExportedItem for the given Elementel - The ElementdataProvider - ExportedItemjava.lang.ClassNotFoundExceptionjava.util.Collection<ItemProperty> getItemPropertiesFor(Element el) throws java.lang.ClassNotFoundException
el - The ElementCollection of ItemPropertysjava.lang.ClassNotFoundExceptionItemProperty getItemPropertyFor(Element el) throws java.lang.ClassNotFoundException
ItemProperty for the given Elementel - The ElementItemPropertyjava.lang.ClassNotFoundExceptionEnclosedItemProperty getEnclosedPropertyFor(Element el) throws java.lang.ClassNotFoundException
EnclosedItemProperty for the given Elementel - The ElementEnclosedItemPropertyjava.lang.ClassNotFoundExceptionjava.util.List<ItemProperty> getCollectionValuesFor(Element el) throws java.lang.ClassNotFoundException
el - The ElementList of ItemPropertysjava.lang.ClassNotFoundExceptionjava.util.List<Element> getCollectionValueElementsFor(Element el)
element as a
NodeListel - The ElementNodeListElements getExportedItemElementsFor(ExportDataProvider dataProvider, java.lang.Class<? extends Exporter> exporter)
boolean isExportedItemElement(Element el)
Element is an exported item element or notel - The ElementElement is an exporter item element; False
otherwisevoid validateExportedItemElement(Element el)
Elementel - The exported item Elementjava.lang.String getItemId(Element el)
Elementel - The Elementjava.lang.String getItemType(Element el)
Elementel - The Elementjava.lang.Class<?> getItemTypeAsClass(Element el)
throws java.lang.ClassNotFoundException
Element as a Classel - The ElementClassjava.lang.ClassNotFoundExceptionjava.util.List<Element> getItemsPropertyElements(Element el)
Elements property elements as a NodeListel - The ElementNodeListboolean hasAttribute(Element el,
java.lang.String attribute)
Element has the given attribute or notel - The Elementattribute - The attributeElement as the given attribute; False otherwisejava.lang.String getAttribute(Element el,
java.lang.String attribute)
Elements value of the given attributeel - The Elementattribute - The attributeExportedItem getExportedItemById(ExportDataProvider dataProvider, java.lang.String id) throws java.lang.ClassNotFoundException
ExportedItem identified by the given ID.id - The ID of the ExportedItemExportedItem or nulljava.lang.ClassNotFoundExceptionExportedItem getExportedItemWithEnclosed(ExportDataProvider dataProvider, java.lang.String id) throws java.lang.ClassNotFoundException
ExportedItem identified by the given ID including enclosed
elements.id - The ID of the ExportedItemExportedItem including enclosed elements or nulljava.lang.ClassNotFoundExceptionjava.lang.Class<?> getExporterForEnclosed(ExportDataProvider dataProvider, java.lang.String id) throws java.lang.ClassNotFoundException
Class of the exporter type used for the enclosed elements of
the Element identified by the given ID.id - The ID of the exported elementClass of the used exporter type or nulljava.lang.ClassNotFoundExceptionEnclosedItemProperty getEnclosedPropertyFor(ExportDataProvider dataProvider, java.lang.String id) throws java.lang.ClassNotFoundException
EnclosedItemProperty for the exported element identified
by the given ID.id - The ID of the exported ElementEnclosedItemProperty of the exported elementjava.lang.ClassNotFoundExceptionExportedItem getRoot(ExportDataProvider dataProvider, java.lang.Class<? extends Exporter> exporter) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException