public abstract class AtomDocumentBase extends XMLDocumentBase
Constructor and Description |
---|
AtomDocumentBase() |
Modifier and Type | Method and Description |
---|---|
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 type,
String id) |
void |
writeServiceLink(String href,
String repositoryId) |
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, writeAllCustomNamespace
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 type, 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 © 2009-2015 The Apache Software Foundation. All Rights Reserved.