org.apache.chemistry.opencmis.server.impl.atompub
Class ServiceDocument

java.lang.Object
  extended by org.apache.chemistry.opencmis.server.impl.atompub.XMLDocumentBase
      extended by org.apache.chemistry.opencmis.server.impl.atompub.AtomDocumentBase
          extended by org.apache.chemistry.opencmis.server.impl.atompub.ServiceDocument

public class ServiceDocument
extends AtomDocumentBase

Service document class.

Author:
Florian Müller

Field Summary
 
Fields inherited from class org.apache.chemistry.opencmis.server.impl.atompub.XMLDocumentBase
PREFIX_APP, PREFIX_ATOM, PREFIX_CMIS, PREFIX_RESTATOM, PREFIX_XSI
 
Constructor Summary
ServiceDocument()
           
 
Method Summary
 void endServiceDocument()
           
 void endWorkspace()
           
 void startServiceDocument()
           
 void startWorkspace(String title)
           
 void writeRepositoryInfo(RepositoryInfo repInfo)
           
 void writeUriTemplate(String template, String type, String mediatype)
           
 
Methods inherited from class org.apache.chemistry.opencmis.server.impl.atompub.AtomDocumentBase
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
 
Methods inherited from class org.apache.chemistry.opencmis.server.impl.atompub.XMLDocumentBase
endDocument, getWriter, setNamespaces, setWriter, startDocument, writeNamespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDocument

public ServiceDocument()
Method Detail

startServiceDocument

public void startServiceDocument()
                          throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

endServiceDocument

public void endServiceDocument()
                        throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

startWorkspace

public void startWorkspace(String title)
                    throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

endWorkspace

public void endWorkspace()
                  throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeRepositoryInfo

public void writeRepositoryInfo(RepositoryInfo repInfo)
                         throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

writeUriTemplate

public void writeUriTemplate(String template,
                             String type,
                             String mediatype)
                      throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.