public interface ExportDataAnalyzerService
ExportService
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute(Element el,
java.lang.String attribute)
Returns the
Element s 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<?> |
getExporterClass(Element el)
Returns the
Class of the exporter of the given Element |
java.util.Collection<java.lang.Class<?>> |
getExporterClasses(ExportDataProvider dataProvider)
Returns a
Collection of exporter Class es 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
Element s 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)
Document
Document
java.lang.String getExportDescription(ExportDataProvider dataProvider)
Document
Document
java.util.Date getExportDate(ExportDataProvider dataProvider)
Date
of a given Document
Date
Elements getExporterElements(ExportDataProvider dataProvider)
NodeList
of exporter elements of a given Document
NodeList
of exporter elementsjava.util.Collection<java.lang.Class<?>> getExporterClasses(ExportDataProvider dataProvider) throws java.lang.ClassNotFoundException
Collection
of exporter Class
es of a given
Document
Collection
of exporter Class
esjava.lang.ClassNotFoundException
java.lang.Class<?> getExporterClass(Element el) throws java.lang.ClassNotFoundException
Class
of the exporter of the given Element
el
- The Element
Class
of the exporterjava.lang.ClassNotFoundException
java.util.List<ExportedItem> getExportedItemsFor(ExportDataProvider dataProvider, java.lang.Class<? extends Exporter> exporter) throws java.lang.ClassNotFoundException
exporter
- The Exporter
to useList
of ExportedItemsjava.lang.ClassNotFoundException
ExportedItem getExportedItemFor(Element el, ExportDataProvider dataProvider) throws java.lang.ClassNotFoundException
ExportedItem
for the given Element
el
- The Element
dataProvider
- ExportedItem
java.lang.ClassNotFoundException
java.util.Collection<ItemProperty> getItemPropertiesFor(Element el) throws java.lang.ClassNotFoundException
el
- The Element
Collection
of ItemProperty
sjava.lang.ClassNotFoundException
ItemProperty getItemPropertyFor(Element el) throws java.lang.ClassNotFoundException
ItemProperty
for the given Element
el
- The Element
ItemProperty
java.lang.ClassNotFoundException
EnclosedItemProperty getEnclosedPropertyFor(Element el) throws java.lang.ClassNotFoundException
EnclosedItemProperty
for the given Element
el
- The Element
EnclosedItemProperty
java.lang.ClassNotFoundException
java.util.List<ItemProperty> getCollectionValuesFor(Element el) throws java.lang.ClassNotFoundException
el
- The Element
List
of ItemProperty
sjava.lang.ClassNotFoundException
java.util.List<Element> getCollectionValueElementsFor(Element el)
element
as a
NodeList
el
- The Element
NodeList
Elements getExportedItemElementsFor(ExportDataProvider dataProvider, java.lang.Class<? extends Exporter> exporter)
boolean isExportedItemElement(Element el)
Element
is an exported item element or notel
- The Element
Element
is an exporter item element; False
otherwisevoid validateExportedItemElement(Element el)
Element
el
- The exported item Element
java.lang.String getItemId(Element el)
Element
el
- The Element
java.lang.String getItemType(Element el)
Element
el
- The Element
java.lang.Class<?> getItemTypeAsClass(Element el) throws java.lang.ClassNotFoundException
Element
as a Class
el
- The Element
Class
java.lang.ClassNotFoundException
java.util.List<Element> getItemsPropertyElements(Element el)
Element
s property elements as a NodeList
el
- The Element
NodeList
boolean hasAttribute(Element el, java.lang.String attribute)
Element
has the given attribute or notel
- The Element
attribute
- The attributeElement
as the given attribute; False otherwisejava.lang.String getAttribute(Element el, java.lang.String attribute)
Element
s value of the given attributeel
- The Element
attribute
- The attributeExportedItem getExportedItemById(ExportDataProvider dataProvider, java.lang.String id) throws java.lang.ClassNotFoundException
ExportedItem
identified by the given ID.id
- The ID of the ExportedItem
ExportedItem
or nulljava.lang.ClassNotFoundException
ExportedItem 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 ExportedItem
ExportedItem
including enclosed elements or nulljava.lang.ClassNotFoundException
java.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.ClassNotFoundException
EnclosedItemProperty 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.ClassNotFoundException
ExportedItem getRoot(ExportDataProvider dataProvider, java.lang.Class<? extends Exporter> exporter) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException