Class WikiConnector.WikiGetDocInfoPageContext

  • Enclosing class:
    WikiConnector

    protected static class WikiConnector.WikiGetDocInfoPageContext
    extends BaseProcessingContext
    Class representing the "api/query/pages/page" context of a "get doc info" response
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String author
      Author
      protected java.lang.String comment
      Comment
      protected java.io.File contentFile
      Content file
      protected java.lang.String lastModified
      Last modified
      protected java.lang.String title
      Title
      • Fields inherited from class org.apache.manifoldcf.agents.common.XMLContext

        localname, namespaceURI, previousContext, qname, theseAttributes, theStream
    • Constructor Summary

      Constructors 
      Constructor Description
      WikiGetDocInfoPageContext​(org.apache.manifoldcf.agents.common.XMLStream theStream, java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.manifoldcf.agents.common.XMLContext beginTag​(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts)  
      protected void endTag()  
      java.lang.String getAuthor()  
      java.lang.String getComment()  
      java.io.File getContentFile()  
      java.lang.String getLastModified()  
      java.lang.String getTitle()  
      protected void tagCleanup()  
      • Methods inherited from class org.apache.manifoldcf.agents.common.XMLContext

        characters, cleanup, endDocument, endElement, getAttribute, getLocalname, getNamespaceURI, getQname, startDocument, startElement, tagContents
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • title

        protected java.lang.String title
        Title
      • contentFile

        protected java.io.File contentFile
        Content file
      • author

        protected java.lang.String author
        Author
      • comment

        protected java.lang.String comment
        Comment
      • lastModified

        protected java.lang.String lastModified
        Last modified
    • Constructor Detail

      • WikiGetDocInfoPageContext

        public WikiGetDocInfoPageContext​(org.apache.manifoldcf.agents.common.XMLStream theStream,
                                         java.lang.String namespaceURI,
                                         java.lang.String localName,
                                         java.lang.String qName,
                                         org.xml.sax.Attributes atts)
    • Method Detail

      • beginTag

        protected org.apache.manifoldcf.agents.common.XMLContext beginTag​(java.lang.String namespaceURI,
                                                                          java.lang.String localName,
                                                                          java.lang.String qName,
                                                                          org.xml.sax.Attributes atts)
                                                                   throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
                                                                          org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        Overrides:
        beginTag in class BaseProcessingContext
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
      • endTag

        protected void endTag()
                       throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
                              org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        Overrides:
        endTag in class BaseProcessingContext
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
      • tagCleanup

        protected void tagCleanup()
                           throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Overrides:
        tagCleanup in class org.apache.manifoldcf.agents.common.XMLContext
        Throws:
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getTitle

        public java.lang.String getTitle()
      • getContentFile

        public java.io.File getContentFile()
      • getAuthor

        public java.lang.String getAuthor()
      • getComment

        public java.lang.String getComment()
      • getLastModified

        public java.lang.String getLastModified()