public class AtomEntry extends AtomDocumentBase
Constructor and Description |
---|
AtomEntry()
Creates an Atom entry document.
|
AtomEntry(javax.xml.stream.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(javax.xml.stream.XMLStreamWriter writer)
public void startEntry(boolean isRoot) throws javax.xml.stream.XMLStreamException
public void endEntry() throws javax.xml.stream.XMLStreamException
public void writeSelfLink(String href, String id) throws javax.xml.stream.XMLStreamException
public void writeObject(ObjectData object, ObjectInfo info, String contentSrc, String contentType, String pathSegment, String relativePathSegment, CmisVersion cmisVersion) throws javax.xml.stream.XMLStreamException
public void writeDeletedObject(ObjectData object, CmisVersion cmisVersion) throws javax.xml.stream.XMLStreamException
public void writeType(TypeDefinition type, CmisVersion cmisVersion) throws javax.xml.stream.XMLStreamException
public void writeContent(String src, String type) throws javax.xml.stream.XMLStreamException
public void writeEmptyContent() throws javax.xml.stream.XMLStreamException
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.