public class AtomEntry extends AtomDocumentBase
| 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(ObjectData object,
CmisVersion cmisVersion)
Writes a delete object.
|
void |
writeEmptyContent()
Writes an empty content tag for Atom spec compliance.
|
void |
writeObject(ObjectData object,
ObjectInfo info,
String contentSrc,
String contentType,
String pathSegment,
String relativePathSegment,
CmisVersion cmisVersion)
Writes an object.
|
void |
writeSelfLink(String href,
String id)
Writes an entry self link.
|
void |
writeType(TypeDefinition type,
CmisVersion cmisVersion)
Writes a type.
|
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, writeTitle, writeTypeDownLink, writeTypeUpLink, writeUpdated, writeUpdated, writeUpLink, writeVersionHistoryLink, writeViaLink, writeWorkingCopyLinkendDocument, getWriter, setNamespaces, setWriter, startDocument, writeAllCustomNamespacepublic AtomEntry()
public AtomEntry(XMLStreamWriter writer)
public void startEntry(boolean isRoot)
throws XMLStreamException
XMLStreamExceptionpublic void endEntry()
throws XMLStreamException
XMLStreamExceptionpublic void writeSelfLink(String href, String id) throws XMLStreamException
XMLStreamExceptionpublic void writeObject(ObjectData object, ObjectInfo info, String contentSrc, String contentType, String pathSegment, String relativePathSegment, CmisVersion cmisVersion) throws XMLStreamException
XMLStreamExceptionpublic void writeDeletedObject(ObjectData object, CmisVersion cmisVersion) throws XMLStreamException
XMLStreamExceptionpublic void writeType(TypeDefinition type, CmisVersion cmisVersion) throws XMLStreamException
XMLStreamExceptionpublic void writeContent(String src, String type) throws XMLStreamException
XMLStreamExceptionpublic void writeEmptyContent()
throws XMLStreamException
XMLStreamExceptionCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.