//# 2 errors, 313 messages
//#
/*
    //#Collection.java:1:1: class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#Collection.java:1:1: method: org.apache.roller.weblogger.webservices.atomprotocol.Collection.org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init
* Licensed to the Apache Software Foundation (ASF) under one or more
*  contributor license agreements.  The ASF licenses this file to You
* under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.  For additional information regarding
* copyright in this work, please see the NOTICE file in the top level
* directory of this distribution.
*/ 
package org.apache.roller.weblogger.webservices.atomprotocol;

import com.sun.syndication.feed.atom.Category;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.jdom.Element;


/**
 * This class models an Atom workspace collection.    
 *//* 
	appCollection =
	   element app:collection {
   appCommonAttributes,
   attribute href { atomURI  },
   ( appAccept?	
     & appCategories*
     & extensionElement* )
	   }
 */
public class Collection {
    private String title = null;
    private String titleType = null; // may be TEXT, HTML, XHTML
    private String accept = "entry";
    private String listTemplate = null;
    private String href = null;
    private List categories = new ArrayList(); // of Categories objects    
    private List accepts = new ArrayList(); // of Strings
    
    /**
     * Collection MUST have title and href.
     * @param title    Title for collection
     * @param typeType Content type of title (null for plain text)
     * @param href     Collection URI.
     */
    public Collection(String title, String titleType, String href) {
    //#Collection.java:54: method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)
    //#input(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): href
    //#input(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this
    //#input(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): title
    //#input(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): titleType
    //#output(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): new ArrayList(Collection#1) num objects
    //#output(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): new ArrayList(Collection#2) num objects
    //#output(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.accept
    //#output(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.accepts
    //#output(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.categories
    //#output(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.href
    //#output(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.listTemplate
    //#output(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.title
    //#output(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.titleType
    //#new obj(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): new ArrayList(Collection#1)
    //#new obj(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): new ArrayList(Collection#2)
    //#post(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.accept == &"entry"
    //#post(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.accepts == &new ArrayList(Collection#2)
    //#post(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.categories == &new ArrayList(Collection#1)
    //#post(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.href == href
    //#post(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): init'ed(this.href)
    //#post(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.listTemplate == null
    //#post(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.title == title
    //#post(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): init'ed(this.title)
    //#post(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): this.titleType == titleType
    //#post(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): init'ed(this.titleType)
    //#post(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): new ArrayList(Collection#1) num objects == 1
    //#post(void org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)): new ArrayList(Collection#2) num objects == 1
        this.title = title;
        this.titleType = titleType;
        this.href = href;
    }
    //#Collection.java:58: end of method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.org.apache.roller.weblogger.webservices.atomprotocol.Collection(String, String, String)
    
    /**
     * Comma separated list of media-ranges accepted by collection.
     */
    public List getAccepts() {
        return accepts;
    //#Collection.java:64: method: List org.apache.roller.weblogger.webservices.atomprotocol.Collection.getAccepts()
    //#input(List getAccepts()): this
    //#input(List getAccepts()): this.accepts
    //#output(List getAccepts()): return_value
    //#pre[2] (List getAccepts()): init'ed(this.accepts)
    //#post(List getAccepts()): return_value == this.accepts
    //#post(List getAccepts()): init'ed(return_value)
    //#Collection.java:64: end of method: List org.apache.roller.weblogger.webservices.atomprotocol.Collection.getAccepts()
    }
    
    public void addAccept(String accept) {
        this.accepts.add(accept);
    //#Collection.java:68: method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.addAccept(String)
    //#input(void addAccept(String)): accept
    //#input(void addAccept(String)): this
    //#input(void addAccept(String)): this.accepts
    //#pre[3] (void addAccept(String)): this.accepts != null
    }
    //#Collection.java:69: end of method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.addAccept(String)
    
    public void setAccepts(List accepts) {
        this.accepts = accepts;
    //#Collection.java:72: method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.setAccepts(List)
    //#input(void setAccepts(List)): accepts
    //#input(void setAccepts(List)): this
    //#output(void setAccepts(List)): this.accepts
    //#post(void setAccepts(List)): this.accepts == accepts
    //#post(void setAccepts(List)): init'ed(this.accepts)
    }
    //#Collection.java:73: end of method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.setAccepts(List)
    
    /** The URI of the collection */
    public String getHref() {
        return href;
    //#Collection.java:77: method: String org.apache.roller.weblogger.webservices.atomprotocol.Collection.getHref()
    //#input(String getHref()): this
    //#input(String getHref()): this.href
    //#output(String getHref()): return_value
    //#pre[2] (String getHref()): init'ed(this.href)
    //#post(String getHref()): return_value == this.href
    //#post(String getHref()): init'ed(return_value)
    //#Collection.java:77: end of method: String org.apache.roller.weblogger.webservices.atomprotocol.Collection.getHref()
    }
    
    public void setHref(String href) {
        this.href = href;
    //#Collection.java:81: method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.setHref(String)
    //#input(void setHref(String)): href
    //#input(void setHref(String)): this
    //#output(void setHref(String)): this.href
    //#post(void setHref(String)): this.href == href
    //#post(void setHref(String)): init'ed(this.href)
    }
    //#Collection.java:82: end of method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.setHref(String)
    
    /** Must have human readable title */
    public String getTitle() {
        return title;
    //#Collection.java:86: method: String org.apache.roller.weblogger.webservices.atomprotocol.Collection.getTitle()
    //#input(String getTitle()): this
    //#input(String getTitle()): this.title
    //#output(String getTitle()): return_value
    //#pre[2] (String getTitle()): init'ed(this.title)
    //#post(String getTitle()): return_value == this.title
    //#post(String getTitle()): init'ed(return_value)
    //#Collection.java:86: end of method: String org.apache.roller.weblogger.webservices.atomprotocol.Collection.getTitle()
    }
    
    public void setTitle(String title) {
        this.title = title;
    //#Collection.java:90: method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.setTitle(String)
    //#input(void setTitle(String)): this
    //#input(void setTitle(String)): title
    //#output(void setTitle(String)): this.title
    //#post(void setTitle(String)): this.title == title
    //#post(void setTitle(String)): init'ed(this.title)
    }
    //#Collection.java:91: end of method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.setTitle(String)

    public String getTitleType() {
        return titleType;
    //#Collection.java:94: method: String org.apache.roller.weblogger.webservices.atomprotocol.Collection.getTitleType()
    //#input(String getTitleType()): this
    //#input(String getTitleType()): this.titleType
    //#output(String getTitleType()): return_value
    //#pre[2] (String getTitleType()): init'ed(this.titleType)
    //#post(String getTitleType()): return_value == this.titleType
    //#post(String getTitleType()): init'ed(return_value)
    //#Collection.java:94: end of method: String org.apache.roller.weblogger.webservices.atomprotocol.Collection.getTitleType()
    }

    public void setTitleType(String titleType) {
        this.titleType = titleType;
    //#Collection.java:98: method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.setTitleType(String)
    //#input(void setTitleType(String)): this
    //#input(void setTitleType(String)): titleType
    //#output(void setTitleType(String)): this.titleType
    //#post(void setTitleType(String)): this.titleType == titleType
    //#post(void setTitleType(String)): init'ed(this.titleType)
    }
    //#Collection.java:99: end of method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.setTitleType(String)

    /** Workspace can have multiple Categories objects */
    public void addCategories(Categories cats) {
        categories.add(cats);
    //#Collection.java:103: method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.addCategories(Categories)
    //#input(void addCategories(Categories)): cats
    //#input(void addCategories(Categories)): this
    //#input(void addCategories(Categories)): this.categories
    //#pre[3] (void addCategories(Categories)): this.categories != null
    }
    //#Collection.java:104: end of method: void org.apache.roller.weblogger.webservices.atomprotocol.Collection.addCategories(Categories)
    
    public List getCategories() {
        return categories;
    //#Collection.java:107: method: List org.apache.roller.weblogger.webservices.atomprotocol.Collection.getCategories()
    //#input(List getCategories()): this
    //#input(List getCategories()): this.categories
    //#output(List getCategories()): return_value
    //#pre[2] (List getCategories()): init'ed(this.categories)
    //#post(List getCategories()): return_value == this.categories
    //#post(List getCategories()): init'ed(return_value)
    //#Collection.java:107: end of method: List org.apache.roller.weblogger.webservices.atomprotocol.Collection.getCategories()
    }
    
    /**
     * Returns true if contentType is accepted by collection.
     */
    public boolean accepts(String ct) {
        if (accept != null && accept.trim().equals("*/*")) return true;
    //#Collection.java:114: method: bool org.apache.roller.weblogger.webservices.atomprotocol.Collection.accepts(String)
    //#input(bool accepts(String)): ct
    //#input(bool accepts(String)): this
    //#input(bool accepts(String)): this.accept
    //#input(bool accepts(String)): this.accepts
    //#output(bool accepts(String)): return_value
    //#pre[3] (bool accepts(String)): init'ed(this.accept)
    //#pre[1] (bool accepts(String)): (soft) ct != null
    //#pre[4] (bool accepts(String)): (soft) this.accepts != null
    //#presumption(bool accepts(String)): java.lang.String:indexOf(...)@128 <= 4_294_967_294
    //#presumption(bool accepts(String)): java.util.List:size(...)@124 >= 0
    //#presumption(bool accepts(String)): java.util.List:toArray(...)@124 != null
    //#presumption(bool accepts(String)): rules.length@124 <= 4_294_967_295
    //#post(bool accepts(String)): init'ed(return_value)
    //#test_vector(bool accepts(String)): this.accept: Addr_Set{null}, Inverse{null}
    //#test_vector(bool accepts(String)): java.lang.String:equals(...)@114: {0}, {1}
    //#test_vector(bool accepts(String)): java.lang.String:equals(...)@116: {0}, {1}
    //#test_vector(bool accepts(String)): java.lang.String:equals(...)@119: {0}, {1}
    //#test_vector(bool accepts(String)): java.lang.String:equals(...)@121: {0}, {1}
    //#test_vector(bool accepts(String)): java.lang.String:equals(...)@127: {0}, {1}
    //#test_vector(bool accepts(String)): java.lang.String:indexOf(...)@128: {-2_147_483_648..0}, {1..4_294_967_294}
    //#test_vector(bool accepts(String)): java.lang.String:startsWith(...)@131: {0}, {1}
        String entryType = "application/atom+xml";
        boolean entry = entryType.equals(ct);
        if (entry && null == accept) {
            return true;
        } else if (entry && "entry".equals(accept)) {
            return true;
        } else if (entry && entryType.equals(accept)) {
            return true;
        } else {
            String[] rules = (String[])accepts.toArray(new String[accepts.size()]);
            for (int i=0; i<rules.length; i++) {
                String rule = rules[i].trim();
    //#Collection.java:126: ?use of default init
    //#    init'ed(rules[i])
    //#    severity: SUPPRESSED
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: bool accepts(String)
    //#    basic block: bb_15
    //#    assertion: init'ed(rules[i])
    //#    VN: undefined
    //#    Expected: Univ-VN-Set
    //#    Bad: {Invalid}
    //#    Attribs:  Ptr  Bad only invalid
    //#Collection.java:126: ?null dereference
    //#    not_init'ed(rules[i])
    //#    severity: MEDIUM
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: bool accepts(String)
    //#    basic block: bb_15
    //#    assertion: not_init'ed(rules[i])
    //#    VN: undefined
    //#    Expected: Inverse{null} or Invalid
    //#    Bad: Addr_Set{null}
    //#    Attribs:  Ptr  null in Bad
                if (rule.equals(ct)) return true;
                int slashstar = rule.indexOf("/*");
                if (slashstar > 0) {
                    rule = rule.substring(0, slashstar + 1);
                    if (ct.startsWith(rule)) return true;
                }
            }
        }
        return false;
    //#Collection.java:135: end of method: bool org.apache.roller.weblogger.webservices.atomprotocol.Collection.accepts(String)
    }
    
    /**
     * Serialize an AtomService.Collection into an XML element
     */
    public static Element collectionToElement(Collection collection) {
        Element element = new Element("collection", AtomService.ATOM_PROTOCOL);
    //#Collection.java:142: method: Element org.apache.roller.weblogger.webservices.atomprotocol.Collection.collectionToElement(Collection)
    //#Collection.java:142: Warning: method not available
    //#    -- call on void org.jdom.Element(String, Namespace)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: void org.jdom.Element(String, Namespace)
    //#input(Element collectionToElement(Collection)): __Descendant_Table[org/apache/roller/weblogger/webservices/atomprotocol/Collection]
    //#input(Element collectionToElement(Collection)): __Descendant_Table[others]
    //#input(Element collectionToElement(Collection)): __Dispatch_Table.getAccepts()Ljava/util/List;
    //#input(Element collectionToElement(Collection)): __Dispatch_Table.getCategories()Ljava/util/List;
    //#input(Element collectionToElement(Collection)): __Dispatch_Table.getHref()Ljava/lang/String;
    //#input(Element collectionToElement(Collection)): __Dispatch_Table.getTitle()Ljava/lang/String;
    //#input(Element collectionToElement(Collection)): __Dispatch_Table.getTitleType()Ljava/lang/String;
    //#input(Element collectionToElement(Collection)): collection
    //#input(Element collectionToElement(Collection)): collection.__Tag
    //#input(Element collectionToElement(Collection)): collection.accepts
    //#input(Element collectionToElement(Collection)): collection.categories
    //#input(Element collectionToElement(Collection)): collection.href
    //#input(Element collectionToElement(Collection)): collection.title
    //#input(Element collectionToElement(Collection)): collection.titleType
    //#input(Element collectionToElement(Collection)): org/apache/roller/weblogger/webservices/atomprotocol/AtomService.ATOM_FORMAT
    //#input(Element collectionToElement(Collection)): org/apache/roller/weblogger/webservices/atomprotocol/AtomService.ATOM_PROTOCOL
    //#input(Element collectionToElement(Collection)): org/apache/roller/weblogger/webservices/atomprotocol/Categories.__Descendant_Table[org/apache/roller/weblogger/webservices/atomprotocol/Categories]
    //#input(Element collectionToElement(Collection)): org/apache/roller/weblogger/webservices/atomprotocol/Categories.__Descendant_Table[others]
    //#input(Element collectionToElement(Collection)): org/apache/roller/weblogger/webservices/atomprotocol/Categories.__Dispatch_Table.getCategories()Ljava/util/List;
    //#input(Element collectionToElement(Collection)): org/apache/roller/weblogger/webservices/atomprotocol/Categories.__Dispatch_Table.getScheme()Ljava/lang/String;
    //#input(Element collectionToElement(Collection)): org/apache/roller/weblogger/webservices/atomprotocol/Categories.__Dispatch_Table.isFixed()Z
    //#output(Element collectionToElement(Collection)): new Element(collectionToElement#1) num objects
    //#output(Element collectionToElement(Collection)): return_value
    //#new obj(Element collectionToElement(Collection)): new Element(collectionToElement#1)
    //#pre[1] (Element collectionToElement(Collection)): collection != null
    //#pre[2] (Element collectionToElement(Collection)): collection.__Tag == org/apache/roller/weblogger/webservices/atomprotocol/Collection
    //#pre[3] (Element collectionToElement(Collection)): collection.accepts != null
    //#pre[4] (Element collectionToElement(Collection)): collection.categories != null
    //#pre[5] (Element collectionToElement(Collection)): init'ed(collection.href)
    //#pre[6] (Element collectionToElement(Collection)): init'ed(collection.title)
    //#pre[7] (Element collectionToElement(Collection)): init'ed(collection.titleType)
    //#pre[8] (Element collectionToElement(Collection)): init'ed(org/apache/roller/weblogger/webservices/atomprotocol/AtomService.ATOM_FORMAT)
    //#pre[9] (Element collectionToElement(Collection)): init'ed(org/apache/roller/weblogger/webservices/atomprotocol/AtomService.ATOM_PROTOCOL)
    //#presumption(Element collectionToElement(Collection)): cats.categories@154 != null
    //#presumption(Element collectionToElement(Collection)): java.util.Iterator:next(...).__Tag@154 == org/apache/roller/weblogger/webservices/atomprotocol/Categories
    //#presumption(Element collectionToElement(Collection)): java.util.Iterator:next(...)@154 != null
    //#presumption(Element collectionToElement(Collection)): java.util.Iterator:next(...)@162 != null
    //#post(Element collectionToElement(Collection)): return_value == &new Element(collectionToElement#1)
    //#post(Element collectionToElement(Collection)): new Element(collectionToElement#1) num objects == 1
    //#test_vector(Element collectionToElement(Collection)): collection.titleType: Addr_Set{null}, Inverse{null}
    //#test_vector(Element collectionToElement(Collection)): cats.scheme@154: Addr_Set{null}, Inverse{null}
    //#test_vector(Element collectionToElement(Collection)): com.sun.syndication.feed.atom.Category:getLabel(...)@168: Addr_Set{null}, Inverse{null}
    //#test_vector(Element collectionToElement(Collection)): com.sun.syndication.feed.atom.Category:getScheme(...)@165: Addr_Set{null}, Inverse{null}
    //#test_vector(Element collectionToElement(Collection)): java.lang.String:equals(...)@148: {1}, {0}
    //#test_vector(Element collectionToElement(Collection)): java.util.Iterator:hasNext(...)@153: {0}, {1}
    //#test_vector(Element collectionToElement(Collection)): java.util.Iterator:hasNext(...)@161: {0}, {1}
    //#test_vector(Element collectionToElement(Collection)): java.util.Iterator:hasNext(...)@176: {0}, {1}
        element.setAttribute("href", collection.getHref());
    //#Collection.java:143: Warning: method not available
    //#    -- call on Element org.jdom.Element:setAttribute(String, String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: Element org.jdom.Element:setAttribute(String, String)
                       
        Element title = new Element("title", AtomService.ATOM_FORMAT);
    //#Collection.java:145: Warning: method not available
    //#    -- call on void org.jdom.Element(String, Namespace)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: void org.jdom.Element(String, Namespace)
        title.setText(collection.getTitle());
    //#Collection.java:146: Warning: method not available
    //#    -- call on Element org.jdom.Element:setText(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: Element org.jdom.Element:setText(String)
        element.addContent(title);
    //#Collection.java:147: Warning: method not available
    //#    -- call on Element org.jdom.Element:addContent(Content)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: Element org.jdom.Element:addContent(Content)
        if (collection.getTitleType() != null && !collection.getTitleType().equals("TEXT")) {
            element.setAttribute("type", collection.getTitleType()); //, AtomService.ATOM_FORMAT);
    //#Collection.java:149: Warning: method not available
    //#    -- call on Element org.jdom.Element:setAttribute(String, String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: Element org.jdom.Element:setAttribute(String, String)
        }
                    
        // Loop to create <app:categories> elements            
        for (Iterator it = collection.getCategories().iterator(); it.hasNext();) {
            Categories cats = (Categories)it.next();
            Element catsElem = new Element("categories", AtomService.ATOM_PROTOCOL);
    //#Collection.java:155: Warning: method not available
    //#    -- call on void org.jdom.Element(String, Namespace)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: void org.jdom.Element(String, Namespace)
            catsElem.setAttribute("fixed", cats.isFixed() ? "yes" : "no"); //, AtomService.ATOM_PROTOCOL);
    //#Collection.java:156: Warning: method not available
    //#    -- call on Element org.jdom.Element:setAttribute(String, String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: Element org.jdom.Element:setAttribute(String, String)
            if (cats.getScheme() != null) {
                catsElem.setAttribute("scheme", cats.getScheme()); //, AtomService.ATOM_PROTOCOL);
    //#Collection.java:158: Warning: method not available
    //#    -- call on Element org.jdom.Element:setAttribute(String, String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: Element org.jdom.Element:setAttribute(String, String)
            }
            // Loop to create <atom:category> elements
            for (Iterator catIter = cats.getCategories().iterator(); catIter.hasNext();) {
                Category cat = (Category) catIter.next();
                Element catElem = new Element("category", AtomService.ATOM_FORMAT);
    //#Collection.java:163: Warning: method not available
    //#    -- call on void org.jdom.Element(String, Namespace)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: void org.jdom.Element(String, Namespace)
                catElem.setAttribute("term", cat.getTerm()); //, AtomService.ATOM_FORMAT);
    //#Collection.java:164: Warning: method not available
    //#    -- call on String com.sun.syndication.feed.atom.Category:getTerm()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: String com.sun.syndication.feed.atom.Category:getTerm()
    //#Collection.java:164: Warning: method not available
    //#    -- call on Element org.jdom.Element:setAttribute(String, String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: Element org.jdom.Element:setAttribute(String, String)
                if (cat.getScheme() != null) { // optional
    //#Collection.java:165: Warning: method not available
    //#    -- call on String com.sun.syndication.feed.atom.Category:getScheme()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: String com.sun.syndication.feed.atom.Category:getScheme()
                    catElem.setAttribute("scheme", cat.getScheme()); //, AtomService.ATOM_FORMAT);
    //#Collection.java:166: Warning: method not available
    //#    -- call on String com.sun.syndication.feed.atom.Category:getScheme()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: String com.sun.syndication.feed.atom.Category:getScheme()
    //#Collection.java:166: Warning: method not available
    //#    -- call on Element org.jdom.Element:setAttribute(String, String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: Element org.jdom.Element:setAttribute(String, String)
                }
                if (cat.getLabel() != null) { // optional
    //#Collection.java:168: Warning: method not available
    //#    -- call on String com.sun.syndication.feed.atom.Category:getLabel()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: String com.sun.syndication.feed.atom.Category:getLabel()
                    catElem.setAttribute("label", cat.getLabel()); //, AtomService.ATOM_FORMAT);
    //#Collection.java:169: Warning: method not available
    //#    -- call on String com.sun.syndication.feed.atom.Category:getLabel()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: String com.sun.syndication.feed.atom.Category:getLabel()
    //#Collection.java:169: Warning: method not available
    //#    -- call on Element org.jdom.Element:setAttribute(String, String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: Element org.jdom.Element:setAttribute(String, String)
                }
                catsElem.addContent(catElem);
    //#Collection.java:171: Warning: method not available
    //#    -- call on Element org.jdom.Element:addContent(Content)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: Element org.jdom.Element:addContent(Content)
            }
            element.addContent(catsElem);
    //#Collection.java:173: Warning: method not available
    //#    -- call on Element org.jdom.Element:addContent(Content)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: Element org.jdom.Element:addContent(Content)
        }
        
        for (Iterator it = collection.getAccepts().iterator(); it.hasNext();) {
            String range = (String)it.next();
            Element acceptElem = new Element("accept", AtomService.ATOM_PROTOCOL);
    //#Collection.java:178: Warning: method not available
    //#    -- call on void org.jdom.Element(String, Namespace)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: void org.jdom.Element(String, Namespace)
            acceptElem.setText(range);
    //#Collection.java:179: Warning: method not available
    //#    -- call on Element org.jdom.Element:setText(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: Element org.jdom.Element:setText(String)
            element.addContent(acceptElem);
    //#Collection.java:180: Warning: method not available
    //#    -- call on Element org.jdom.Element:addContent(Content)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Element collectionToElement(Collection)
    //#    unanalyzed callee: Element org.jdom.Element:addContent(Content)
        }
        
        return element;
    //#Collection.java:183: end of method: Element org.apache.roller.weblogger.webservices.atomprotocol.Collection.collectionToElement(Collection)
    }
    
    /** Deserialize an Atom service collection XML element into an object */
    public static Collection elementToCollection(Element element) {
        String newHref = element.getAttribute("href").getValue();
    //#Collection.java:188: method: Collection org.apache.roller.weblogger.webservices.atomprotocol.Collection.elementToCollection(Element)
    //#Collection.java:188: Warning: method not available
    //#    -- call on Attribute org.jdom.Element:getAttribute(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: Attribute org.jdom.Element:getAttribute(String)
    //#Collection.java:188: Warning: method not available
    //#    -- call on String org.jdom.Attribute:getValue()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: String org.jdom.Attribute:getValue()
    //#input(Collection elementToCollection(Element)): __Descendant_Table[org/apache/roller/weblogger/webservices/atomprotocol/Collection]
    //#input(Collection elementToCollection(Element)): __Dispatch_Table.addAccept(Ljava/lang/String;)V
    //#input(Collection elementToCollection(Element)): __Dispatch_Table.addCategories(Lorg/apache/roller/weblogger/webservices/atomprotocol/Categories;)V
    //#input(Collection elementToCollection(Element)): element
    //#input(Collection elementToCollection(Element)): org/apache/roller/weblogger/webservices/atomprotocol/AtomService.ATOM_FORMAT
    //#input(Collection elementToCollection(Element)): org/apache/roller/weblogger/webservices/atomprotocol/AtomService.ATOM_PROTOCOL
    //#input(Collection elementToCollection(Element)): org/apache/roller/weblogger/webservices/atomprotocol/Categories.__Descendant_Table[org/apache/roller/weblogger/webservices/atomprotocol/Categories]
    //#input(Collection elementToCollection(Element)): org/apache/roller/weblogger/webservices/atomprotocol/Categories.__Dispatch_Table.addCategory(Lcom/sun/syndication/feed/atom/Category;)V
    //#input(Collection elementToCollection(Element)): org/apache/roller/weblogger/webservices/atomprotocol/Categories.__Dispatch_Table.setFixed(Z)V
    //#output(Collection elementToCollection(Element)): new ArrayList(Collection#1) num objects
    //#output(Collection elementToCollection(Element)): new ArrayList(Collection#2) num objects
    //#output(Collection elementToCollection(Element)): new Collection(elementToCollection#1) num objects
    //#output(Collection elementToCollection(Element)): return_value.__Tag
    //#output(Collection elementToCollection(Element)): return_value.accept
    //#output(Collection elementToCollection(Element)): return_value.accepts
    //#output(Collection elementToCollection(Element)): return_value.categories
    //#output(Collection elementToCollection(Element)): return_value.href
    //#output(Collection elementToCollection(Element)): return_value.listTemplate
    //#output(Collection elementToCollection(Element)): return_value.title
    //#output(Collection elementToCollection(Element)): return_value.titleType
    //#output(Collection elementToCollection(Element)): return_value
    //#new obj(Collection elementToCollection(Element)): new ArrayList(Collection#1)
    //#new obj(Collection elementToCollection(Element)): new ArrayList(Collection#2)
    //#new obj(Collection elementToCollection(Element)): new Collection(elementToCollection#1)
    //#pre[1] (Collection elementToCollection(Element)): element != null
    //#pre[2] (Collection elementToCollection(Element)): init'ed(org/apache/roller/weblogger/webservices/atomprotocol/AtomService.ATOM_FORMAT)
    //#pre[3] (Collection elementToCollection(Element)): init'ed(org/apache/roller/weblogger/webservices/atomprotocol/AtomService.ATOM_PROTOCOL)
    //#presumption(Collection elementToCollection(Element)): java.util.Iterator:next(...)@200 != null
    //#presumption(Collection elementToCollection(Element)): java.util.Iterator:next(...)@208 != null
    //#presumption(Collection elementToCollection(Element)): java.util.Iterator:next(...)@216 != null
    //#presumption(Collection elementToCollection(Element)): org.jdom.Element:getAttribute(...)@188 != null
    //#presumption(Collection elementToCollection(Element)): org.jdom.Element:getAttribute(...)@193 != null
    //#presumption(Collection elementToCollection(Element)): org.jdom.Element:getChild(...)@189 != null
    //#presumption(Collection elementToCollection(Element)): org.jdom.Element:getChildren(...)@206 != null
    //#presumption(Collection elementToCollection(Element)): org.jdom.Element:getChildren(...)@214 != null
    //#post(Collection elementToCollection(Element)): return_value == &new Collection(elementToCollection#1)
    //#post(Collection elementToCollection(Element)): new ArrayList(Collection#1) num objects == 1
    //#post(Collection elementToCollection(Element)): new ArrayList(Collection#2) num objects == 1
    //#post(Collection elementToCollection(Element)): new Collection(elementToCollection#1) num objects == 1
    //#post(Collection elementToCollection(Element)): return_value.__Tag == org/apache/roller/weblogger/webservices/atomprotocol/Collection
    //#post(Collection elementToCollection(Element)): return_value.accept == &"entry"
    //#post(Collection elementToCollection(Element)): return_value.accepts == &new ArrayList(Collection#2)
    //#post(Collection elementToCollection(Element)): return_value.categories == &new ArrayList(Collection#1)
    //#post(Collection elementToCollection(Element)): init'ed(return_value.href)
    //#post(Collection elementToCollection(Element)): return_value.listTemplate == null
    //#post(Collection elementToCollection(Element)): init'ed(return_value.title)
    //#post(Collection elementToCollection(Element)): init'ed(return_value.titleType)
    //#unanalyzed(Collection elementToCollection(Element)): Effects-of-calling:java.util.ArrayList
    //#unanalyzed(Collection elementToCollection(Element)): Effects-of-calling:java.util.List:add
    //#test_vector(Collection elementToCollection(Element)): java.lang.String:equals(...)@210: {0}, {1}
    //#test_vector(Collection elementToCollection(Element)): java.util.Iterator:hasNext(...)@199: {0}, {1}
    //#test_vector(Collection elementToCollection(Element)): java.util.Iterator:hasNext(...)@207: {0}, {1}
    //#test_vector(Collection elementToCollection(Element)): java.util.Iterator:hasNext(...)@215: {0}, {1}
    //#test_vector(Collection elementToCollection(Element)): java.util.List:size(...)@198: {-2_147_483_648..0}, {1..4_294_967_295}
    //#test_vector(Collection elementToCollection(Element)): org.jdom.Element:getAttribute(...)@192: Addr_Set{null}, Inverse{null}
    //#test_vector(Collection elementToCollection(Element)): org.jdom.Element:getChildren(...)@197: Addr_Set{null}, Inverse{null}
        Element titleElem = element.getChild("title", AtomService.ATOM_FORMAT);
    //#Collection.java:189: Warning: method not available
    //#    -- call on Element org.jdom.Element:getChild(String, Namespace)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: Element org.jdom.Element:getChild(String, Namespace)
        String newTitle = titleElem.getText();
    //#Collection.java:190: Warning: method not available
    //#    -- call on String org.jdom.Element:getText()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: String org.jdom.Element:getText()
        String newType = null;
        if (titleElem.getAttribute("type", AtomService.ATOM_FORMAT) != null) {
    //#Collection.java:192: Warning: method not available
    //#    -- call on Attribute org.jdom.Element:getAttribute(String, Namespace)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: Attribute org.jdom.Element:getAttribute(String, Namespace)
            newType = titleElem.getAttribute("type", AtomService.ATOM_FORMAT).getValue();
    //#Collection.java:193: Warning: method not available
    //#    -- call on Attribute org.jdom.Element:getAttribute(String, Namespace)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: Attribute org.jdom.Element:getAttribute(String, Namespace)
    //#Collection.java:193: Warning: method not available
    //#    -- call on String org.jdom.Attribute:getValue()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: String org.jdom.Attribute:getValue()
        }
        Collection collection = new Collection(newTitle, newType, newHref);
                
        List acceptElems = element.getChildren("accept",  AtomService.ATOM_PROTOCOL);
    //#Collection.java:197: Warning: method not available
    //#    -- call on List org.jdom.Element:getChildren(String, Namespace)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: List org.jdom.Element:getChildren(String, Namespace)
        if (acceptElems != null && acceptElems.size() > 0) {
            for (Iterator it = acceptElems.iterator(); it.hasNext();) {
                Element acceptElem = (Element)it.next();
                collection.addAccept(acceptElem.getTextTrim());
    //#Collection.java:201: Warning: method not available
    //#    -- call on String org.jdom.Element:getTextTrim()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: String org.jdom.Element:getTextTrim()
            }
        }
        
        // Loop to parse <app:categories> element to Categories objects
        List catsElems = element.getChildren("categories", AtomService.ATOM_PROTOCOL);
    //#Collection.java:206: Warning: method not available
    //#    -- call on List org.jdom.Element:getChildren(String, Namespace)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: List org.jdom.Element:getChildren(String, Namespace)
        for (Iterator catsIter = catsElems.iterator(); catsIter.hasNext();) {
            Element catsElem = (Element) catsIter.next();  
            Categories cats = new Categories();
            if ("yes".equals(catsElem.getAttribute("fixed", AtomService.ATOM_PROTOCOL))) {
    //#Collection.java:210: Warning: method not available
    //#    -- call on Attribute org.jdom.Element:getAttribute(String, Namespace)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: Attribute org.jdom.Element:getAttribute(String, Namespace)
                cats.setFixed(true);
            }
            // Loop to parse <atom:category> elemenents to Category objects
            List catElems = catsElem.getChildren("category", AtomService.ATOM_FORMAT);
    //#Collection.java:214: Warning: method not available
    //#    -- call on List org.jdom.Element:getChildren(String, Namespace)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: List org.jdom.Element:getChildren(String, Namespace)
            for (Iterator catIter = catElems.iterator(); catIter.hasNext();) {                
                Element catElem = (Element) catIter.next();
                Category cat = new Category();
    //#Collection.java:217: Warning: method not available
    //#    -- call on void com.sun.syndication.feed.atom.Category()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: void com.sun.syndication.feed.atom.Category()
                cat.setTerm(catElem.getAttributeValue("term"));                
    //#Collection.java:218: Warning: method not available
    //#    -- call on String org.jdom.Element:getAttributeValue(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: String org.jdom.Element:getAttributeValue(String)
    //#Collection.java:218: Warning: method not available
    //#    -- call on void com.sun.syndication.feed.atom.Category:setTerm(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: void com.sun.syndication.feed.atom.Category:setTerm(String)
                cat.setLabel(catElem.getAttributeValue("label")); 
    //#Collection.java:219: Warning: method not available
    //#    -- call on String org.jdom.Element:getAttributeValue(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: String org.jdom.Element:getAttributeValue(String)
    //#Collection.java:219: Warning: method not available
    //#    -- call on void com.sun.syndication.feed.atom.Category:setLabel(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: void com.sun.syndication.feed.atom.Category:setLabel(String)
                cat.setScheme(catElem.getAttributeValue("scheme"));
    //#Collection.java:220: Warning: method not available
    //#    -- call on String org.jdom.Element:getAttributeValue(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: String org.jdom.Element:getAttributeValue(String)
    //#Collection.java:220: Warning: method not available
    //#    -- call on void com.sun.syndication.feed.atom.Category:setScheme(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
    //#    method: Collection elementToCollection(Element)
    //#    unanalyzed callee: void com.sun.syndication.feed.atom.Category:setScheme(String)
                cats.addCategory(cat);
            }
            collection.addCategories(cats);
        }
        return collection;
    //#Collection.java:225: end of method: Collection org.apache.roller.weblogger.webservices.atomprotocol.Collection.elementToCollection(Element)
    }

}
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Descendant_Table[org/apache/roller/weblogger/webservices/atomprotocol/Collection]
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.accepts(Ljava/lang/String;)Z
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.addAccept(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.addCategories(Lorg/apache/roller/weblogger/webservices/atomprotocol/Categories;)V
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.getAccepts()Ljava/util/List;
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.getCategories()Ljava/util/List;
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.getHref()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.getTitle()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.getTitleType()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.setAccepts(Ljava/util/List;)V
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.setHref(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.setTitle(Ljava/lang/String;)V
    //#output(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.setTitleType(Ljava/lang/String;)V
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Descendant_Table[org/apache/roller/weblogger/webservices/atomprotocol/Collection] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.accepts(Ljava/lang/String;)Z == &accepts
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.addAccept(Ljava/lang/String;)V == &addAccept
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.addCategories(Lorg/apache/roller/weblogger/webservices/atomprotocol/Categories;)V == &addCategories
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.getAccepts()Ljava/util/List; == &getAccepts
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.getCategories()Ljava/util/List; == &getCategories
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.getHref()Ljava/lang/String; == &getHref
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.getTitle()Ljava/lang/String; == &getTitle
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.getTitleType()Ljava/lang/String; == &getTitleType
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.setAccepts(Ljava/util/List;)V == &setAccepts
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.setHref(Ljava/lang/String;)V == &setHref
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.setTitle(Ljava/lang/String;)V == &setTitle
    //#post(org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init): __Dispatch_Table.setTitleType(Ljava/lang/String;)V == &setTitleType
    //#Collection.java:: end of method: org.apache.roller.weblogger.webservices.atomprotocol.Collection.org.apache.roller.weblogger.webservices.atomprotocol.Collection__static_init
    //#Collection.java:: end of class: org.apache.roller.weblogger.webservices.atomprotocol.Collection
