|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EdifactFileCondition
Performs queries on EDIFACT or X12 interchanges and analyzes their differences.
Method Summary | |
---|---|
org.databene.edifatto.compare.AggregateDiff |
diff(String elementType,
String elementName,
org.databene.edifatto.model.Interchange expected,
org.databene.edifatto.model.Interchange actual,
org.databene.edifatto.ComparisonSettings settings,
org.databene.edifatto.compare.ComparisonModel<Element> model)
Finds out the differences between two EDIFACT or X12 interchanges, ignoring elements that match the XPath exclusion paths. |
boolean |
exists(String elementType,
String elementName,
String filePath)
Tells if a file exists at the given path. |
Object |
queryXML(String elementType,
String elementName,
org.databene.edifatto.model.Interchange interchange,
String xpathQuery,
QName returnType)
Creates an XML representation of the interchange and performs an XPath query on it. |
Methods inherited from interface org.aludratest.service.Action |
---|
createAttachments, createDebugAttachments, setSystemConnector |
Method Detail |
---|
boolean exists(String elementType, String elementName, String filePath)
elementType
- elementName
- filePath
- the file path to query
Object queryXML(String elementType, String elementName, org.databene.edifatto.model.Interchange interchange, String xpathQuery, QName returnType)
elementType
- elementName
- interchange
- the interchange to queryxpathQuery
- the XPath query to performreturnType
- determines the type of the returned object:
XPathConstants.STRING
for a single String
,
XPathConstants.NODE
for a single Element
,
XPathConstants.NODESET
for a NodeList
org.databene.edifatto.compare.AggregateDiff diff(String elementType, String elementName, org.databene.edifatto.model.Interchange expected, org.databene.edifatto.model.Interchange actual, org.databene.edifatto.ComparisonSettings settings, org.databene.edifatto.compare.ComparisonModel<Element> model)
elementType
- elementName
- expected
- the expected interchange dataactual
- the actual interface datasettings
- the ComparisonSettings
to applymodel
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |