Package org.eclipse.emf.cdo.server
Class CDOServerExporter.XML
- java.lang.Object
- 
- org.eclipse.emf.cdo.server.CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- 
- org.eclipse.emf.cdo.server.CDOServerExporter.XML
 
 
- 
- All Implemented Interfaces:
- CDOServerExporter.XMLConstants
 - Enclosing class:
- CDOServerExporter<OUT>
 
 public static class CDOServerExporter.XML extends CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput> implements CDOServerExporter.XMLConstants Anexporterthat creates XML output suitable to be interpreted by anXML importer.- Author:
- Eike Stepper
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.eclipse.emf.cdo.server.CDOServerExporterCDOServerExporter.Binary, CDOServerExporter.BinaryConstants, CDOServerExporter.Statistics, CDOServerExporter.XML, CDOServerExporter.XMLConstants
 
- 
 - 
Field Summary- 
Fields inherited from interface org.eclipse.emf.cdo.server.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_ISNULL, FEATURE_ISSET, FEATURE_NAME, FEATURE_SIZE, FEATURE_TYPE, FEATURE_VALUE, INSTANCES, LOB_ID, LOB_SIZE, LOBS, MERGE_SOURCE_BRANCH, MERGE_SOURCE_TIME, 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_EXPORT_BRANCH, REPOSITORY_EXPORT_TIME, REPOSITORY_NAME, REPOSITORY_ROOT, REPOSITORY_UUID, REVISION, REVISION_CLASS, REVISION_CONTAINER, REVISION_DETACHED, REVISION_FEATURE, REVISION_ID, REVISION_RESOURCE, REVISION_REVISED, REVISION_TIME, REVISION_VERSION, TYPE_BLOB, TYPE_BYTE_ARRAY, TYPE_CLOB, TYPE_FEATURE_MAP
 
- 
 - 
Constructor SummaryConstructors Constructor Description XML(IRepository repository)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.net4j.util.io.XMLOutputcreateOutput(java.io.OutputStream out)protected voidendPackageUnit(org.eclipse.net4j.util.io.XMLOutput out)protected voidexportAll(org.eclipse.net4j.util.io.XMLOutput out)protected voidexportBranch(org.eclipse.net4j.util.io.XMLOutput out, CDOBranch branch)protected voidexportBranches(org.eclipse.net4j.util.io.XMLOutput out)protected voidexportCommit(org.eclipse.net4j.util.io.XMLOutput out, CDOCommitInfo commitInfo)protected voidexportCommits(org.eclipse.net4j.util.io.XMLOutput out)protected voidexportFeature(org.eclipse.net4j.util.io.XMLOutput out, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object value)protected voidexportFeature(org.eclipse.net4j.util.io.XMLOutput out, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.String featureType, java.lang.Object value)protected voidexportLobs(org.eclipse.net4j.util.io.XMLOutput out)protected voidexportPackageInfo(org.eclipse.net4j.util.io.XMLOutput out, java.lang.String uri)protected voidexportPackages(org.eclipse.net4j.util.io.XMLOutput out)protected voidexportRevision(org.eclipse.net4j.util.io.XMLOutput out, CDORevision revision)protected java.io.OutputStreamstartBlob(org.eclipse.net4j.util.io.XMLOutput out, byte[] id, long size)protected java.io.WriterstartClob(org.eclipse.net4j.util.io.XMLOutput out, byte[] id, long size)protected voidstartPackageUnit(org.eclipse.net4j.util.io.XMLOutput out, java.lang.String id, CDOPackageUnit.Type type, long time, java.lang.String data)protected java.lang.Stringstr(CDOID id)protected java.lang.Stringtype(java.lang.Object value)- 
Methods inherited from class org.eclipse.emf.cdo.server.CDOServerExporterexportRepository, exportRevisions, getBranchPath, getRepository, getStatistics, getTimeStamp, isExportSystemPackages, setBranchPath, setExportSystemPackages, setTimeStamp
 
- 
 
- 
- 
- 
Constructor Detail- 
XMLpublic XML(IRepository repository) 
 
- 
 - 
Method Detail- 
createOutputprotected final org.eclipse.net4j.util.io.XMLOutput createOutput(java.io.OutputStream out) throws java.lang.Exception- Specified by:
- createOutputin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
exportAllprotected void exportAll(org.eclipse.net4j.util.io.XMLOutput out) throws java.lang.Exception- Overrides:
- exportAllin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
exportPackagesprotected void exportPackages(org.eclipse.net4j.util.io.XMLOutput out) throws java.lang.Exception- Overrides:
- exportPackagesin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
startPackageUnitprotected void startPackageUnit(org.eclipse.net4j.util.io.XMLOutput out, java.lang.String id, CDOPackageUnit.Type type, long time, java.lang.String data) throws java.lang.Exception- Specified by:
- startPackageUnitin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
endPackageUnitprotected void endPackageUnit(org.eclipse.net4j.util.io.XMLOutput out) throws java.lang.Exception- Specified by:
- endPackageUnitin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
exportPackageInfoprotected void exportPackageInfo(org.eclipse.net4j.util.io.XMLOutput out, java.lang.String uri) throws java.lang.Exception- Specified by:
- exportPackageInfoin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
exportBranchesprotected void exportBranches(org.eclipse.net4j.util.io.XMLOutput out) throws java.lang.Exception- Overrides:
- exportBranchesin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
exportBranchprotected void exportBranch(org.eclipse.net4j.util.io.XMLOutput out, CDOBranch branch) throws java.lang.Exception- Overrides:
- exportBranchin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
exportRevisionprotected void exportRevision(org.eclipse.net4j.util.io.XMLOutput out, CDORevision revision) throws java.lang.Exception- Specified by:
- exportRevisionin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
exportFeatureprotected void exportFeature(org.eclipse.net4j.util.io.XMLOutput out, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object value) throws java.lang.Exception- Throws:
- java.lang.Exception
 
 - 
exportFeatureprotected void exportFeature(org.eclipse.net4j.util.io.XMLOutput out, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.String featureType, java.lang.Object value) throws org.xml.sax.SAXException- Throws:
- org.xml.sax.SAXException
 
 - 
exportLobsprotected void exportLobs(org.eclipse.net4j.util.io.XMLOutput out) throws java.lang.Exception- Overrides:
- exportLobsin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
startBlobprotected java.io.OutputStream startBlob(org.eclipse.net4j.util.io.XMLOutput out, byte[] id, long size) throws java.lang.Exception- Specified by:
- startBlobin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
startClobprotected java.io.Writer startClob(org.eclipse.net4j.util.io.XMLOutput out, byte[] id, long size) throws java.lang.Exception- Specified by:
- startClobin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
exportCommitsprotected void exportCommits(org.eclipse.net4j.util.io.XMLOutput out) throws java.lang.Exception- Overrides:
- exportCommitsin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
exportCommitprotected void exportCommit(org.eclipse.net4j.util.io.XMLOutput out, CDOCommitInfo commitInfo) throws java.lang.Exception- Specified by:
- exportCommitin class- CDOServerExporter<org.eclipse.net4j.util.io.XMLOutput>
- Throws:
- java.lang.Exception
 
 - 
strprotected final java.lang.String str(CDOID id) 
 - 
typeprotected java.lang.String type(java.lang.Object value) 
 
- 
 
-