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(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)
Writes a delete object.
|
void |
writeObject(ObjectData object,
ObjectInfo info,
String contentSrc,
String contentType,
String pathSegment,
String relativePathSegment)
Writes an object.
|
void |
writeType(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, writeAllCustomNamespace, writeNamespace
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 writeObject(ObjectData object, ObjectInfo info, String contentSrc, String contentType, String pathSegment, String relativePathSegment) throws javax.xml.stream.XMLStreamException, javax.xml.bind.JAXBException
public void writeDeletedObject(ObjectData object) throws javax.xml.stream.XMLStreamException, javax.xml.bind.JAXBException
public void writeType(TypeDefinition type) throws javax.xml.stream.XMLStreamException, javax.xml.bind.JAXBException
public void writeContent(String src, String type) throws javax.xml.stream.XMLStreamException
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.