Package ch.tocco.nice2.dbrefactoring.api
Class Changelog
java.lang.Object
ch.tocco.nice2.dbrefactoring.api.Changelog
Class for databaseChangeLog documents providing the document and methods to serialize into xml.
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidappendChangelog(Changelog changelog) Appends the contents of the given changelog to this document.booleancontainsChangeset(String author, String id) Investigates the xml and returnstrue, if a changeset tag is found with matchingidandauthorattribute.Returns the xml document.Returns an input stream to the serialized xml of the document.getRoot()protected booleanparseDocument(URL url) voidwriteXml(OutputStream out) Writes the contents of the document using the specified stream.voidWrites the contents of the document using the specified writer.
- 
Field Details- 
XML_NS- See Also:
 
- 
XML_NS_LOCATION- See Also:
 
 
- 
- 
Constructor Details- 
Changelogpublic Changelog()
- 
Changelog
- 
Changelog
 
- 
- 
Method Details- 
parseDocument
- 
parseDocument- Throws:
- DbRefactoringException
 
- 
getDocumentReturns the xml document.
- 
appendChangelogAppends the contents of the given changelog to this document.
- 
getRoot
- 
writeXmlWrites the contents of the document using the specified writer.- Throws:
- DbRefactoringException
 
- 
writeXmlWrites the contents of the document using the specified stream.- Throws:
- DbRefactoringException
 
- 
isPrettyPrintprotected boolean isPrettyPrint()
- 
containsChangesetInvestigates the xml and returnstrue, if a changeset tag is found with matchingidandauthorattribute.
- 
getInputStreamReturns an input stream to the serialized xml of the document.
 
-