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, writeWorkingCopyLink
endDocument, getWriter, setNamespaces, setWriter, startDocument, writeAllCustomNamespace
public AtomEntry()
public AtomEntry(XMLStreamWriter writer)
public void startEntry(boolean isRoot) throws XMLStreamException
XMLStreamException
public void endEntry() throws XMLStreamException
XMLStreamException
public void writeSelfLink(String href, String id) throws XMLStreamException
XMLStreamException
public void writeObject(ObjectData object, ObjectInfo info, String contentSrc, String contentType, String pathSegment, String relativePathSegment, CmisVersion cmisVersion) throws XMLStreamException
XMLStreamException
public void writeDeletedObject(ObjectData object, CmisVersion cmisVersion) throws XMLStreamException
XMLStreamException
public void writeType(TypeDefinition type, CmisVersion cmisVersion) throws XMLStreamException
XMLStreamException
public void writeContent(String src, String type) throws XMLStreamException
XMLStreamException
public void writeEmptyContent() throws XMLStreamException
XMLStreamException
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.