public class DTSComparator
extends java.lang.Object
Constructor and Description |
---|
DTSComparator()
Instantiates a new DTS comparator.
|
DTSComparator(DTSContainer dts1,
DTSContainer dts2)
Instantiates a new DTS comparator.
|
DTSComparator(DTSContainer dts1,
DTSContainer dts2,
ComparatorMapping<java.lang.String> namespaceMap,
ComparatorMapping<XMLElementDefinition> conceptMap,
ComparatorMapping<java.lang.String> roleMap,
ComparatorMapping<XBRLResource> resourceMap)
A DTS Comparator investigates the differences between two DTSs.
|
Modifier and Type | Method and Description |
---|---|
void |
compare()
Compare.
|
ComparatorMapping<XMLElementDefinition> |
getConceptMapper()
Gets the concept mapper.
|
java.util.Iterator<Event> |
getEvents()
Gets the events.
|
DTSContainer |
getFromDTS()
Gets the from dts.
|
ComparatorMapping<java.lang.String> |
getNamespaceMapper()
Gets the namespace mapper.
|
ComparatorMapping<XBRLResource> |
getResourceMapper()
Gets the resource mapper.
|
ComparatorMapping<java.lang.String> |
getRoleMapper()
Gets the role mapper.
|
DTSContainer |
getToDTS()
Gets the to dts.
|
ComparatorMapping<XMLElementDefinition> |
guessConceptMapTable(OrderedFragmentsList items1,
OrderedFragmentsList items2)
Builds up a new conceptMap table based on the probability of concept matching because of the
concept QNames after namespace rules apply.
|
ComparatorMapping<XBRLResource> |
guessResourceMapTable(OrderedFragmentsList items1,
OrderedFragmentsList items2)
Builds up a new resourceMap table based on the probability of resources to match because of the
resources properties
|
void |
setConceptMapper(ComparatorMapping<XMLElementDefinition> newConceptMapper)
Sets the concept mapper.
|
void |
setFromDTS(DTSContainer leftDTS)
Sets the from dts.
|
void |
setNamespaceMapper(ComparatorMapping<java.lang.String> newNamespaceMapper)
Sets the namespace mapper.
|
void |
setResourceMapper(ComparatorMapping<XBRLResource> newMap)
Sets the resource mapper.
|
void |
setRoleMapper(ComparatorMapping<java.lang.String> newRoleMapper)
Sets the role mapper.
|
void |
setToDTS(DTSContainer rightDTS)
Sets the to dts.
|
public DTSComparator() throws com.rs.lic.LicenseVerificationException
com.rs.lic.LicenseVerificationException
- the license verification exceptionpublic DTSComparator(DTSContainer dts1, DTSContainer dts2)
dts1
- the dts1dts2
- the dts2public DTSComparator(DTSContainer dts1, DTSContainer dts2, ComparatorMapping<java.lang.String> namespaceMap, ComparatorMapping<XMLElementDefinition> conceptMap, ComparatorMapping<java.lang.String> roleMap, ComparatorMapping<XBRLResource> resourceMap)
dts1
- the dts1dts2
- the dts2namespaceMap
- the namespace mapconceptMap
- the concept maproleMap
- the role mapresourceMap
- the resource mappublic void compare()
public ComparatorMapping<java.lang.String> getNamespaceMapper()
public ComparatorMapping<java.lang.String> getRoleMapper()
public ComparatorMapping<XMLElementDefinition> getConceptMapper()
public ComparatorMapping<XBRLResource> getResourceMapper()
public void setFromDTS(DTSContainer leftDTS)
leftDTS
- the new from dtspublic void setToDTS(DTSContainer rightDTS)
rightDTS
- the new to dtspublic ComparatorMapping<XMLElementDefinition> guessConceptMapTable(OrderedFragmentsList items1, OrderedFragmentsList items2)
items1
- OrderedFragmentList of XMLElementDefinition elements onlyitems2
- OrderedFragmentList of XMLElementDefinition elements onlypublic ComparatorMapping<XBRLResource> guessResourceMapTable(OrderedFragmentsList items1, OrderedFragmentsList items2)
items1
- OrderedFragmentList of XBRLResource elements onlyitems2
- OrderedFragmentList of XBRLResource elements onlypublic java.util.Iterator<Event> getEvents()
public DTSContainer getFromDTS()
public DTSContainer getToDTS()
public void setRoleMapper(ComparatorMapping<java.lang.String> newRoleMapper)
newRoleMapper
- the new role mapperpublic void setNamespaceMapper(ComparatorMapping<java.lang.String> newNamespaceMapper)
newNamespaceMapper
- the new namespace mapperpublic void setConceptMapper(ComparatorMapping<XMLElementDefinition> newConceptMapper)
newConceptMapper
- the new concept mapperpublic void setResourceMapper(ComparatorMapping<XBRLResource> newMap)
newMap
- the new resource mapperCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa