public class VlVersioningProcessor
extends java.lang.Object
A VersionigProcessor can load the content of a versioning report in XBRL format. Provides methods to access to the report content and allows editing the report.
The processor allows the creation of XBRL Versioning Reports by comparing two DTSContainer objects.
Modifier and Type | Class and Description |
---|---|
static class |
VlVersioningProcessor.ClsVersioningNamespace
The Class ClsVersioningNamespace.
|
Modifier and Type | Field and Description |
---|---|
static javax.xml.namespace.QName |
versionLinkbaseLink
The Constant versionLinkbaseLink.
|
Constructor and Description |
---|
VlVersioningProcessor(java.lang.String versioningDTSUri,
java.lang.String versioningConfSuiteSchema)
Creates an instance of the versioning processor.
|
VlVersioningProcessor(java.lang.String versioningDTSUri,
java.lang.String versioningConfSuiteSchema,
DTSContainer fromDTS,
DTSContainer toDTS)
Creates an instance of the versioning processor.
|
VlVersioningProcessor(java.lang.String versioningDTSUri,
java.lang.String versioningConfSuiteSchema,
XBRLInstance vlDTS)
Creates an instance of the versioning processor.
|
Modifier and Type | Method and Description |
---|---|
void |
addAction(Action ac)
Adds the action.
|
void |
addAssignment(Assignment as)
Adds the assignment.
|
void |
compare()
Launch the comparison of the fromDTS and the toDTS.
|
java.util.Collection<Action> |
getActions()
Gets the actions.
|
java.util.Collection<Assignment> |
getAssignments()
Gets the assignments.
|
DTSComparator |
getComparator()
Gets the comparator.
|
java.lang.String |
getVersioningDTSUri()
Gets the versioning dts uri.
|
boolean |
isAssignmentsUpdated()
Checks if is assignments updated.
|
boolean |
isDocumented(Event ev)
Returns true if the event is in at least one action in this report.
|
void |
loadLaunchFile(java.net.URI temporaryFileURI)
Load a launch file.
|
void |
loadVersioningReport(XBRLInstance versioningReport)
Second edition of this method.
|
void |
removeAction(Action action)
Removes the action.
|
void |
removeAssignment(Assignment assignment)
Removes the assignment.
|
void |
reset()
Reset.
|
void |
resetAssignmentsUpdated()
Reset assignments updated.
|
void |
saveLaunchFile(DTSContainer dts,
java.net.URI fNameUri)
Write the content of the versioning report in a launch file
This is a temporary method. the Raw XML launch file will be used only in the
conformance suite
|
void |
setEmail(java.lang.String text)
Sets the email.
|
void |
setOwner(java.lang.String text)
Sets the owner.
|
void |
setResult(java.net.URI resultFile)
Sets the result.
|
void |
setVersioningTestCaseXSLTUri(java.lang.String text)
Sets the versioning test case xslt uri.
|
ConceptActivityReport |
whatHappendedTo(javax.xml.namespace.QName conceptFrom)
What happended to.
|
public static final javax.xml.namespace.QName versionLinkbaseLink
public VlVersioningProcessor(java.lang.String versioningDTSUri, java.lang.String versioningConfSuiteSchema) throws com.rs.lic.LicenseVerificationException
versioningDTSUri
- String relative uri to the versioning schemaversioningConfSuiteSchema
- String relative uri to the conformance suite schemacom.rs.lic.LicenseVerificationException
- the license verification exceptionpublic VlVersioningProcessor(java.lang.String versioningDTSUri, java.lang.String versioningConfSuiteSchema, DTSContainer fromDTS, DTSContainer toDTS) throws DTSDiscoveryException, com.rs.lic.LicenseVerificationException
versioningDTSUri
- String relative uri to the versioning schemaversioningConfSuiteSchema
- String relative uri to the conformance suite schemafromDTS
- DTSContainer the initial from DTStoDTS
- DTSContainer the initial to DTSDTSDiscoveryException
- the DTS discovery exceptioncom.rs.lic.LicenseVerificationException
- the license verification exceptionpublic VlVersioningProcessor(java.lang.String versioningDTSUri, java.lang.String versioningConfSuiteSchema, XBRLInstance vlDTS) throws DTSDiscoveryException, com.rs.lic.LicenseVerificationException
versioningDTSUri
- String relative uri to the versioning schemaversioningConfSuiteSchema
- String relative uri to the conformance suite schemavlDTS
- instance document according to the versioning taxonomy schema to loadDTSDiscoveryException
- the DTS discovery exceptioncom.rs.lic.LicenseVerificationException
- the license verification exceptionpublic void setOwner(java.lang.String text)
text
- the new ownerpublic void setResult(java.net.URI resultFile)
resultFile
- the new resultpublic void setEmail(java.lang.String text)
text
- the new emailpublic void setVersioningTestCaseXSLTUri(java.lang.String text)
text
- the new versioning test case xslt uripublic void loadVersioningReport(XBRLInstance versioningReport) throws DTSDiscoveryException, com.rs.lic.LicenseVerificationException
versioningReport
- XBRLInstanceDTSDiscoveryException
- the DTS discovery exceptioncom.rs.lic.LicenseVerificationException
- Occurs if the user does not have a license for any of the files in the DTS of the versioning reportpublic void saveLaunchFile(DTSContainer dts, java.net.URI fNameUri) throws XBRLSerializationException
fNameUri
- URIXBRLSerializationException
- the XBRL serialization exceptionpublic java.lang.String getVersioningDTSUri()
public void loadLaunchFile(java.net.URI temporaryFileURI) throws DTSDiscoveryException
temporaryFileURI
- the temporary file uriDTSDiscoveryException
- the DTS discovery exceptionpublic void reset()
public void compare()
public DTSComparator getComparator()
public java.util.Collection<Action> getActions()
public java.util.Collection<Assignment> getAssignments()
public void addAssignment(Assignment as)
as
- the aspublic void addAction(Action ac)
ac
- the acpublic void removeAssignment(Assignment assignment)
assignment
- the assignmentpublic void removeAction(Action action)
action
- the actionpublic boolean isAssignmentsUpdated()
public void resetAssignmentsUpdated()
public boolean isDocumented(Event ev)
ev
- the evpublic ConceptActivityReport whatHappendedTo(javax.xml.namespace.QName conceptFrom)
conceptFrom
- QNameCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa