public abstract class AtomDocumentBase extends XMLDocumentBase
PREFIX_APP, PREFIX_ATOM, PREFIX_CMIS, PREFIX_RESTATOM, PREFIX_XSI
Constructor and Description |
---|
AtomDocumentBase() |
Modifier and Type | Method and Description |
---|---|
String |
formatDate(long millis)
Formats a DateTime.
|
String |
generateAtomId(String input)
Generates a valid Atom id.
|
void |
writeAclLink(String href) |
void |
writeAllowableActionsLink(String href) |
void |
writeAlternateLink(String href,
String type,
String kind,
String title,
BigInteger length) |
void |
writeAuthor(String author)
Writes an Atom author tag.
|
void |
writeCollection(String href,
String collectionType,
String text,
String... accept)
Writes an Atom collection.
|
void |
writeCurrentVerionsLink(String href) |
void |
writeDescribedByLink(String href) |
void |
writeDownLink(String href,
String type) |
void |
writeEditLink(String href) |
void |
writeEditMediaLink(String href,
String type) |
void |
writeEnclosureLink(String href) |
void |
writeFirstLink(String href) |
void |
writeFolderTreeLink(String href) |
void |
writeId(String id)
Writes an Atom id tag.
|
void |
writeLastLink(String href) |
void |
writeLink(String rel,
String href,
String type,
String id)
Writes a link.
|
void |
writeNextLink(String href) |
void |
writePathSegment(String pathSegment)
Writes a CMIS pathSegment tag.
|
void |
writePoliciesLink(String href) |
void |
writePreviousLink(String href) |
void |
writePublished(GregorianCalendar published)
Writes an Atom published tag.
|
void |
writePublished(long published)
Writes an Atom published tag.
|
void |
writeRelationshipsLink(String href) |
void |
writeRelationshipSourceLink(String href) |
void |
writeRelationshipTargetLink(String href) |
void |
writeRelativePathSegment(String relativePathSegment)
Writes a CMIS relativePathSegment tag.
|
void |
writeSelfLink(String href,
String id) |
void |
writeServiceLink(String href,
String repositoryId) |
void |
writeSimpleDate(String namespace,
String name,
GregorianCalendar value)
Writes a simple date tag.
|
void |
writeSimpleDate(String namespace,
String name,
long millis)
Writes a simple date tag.
|
void |
writeSimpleTag(String namespace,
String name,
String value)
Writes a simple tag.
|
void |
writeTitle(String title)
Writes an Atom title tag.
|
void |
writeTypeDownLink(String href,
String type) |
void |
writeTypeUpLink(String href,
String type) |
void |
writeUpdated(GregorianCalendar updated)
Writes an Atom updated tag.
|
void |
writeUpdated(long updated)
Writes an Atom updated tag.
|
void |
writeUpLink(String href,
String type) |
void |
writeVersionHistoryLink(String href) |
void |
writeViaLink(String href) |
void |
writeWorkingCopyLink(String href) |
endDocument, getWriter, setNamespaces, setWriter, startDocument, writeNamespace
public String formatDate(long millis)
public void writeSimpleTag(String namespace, String name, String value) throws XMLStreamException
XMLStreamException
public void writeSimpleDate(String namespace, String name, GregorianCalendar value) throws XMLStreamException
XMLStreamException
public void writeSimpleDate(String namespace, String name, long millis) throws XMLStreamException
XMLStreamException
public void writeId(String id) throws XMLStreamException
XMLStreamException
public void writeTitle(String title) throws XMLStreamException
XMLStreamException
public void writeAuthor(String author) throws XMLStreamException
XMLStreamException
public void writeUpdated(GregorianCalendar updated) throws XMLStreamException
XMLStreamException
public void writeUpdated(long updated) throws XMLStreamException
XMLStreamException
public void writePublished(GregorianCalendar published) throws XMLStreamException
XMLStreamException
public void writePublished(long published) throws XMLStreamException
XMLStreamException
public void writePathSegment(String pathSegment) throws XMLStreamException
XMLStreamException
public void writeRelativePathSegment(String relativePathSegment) throws XMLStreamException
XMLStreamException
public void writeCollection(String href, String collectionType, String text, String... accept) throws XMLStreamException
XMLStreamException
public void writeLink(String rel, String href, String type, String id) throws XMLStreamException
XMLStreamException
public void writeServiceLink(String href, String repositoryId) throws XMLStreamException
XMLStreamException
public void writeSelfLink(String href, String id) throws XMLStreamException
XMLStreamException
public void writeEnclosureLink(String href) throws XMLStreamException
XMLStreamException
public void writeEditLink(String href) throws XMLStreamException
XMLStreamException
public void writeAlternateLink(String href, String type, String kind, String title, BigInteger length) throws XMLStreamException
XMLStreamException
public void writeWorkingCopyLink(String href) throws XMLStreamException
XMLStreamException
public void writeUpLink(String href, String type) throws XMLStreamException
XMLStreamException
public void writeDownLink(String href, String type) throws XMLStreamException
XMLStreamException
public void writeVersionHistoryLink(String href) throws XMLStreamException
XMLStreamException
public void writeCurrentVerionsLink(String href) throws XMLStreamException
XMLStreamException
public void writeEditMediaLink(String href, String type) throws XMLStreamException
XMLStreamException
public void writeDescribedByLink(String href) throws XMLStreamException
XMLStreamException
public void writeAllowableActionsLink(String href) throws XMLStreamException
XMLStreamException
public void writeAclLink(String href) throws XMLStreamException
XMLStreamException
public void writePoliciesLink(String href) throws XMLStreamException
XMLStreamException
public void writeRelationshipsLink(String href) throws XMLStreamException
XMLStreamException
public void writeRelationshipSourceLink(String href) throws XMLStreamException
XMLStreamException
public void writeRelationshipTargetLink(String href) throws XMLStreamException
XMLStreamException
public void writeFolderTreeLink(String href) throws XMLStreamException
XMLStreamException
public void writeTypeUpLink(String href, String type) throws XMLStreamException
XMLStreamException
public void writeTypeDownLink(String href, String type) throws XMLStreamException
XMLStreamException
public void writeViaLink(String href) throws XMLStreamException
XMLStreamException
public void writeFirstLink(String href) throws XMLStreamException
XMLStreamException
public void writeLastLink(String href) throws XMLStreamException
XMLStreamException
public void writePreviousLink(String href) throws XMLStreamException
XMLStreamException
public void writeNextLink(String href) throws XMLStreamException
XMLStreamException
Copyright © 2018 City of Paris. All rights reserved.