
public static class CDOServerExporter.XML extends CDOServerExporter<XMLOutput> implements CDOServerExporter.XMLConstants
exporter that creates XML output suitable to be interpreted by an
XML importer.CDOServerExporter.XML, CDOServerExporter.XMLConstantsBLOB, BRANCH, BRANCH_ID, BRANCH_NAME, BRANCH_PARENT, BRANCH_TIME, CLOB, COMMIT, COMMIT_BRANCH, COMMIT_COMMENT, COMMIT_PREVIOUS, COMMIT_TIME, COMMIT_USER, COMMITS, FEATURE, FEATURE_ID, FEATURE_INNER_FEATURE, FEATURE_INNER_TYPE, FEATURE_NAME, FEATURE_SIZE, FEATURE_TYPE, FEATURE_VALUE, INSTANCES, LOB_ID, LOB_SIZE, LOBS, MODELS, PACKAGE_INFO, PACKAGE_INFO_URI, PACKAGE_UNIT, PACKAGE_UNIT_DATA, PACKAGE_UNIT_ID, PACKAGE_UNIT_TIME, PACKAGE_UNIT_TYPE, REPOSITORY, REPOSITORY_COMMITTED, REPOSITORY_CREATED, REPOSITORY_NAME, REPOSITORY_ROOT, REPOSITORY_UUID, REVISION, REVISION_CLASS, REVISION_CONTAINER, REVISION_FEATURE, REVISION_ID, REVISION_RESOURCE, REVISION_REVISED, REVISION_TIME, REVISION_VERSION, TYPE_BLOB, TYPE_CLOB, TYPE_FEATURE_MAP| Constructor and Description |
|---|
CDOServerExporter.XML(IRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
protected XMLOutput |
createOutput(OutputStream out) |
protected void |
endPackageUnit(XMLOutput out) |
protected void |
exportAll(XMLOutput out) |
protected void |
exportBranch(XMLOutput out,
CDOBranch branch) |
protected void |
exportBranches(XMLOutput out) |
protected void |
exportCommit(XMLOutput out,
CDOCommitInfo commitInfo) |
protected void |
exportCommits(XMLOutput out) |
protected void |
exportFeature(XMLOutput out,
org.eclipse.emf.ecore.EStructuralFeature feature,
Object value) |
protected void |
exportFeature(XMLOutput out,
org.eclipse.emf.ecore.EStructuralFeature feature,
String featureType,
Object value) |
protected void |
exportLobs(XMLOutput out) |
protected void |
exportPackageInfo(XMLOutput out,
String uri) |
protected void |
exportPackages(XMLOutput out) |
protected void |
exportRevision(XMLOutput out,
CDORevision revision) |
protected OutputStream |
startBlob(XMLOutput out,
byte[] id,
long size) |
protected Writer |
startClob(XMLOutput out,
byte[] id,
long size) |
protected void |
startPackageUnit(XMLOutput out,
String id,
CDOPackageUnit.Type type,
long time,
String data) |
protected String |
str(CDOID id) |
protected String |
type(Object value) |
exportRepository, exportRevisions, getRepositorypublic CDOServerExporter.XML(IRepository repository)
protected final XMLOutput createOutput(OutputStream out) throws Exception
createOutput in class CDOServerExporter<XMLOutput>Exceptionprotected void exportAll(XMLOutput out) throws Exception
exportAll in class CDOServerExporter<XMLOutput>Exceptionprotected void exportPackages(XMLOutput out) throws Exception
exportPackages in class CDOServerExporter<XMLOutput>Exceptionprotected void startPackageUnit(XMLOutput out, String id, CDOPackageUnit.Type type, long time, String data) throws Exception
startPackageUnit in class CDOServerExporter<XMLOutput>Exceptionprotected void endPackageUnit(XMLOutput out) throws Exception
endPackageUnit in class CDOServerExporter<XMLOutput>Exceptionprotected void exportPackageInfo(XMLOutput out, String uri) throws Exception
exportPackageInfo in class CDOServerExporter<XMLOutput>Exceptionprotected void exportBranches(XMLOutput out) throws Exception
exportBranches in class CDOServerExporter<XMLOutput>Exceptionprotected void exportBranch(XMLOutput out, CDOBranch branch) throws Exception
exportBranch in class CDOServerExporter<XMLOutput>Exceptionprotected void exportRevision(XMLOutput out, CDORevision revision) throws Exception
exportRevision in class CDOServerExporter<XMLOutput>Exceptionprotected void exportFeature(XMLOutput out, org.eclipse.emf.ecore.EStructuralFeature feature, Object value) throws Exception
Exceptionprotected void exportFeature(XMLOutput out, org.eclipse.emf.ecore.EStructuralFeature feature, String featureType, Object value) throws SAXException
SAXExceptionprotected void exportLobs(XMLOutput out) throws Exception
exportLobs in class CDOServerExporter<XMLOutput>Exceptionprotected OutputStream startBlob(XMLOutput out, byte[] id, long size) throws Exception
startBlob in class CDOServerExporter<XMLOutput>Exceptionprotected Writer startClob(XMLOutput out, byte[] id, long size) throws Exception
startClob in class CDOServerExporter<XMLOutput>Exceptionprotected void exportCommits(XMLOutput out) throws Exception
exportCommits in class CDOServerExporter<XMLOutput>Exceptionprotected void exportCommit(XMLOutput out, CDOCommitInfo commitInfo) throws Exception
exportCommit in class CDOServerExporter<XMLOutput>ExceptionCopyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.