public class AtomEntry extends AtomDocumentBase
PREFIX_APP, PREFIX_ATOM, PREFIX_CMIS, PREFIX_RESTATOM, PREFIX_XSI
Constructor and Description |
---|
AtomEntry()
Creates an Atom entry document.
|
AtomEntry(XMLStreamWriter writer)
Creates an Atom entry that is embedded somewhere.
|
Modifier and Type | Method and Description |
---|---|
void |
endEntry()
Closes the entry tag.
|
void |
startEntry(boolean isRoot)
Opens the entry tag.
|
void |
writeContent(String src,
String type)
Writes a content tag.
|
void |
writeDeletedObject(org.apache.chemistry.opencmis.commons.data.ObjectData object)
Writes a delete object.
|
void |
writeObject(org.apache.chemistry.opencmis.commons.data.ObjectData object,
org.apache.chemistry.opencmis.commons.server.ObjectInfo info,
String contentSrc,
String contentType,
String pathSegment,
String relativePathSegment)
Writes an object.
|
void |
writeType(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type)
Writes a type.
|
formatDate, generateAtomId, writeAclLink, writeAllowableActionsLink, writeAlternateLink, writeAuthor, writeCollection, writeCurrentVerionsLink, writeDescribedByLink, writeDownLink, writeEditLink, writeEditMediaLink, writeEnclosureLink, writeFirstLink, writeFolderTreeLink, writeId, writeLastLink, writeLink, writeNextLink, writePathSegment, writePoliciesLink, writePreviousLink, writePublished, writePublished, writeRelationshipsLink, writeRelationshipSourceLink, writeRelationshipTargetLink, writeRelativePathSegment, writeSelfLink, writeServiceLink, writeSimpleDate, writeSimpleDate, writeSimpleTag, writeTitle, writeTypeDownLink, writeTypeUpLink, writeUpdated, writeUpdated, writeUpLink, writeVersionHistoryLink, writeViaLink, writeWorkingCopyLink
endDocument, getWriter, setNamespaces, setWriter, startDocument, writeNamespace
public AtomEntry()
public AtomEntry(XMLStreamWriter writer)
public void startEntry(boolean isRoot) throws XMLStreamException
XMLStreamException
public void endEntry() throws XMLStreamException
XMLStreamException
public void writeObject(org.apache.chemistry.opencmis.commons.data.ObjectData object, org.apache.chemistry.opencmis.commons.server.ObjectInfo info, String contentSrc, String contentType, String pathSegment, String relativePathSegment) throws XMLStreamException, JAXBException
XMLStreamException
JAXBException
public void writeDeletedObject(org.apache.chemistry.opencmis.commons.data.ObjectData object) throws XMLStreamException, JAXBException
XMLStreamException
JAXBException
public void writeType(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type) throws XMLStreamException, JAXBException
JAXBException
XMLStreamException
public void writeContent(String src, String type) throws XMLStreamException
XMLStreamException
Copyright © 2018 City of Paris. All rights reserved.