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.Binary, CDOServerExporter.BinaryConstants, CDOServerExporter.Statistics, 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_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 and Description |
|---|
XML(IRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
protected XMLOutput |
createOutput(java.io.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,
EStructuralFeature feature,
java.lang.Object value) |
protected void |
exportFeature(XMLOutput out,
EStructuralFeature feature,
java.lang.String featureType,
java.lang.Object value) |
protected void |
exportLobs(XMLOutput out) |
protected void |
exportPackageInfo(XMLOutput out,
java.lang.String uri) |
protected void |
exportPackages(XMLOutput out) |
protected void |
exportRevision(XMLOutput out,
CDORevision revision) |
protected java.io.OutputStream |
startBlob(XMLOutput out,
byte[] id,
long size) |
protected java.io.Writer |
startClob(XMLOutput out,
byte[] id,
long size) |
protected void |
startPackageUnit(XMLOutput out,
java.lang.String id,
CDOPackageUnit.Type type,
long time,
java.lang.String data) |
protected java.lang.String |
str(CDOID id) |
protected java.lang.String |
type(java.lang.Object value) |
exportRepository, exportRevisions, getBranchPath, getRepository, getStatistics, getTimeStamp, isExportSystemPackages, setBranchPath, setExportSystemPackages, setTimeStamppublic XML(IRepository repository)
protected final XMLOutput createOutput(java.io.OutputStream out) throws java.lang.Exception
createOutput in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected void exportAll(XMLOutput out) throws java.lang.Exception
exportAll in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected void exportPackages(XMLOutput out) throws java.lang.Exception
exportPackages in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected void startPackageUnit(XMLOutput out, java.lang.String id, CDOPackageUnit.Type type, long time, java.lang.String data) throws java.lang.Exception
startPackageUnit in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected void endPackageUnit(XMLOutput out) throws java.lang.Exception
endPackageUnit in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected void exportPackageInfo(XMLOutput out, java.lang.String uri) throws java.lang.Exception
exportPackageInfo in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected void exportBranches(XMLOutput out) throws java.lang.Exception
exportBranches in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected void exportBranch(XMLOutput out, CDOBranch branch) throws java.lang.Exception
exportBranch in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected void exportRevision(XMLOutput out, CDORevision revision) throws java.lang.Exception
exportRevision in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected void exportFeature(XMLOutput out, EStructuralFeature feature, java.lang.Object value) throws java.lang.Exception
java.lang.Exceptionprotected void exportFeature(XMLOutput out, EStructuralFeature feature, java.lang.String featureType, java.lang.Object value) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected void exportLobs(XMLOutput out) throws java.lang.Exception
exportLobs in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected java.io.OutputStream startBlob(XMLOutput out, byte[] id, long size) throws java.lang.Exception
startBlob in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected java.io.Writer startClob(XMLOutput out, byte[] id, long size) throws java.lang.Exception
startClob in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected void exportCommits(XMLOutput out) throws java.lang.Exception
exportCommits in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected void exportCommit(XMLOutput out, CDOCommitInfo commitInfo) throws java.lang.Exception
exportCommit in class CDOServerExporter<XMLOutput>java.lang.Exceptionprotected final java.lang.String str(CDOID id)
protected java.lang.String type(java.lang.Object value)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html