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, writeWorkingCopyLinkendDocument, getWriter, setNamespaces, setWriter, startDocument, writeNamespacepublic AtomEntry()
public AtomEntry(XMLStreamWriter writer)
public void startEntry(boolean isRoot)
throws XMLStreamException
XMLStreamExceptionpublic void endEntry()
throws XMLStreamException
XMLStreamExceptionpublic 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
XMLStreamExceptionJAXBExceptionpublic void writeDeletedObject(org.apache.chemistry.opencmis.commons.data.ObjectData object)
throws XMLStreamException,
JAXBException
XMLStreamExceptionJAXBExceptionpublic void writeType(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type)
throws XMLStreamException,
JAXBException
JAXBExceptionXMLStreamExceptionpublic void writeContent(String src, String type) throws XMLStreamException
XMLStreamExceptionCopyright © 2018 City of Paris. All rights reserved.