text:
package rocks.xmpp.extensions.pubsub.model;

import rocks.xmpp.addr.Jid;
import rocks.xmpp.extensions.data.model.DataForm;
import rocks.xmpp.extensions.pubsub.model.errors.ClosedNode;
import rocks.xmpp.extensions.pubsub.model.errors.ConfigurationRequired;
import rocks.xmpp.extensions.pubsub.model.errors.InvalidJid;
import rocks.xmpp.extensions.pubsub.model.errors.InvalidOptions;
import rocks.xmpp.extensions.pubsub.model.errors.InvalidPayload;
import rocks.xmpp.extensions.pubsub.model.errors.InvalidSubId;
import rocks.xmpp.extensions.pubsub.model.errors.ItemForbidden;
import rocks.xmpp.extensions.pubsub.model.errors.ItemRequired;
import rocks.xmpp.extensions.pubsub.model.errors.JidRequired;
import rocks.xmpp.extensions.pubsub.model.errors.MaxItemsExceeded;
import rocks.xmpp.extensions.pubsub.model.errors.MaxNodesExceeded;
import rocks.xmpp.extensions.pubsub.model.errors.NodeIdRequired;
import rocks.xmpp.extensions.pubsub.model.errors.NotInRosterGroup;
import rocks.xmpp.extensions.pubsub.model.errors.NotSubscribed;
import rocks.xmpp.extensions.pubsub.model.errors.PayloadRequired;
import rocks.xmpp.extensions.pubsub.model.errors.PayloadTooBig;
import rocks.xmpp.extensions.pubsub.model.errors.PendingSubscription;
import rocks.xmpp.extensions.pubsub.model.errors.PresenceSubscriptionRequired;
import rocks.xmpp.extensions.pubsub.model.errors.SubIdRequired;
import rocks.xmpp.extensions.pubsub.model.errors.TooManySubscriptions;
import rocks.xmpp.extensions.pubsub.model.errors.Unsupported;
import rocks.xmpp.extensions.pubsub.model.event.Event;
import rocks.xmpp.extensions.pubsub.model.owner.PubSubOwner;
import rocks.xmpp.util.adapters.InstantAdapter;

import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.time.Instant;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * The implementation of the {@code <pubsub/>} element in the {@code http://jabber.org/protocol/pubsub} namespace.
 *

 * Child elements are created with a bunch of static factory methods.
 *

 *
 * @author Christian Schudt
 * @see XEP-0060: Publish-Subscribe
 * @see XML Schema
 */
@XmlRootElement(name = "pubsub")
@XmlSeeAlso({Unsupported.class, InvalidJid.class, PresenceSubscriptionRequired.class, NotInRosterGroup.class, ClosedNode.class, PendingSubscription.class, TooManySubscriptions.class, ConfigurationRequired.class, SubIdRequired.class, NotSubscribed.class, NotSubscribed.class, InvalidSubId.class, JidRequired.class, InvalidOptions.class, PayloadTooBig.class, InvalidPayload.class, ItemRequired.class, PayloadRequired.class, ItemForbidden.class, NodeIdRequired.class, MaxItemsExceeded.class, MaxNodesExceeded.class,
        Event.class,
        PubSubOwner.class
})
public final class PubSub {

    /**
     * http://jabber.org/protocol/pubsub
     */
    public static final String NAMESPACE = "http://jabber.org/protocol/pubsub";

    private Create create;

    private Configure configure;

    private Subscribe subscribe;

    private Options options;

    @XmlElements({
            @XmlElement(name = "affiliations", type = AffiliationsElement.class),
            @XmlElement(name = "default", type = Default.class),
            @XmlElement(name = "items", type = Items.class),
            @XmlElement(name = "publish", type = Publish.class),
            @XmlElement(name = "retract", type = Retract.class),
            @XmlElement(name = "subscription", type = SubscriptionInfo.class),
            @XmlElement(name = "subscriptions", type = Subscriptions.class),
            @XmlElement(name = "unsubscribe", type = Unsubscribe.class),
    })
    private PubSubChildElement type;

    @XmlElement(name = "publish-options")
    private PublishOptions publishOptions;

    private PubSub() {
    }

    private PubSub(Create create, Configure configure) {
        this.create = create;
        this.configure = configure;
    }

    private PubSub(Subscribe subscribe, Options options) {
        this.subscribe = subscribe;
        this.options = options;
    }

    private PubSub(Options options) {
        this.options = options;
    }

    private PubSub(PubSubChildElement pubSubChildElement) {
        this.type = pubSubChildElement;
    }

    private PubSub(Publish publish, PublishOptions publishOptions) {
        this.type = publish;
        this.publishOptions = publishOptions;
    }

    private PubSub(Configure configure) {
        this.configure = configure;
    }

    private PubSub(Subscribe subscribe) {
        this.subscribe = subscribe;
    }

    /**
     * Creates a pubsub element with an {@code <affiliations/>} child element.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <affiliations/>
     * </pubsub>
     * }
     *

     *
     * @return The pubsub instance.
     * @see 5.7 Retrieve Affiliations
     */
    public static PubSub withAffiliations() {
        return withAffiliations(null);
    }

    /**
     * Creates a pubsub element with an {@code <affiliations/>} child element and a 'node' attribute.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     * <affiliations node='node6'/>
     * </pubsub>
     * }
     *

     *
     * @param node The node.
     * @return The pubsub instance.
     * @see 5.7 Retrieve Affiliations
     */
    public static PubSub withAffiliations(String node) {
        return new PubSub(new AffiliationsElement(node));
    }

    /**
     * Creates a pubsub element with an {@code <configure/>} child element and a 'node' attribute.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <configure node='princely_musings'>
     *         <x xmlns='jabber:x:data' type='submit'>
     *             <field var='FORM_TYPE' type='hidden'>
     *                  <value>http://jabber.org/protocol/pubsub#node_config</value>
     *             </field>
     *             <field var='pubsub#tempsub'><value>true</value></field>
     *         </x>
     *     </configure>
     * </pubsub>
     * }
     *

     *
     * @param node              The node.
     * @param configurationForm The configuration form.
     * @return The pubsub instance.
     * @see 12.4 Temporary Subscriptions
     */
    public static PubSub withConfigure(String node, DataForm configurationForm) {
        return new PubSub(new Configure(node, configurationForm));
    }

    /**
     * Creates a pubsub element with an {@code <create/>} child element and a 'node' attribute.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <create node='princely_musings'/>
     * </pubsub>
     * }
     *

     *
     * @param node The node.
     * @return The pubsub instance.
     * @see 8.1 Create a Node
     */
    public static PubSub withCreate(String node) {
        return new PubSub(new Create(node), null);
    }

    /**
     * Creates a pubsub element with an {@code <create/>} and {@code <configure/>} child element.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <create node='princely_musings'/>
     *     <configure>
     *         <x xmlns='jabber:x:data' type='submit'>
     *         </x>
     *     </configure>
     * </pubsub>
     * }
     *

     *
     * @param node              The node.
     * @param configurationForm The configuration form.
     * @return The pubsub instance.
     * @see 8.1.3 Create and Configure a Node
     */
    public static PubSub withCreate(String node, DataForm configurationForm) {
        return new PubSub(new Create(node), new Configure(configurationForm));
    }

    /**
     * Creates a pubsub element with a {@code <subscriptions/>} child element.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <subscriptions/>
     * </pubsub>
     * }
     *

     *
     * @return The pubsub instance.
     * @see 5.6 Retrieve Subscriptions
     */
    public static PubSub withSubscriptions() {
        return withSubscriptions(null);
    }

    /**
     * Creates a pubsub element with a {@code <subscriptions/>} child element with a 'node' attribute.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <subscriptions node='princely_musings'/>
     * </pubsub>
     * }
     *

     *
     * @param node The node.
     * @return The pubsub instance.
     * @see 5.6 Retrieve Subscriptions
     */
    public static PubSub withSubscriptions(String node) {
        return new PubSub(new Subscriptions(node));
    }

    /**
     * Creates a pubsub element with a {@code <subscribe/>} child element with a 'node' and 'jid' attribute.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <subscribe node='princely_musings' jid='francisco@denmark.lit'/>
     * </pubsub>
     * }
     *

     *
     * @param node The node.
     * @param jid  The JID.
     * @return The pubsub instance.
     * @see 6.1 Subscribe to a Node
     */
    public static PubSub withSubscribe(String node, Jid jid) {
        return new PubSub(new Subscribe(node, jid));
    }

    /**
     * Creates a pubsub element with a {@code <subscribe/>} and {@code <options/>} child element with a 'node' and 'jid' attribute.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <subscribe node='princely_musings' jid='francisco@denmark.lit'/>
     *     <options>
     *         <x xmlns='jabber:x:data' type='submit'>
     *         </x>
     *     </options>
     * </pubsub>
     * }
     *

     *
     * @param node     The node.
     * @param jid      The JID.
     * @param dataForm The dataForm.
     * @return The pubsub instance.
     * @see 6.3.7 Subscribe and Configure
     */
    public static PubSub withSubscribe(String node, Jid jid, DataForm dataForm) {
        return new PubSub(new Subscribe(node, jid), new Options(dataForm));
    }

    /**
     * Creates a pubsub element with an {@code <options/>} child element with a 'node' and 'jid' attribute.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <options>
     *         <x xmlns='jabber:x:data' type='submit'>
     *         </x>
     *     </options>
     * </pubsub>
     * }
     *

     *
     * @param node     The node.
     * @param jid      The JID.
     * @param subid    The subscription id.
     * @param dataForm The data form.
     * @return The pubsub instance.
     * @see 6.3.5 Form Submission
     */
    public static PubSub withOptions(String node, Jid jid, String subid, DataForm dataForm) {
        return new PubSub(new Options(node, jid, subid, dataForm));
    }

    /**
     * Creates a pubsub element with an {@code <unsubscribe/>} child element with a 'node' and 'jid' attribute.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <unsubscribe node='princely_musings' jid='francisco@denmark.lit'/>
     * </pubsub>
     * }
     *

     *
     * @param node           The node.
     * @param jid            The JID.
     * @param subscriptionId The subscription id.
     * @return The pubsub instance.
     * @see 6.2 Unsubscribe from a Node
     */
    public static PubSub withUnsubscribe(String node, Jid jid, String subscriptionId) {
        return new PubSub(new Unsubscribe(node, jid, subscriptionId));
    }

    /**
     * Creates a pubsub element with a {@code <default/>} child element.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <default/>
     * </pubsub>
     * }
     *

     *
     * @return The pubsub instance.
     * @see 6.4 Request Default Subscription Configuration Options
     */
    public static PubSub withDefault() {
        return withDefault(null);
    }

    /**
     * Creates a pubsub element with a {@code <default/>} child element with a 'node' attribute.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <default node='princely_musings'/>
     * </pubsub>
     * }
     *

     *
     * @param node The node.
     * @return The pubsub instance.
     * @see 6.4 Request Default Subscription Configuration Options
     */
    public static PubSub withDefault(String node) {
        return new PubSub(new Default(node));
    }

    /**
     * Creates a pubsub element with an {@code <items/>} child element with a 'node' attribute.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <items node='princely_musings'/>
     * </pubsub>
     * }
     *

     *
     * @param node The node.
     * @return The pubsub instance.
     * @see 6.5.2 Requesting All Items
     */
    public static PubSub withItems(String node) {
        return new PubSub(new Items(node));
    }

    /**
     * Creates a pubsub element with an {@code <items/>} child element, containing multiple item elements with an 'id' attribute.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <items node='princely_musings'>
     *         <item id='368866411b877c30064a5f62b917cffe'/>
     *         <item id='4e30f35051b7b8b42abe083742187228'/>
     *     </items>
     * </pubsub>
     * }
     *

     *
     * @param node The node.
     * @param ids  The ids.
     * @return The pubsub instance.
     * @see 6.5.6 Returning Notifications Only
     */
    public static PubSub withItems(String node, String... ids) {
        List<ItemElement> items = new ArrayList<>();
        for (String id : ids) {
            items.add(new ItemElement(id));
        }
        return new PubSub(new Items(node, items));
    }

    /**
     * Creates a pubsub element with an {@code <items/>} child element with a 'node' and a 'max_items' attribute.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <items node='princely_musings' max_items='2'/>
     * </pubsub>
     * }
     *

     *
     * @param node     The node.
     * @param maxItems The max items.
     * @return The pubsub instance.
     * @see 6.5.7 Requesting the Most Recent Items
     */
    public static PubSub withItems(String node, int maxItems) {
        return new PubSub(new Items(node, maxItems));
    }

    /**
     * Creates a pubsub element with a {@code <publish/>} child element.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <publish node='princely_musings'>
     *         <item id='bnd81g37d61f49fgn581'>
     *             <entry xmlns='http://www.w3.org/2005/Atom'>
     *     ...
     * </pubsub>
     * }
     *

     *
     * @param node    The node.
     * @param id      The id.
     * @param item    The item to publish.
     * @param options The publish options.
     * @return The pubsub instance.
     * @see 7.1 Publish an Item to a Node
     */
    public static PubSub withPublish(String node, String id, Object item, DataForm options) {
        return new PubSub(new Publish(node, new ItemElement(id, item)), options != null ? new PublishOptions(options) : null);
    }

    /**
     * Creates a pubsub element with a {@code <retract/>} child element.
     *
Sample:

     *

     * {@code
     * <pubsub xmlns='http://jabber.org/protocol/pubsub'>
     *     <retract node='princely_musings' notify='true'>
     *         <item id='ae890ac52d0df67ed7cfdf51b644e901'/>
     *     </retract>
     * </pubsub>
     * }
     *

     *
     * @param node   The node.
     * @param id     The id.
     * @param notify The notify attribute.
     * @return The pubsub instance.
     * @see 7.2 Delete an Item from a Node
     */
    public static PubSub withRetract(String node, String id, boolean notify) {
        return new PubSub(new Retract(node, new ItemElement(id), notify));
    }

    public final Default getDefault() {
        if (type instanceof Default) {
            return (Default) type;
        }
        return null;
    }

    public final Subscription getSubscription() {
        if (type instanceof SubscriptionInfo) {
            return (SubscriptionInfo) type;
        }
        return null;
    }

    public final Options getOptions() {
        return options;
    }

    public final List<Item> getItems() {
        if (type instanceof Items) {
            return Collections.unmodifiableList(new ArrayList<>(((Items) type).item));
        }
        return null;
    }

    public final Publish getPublish() {
        if (type instanceof Publish) {
            return (Publish) type;
        }
        return null;
    }

    public final DataForm getConfigurationForm() {
        if (configure != null) {
            return configure.dataForm;
        }
        return null;
    }

    public final List<Subscription> getSubscriptions() {
        if (type instanceof Subscriptions) {
            return Collections.unmodifiableList(new ArrayList<>(((Subscriptions) type).subscription));
        }
        return null;
    }

    public final List<Affiliation> getAffiliations() {
        if (type instanceof AffiliationsElement) {
            return Collections.unmodifiableList(new ArrayList<>(((AffiliationsElement) type).affiliation));
        }
        return null;
    }

    public final String getNode() {
        if (type != null) {
            return type.getNode();
        } else if (create != null) {
            return create.getNode();
        } else if (subscribe != null) {
            return subscribe.getNode();
        }
        return null;
    }

    public final DataForm getPublishOptions() {
        return publishOptions != null ? publishOptions.dataForm : null;
    }

    private static final class Create extends PubSubChildElement {

        private Create() {
        }

        private Create(String node) {
            super(node);
        }
    }

    private static final class Subscribe extends PubSubChildElement {

        @XmlAttribute
        private final Jid jid;

        private Subscribe() {
            this(null, null);
        }

        private Subscribe(String node, Jid jid) {
            super(node);
            this.jid = jid;
        }
    }

    /**
     * The (subscribe) {@code <options/>} element.
     *
     * @see #withOptions(String, Jid, String, rocks.xmpp.extensions.data.model.DataForm)
     */
    public static final class Options extends PubSubChildElement {
        @XmlAttribute
        private final Jid jid;

        @XmlAttribute
        private final String subid;

        @XmlElementRef
        private final DataForm dataForm;

        private Options() {
            this(null, null, null, null);
        }

        private Options(String node, Jid jid, String subid, DataForm dataForm) {
            super(node);
            this.jid = jid;
            this.subid = subid;
            this.dataForm = dataForm;
        }

        private Options(DataForm dataForm) {
            this(null, null, null, dataForm);
        }

        /**
         * Gets the data form.
         *
         * @return The data form.
         */
        public final DataForm getDataForm() {
            return dataForm;
        }
    }

    private static final class AffiliationsElement extends PubSubChildElement {

        private final List<AffiliationInfo> affiliation = new ArrayList<>();

        private AffiliationsElement() {
        }

        private AffiliationsElement(String node) {
            super(node);
        }

        private static final class AffiliationInfo extends PubSubChildElement implements Affiliation {

            @XmlAttribute
            private final AffiliationState affiliation;

            @XmlAttribute
            private final Jid jid;

            @Override
            public final Jid getJid() {
                return jid;
            }

            private AffiliationInfo() {
                this(null, null);
            }

            private AffiliationInfo(Jid jid, AffiliationState affiliation) {
                this.jid = jid;
                this.affiliation = affiliation;
            }

            @Override
            public final AffiliationState getAffiliationState() {
                return affiliation;
            }
        }
    }

    /**
     * The {@code <default/>} element.
     *
     * @see #withDefault()
     */
    public static final class Default extends PubSubChildElement {

        @XmlAttribute
        private final Type type;

        @XmlElementRef
        private final DataForm dataForm;

        public Default() {
            this(null);
        }

        private Default(String node) {
            super(node);
            this.dataForm = null;
            this.type = null;
        }

        /**
         * Gets the default subscription options.
         *
         * @return The default subscription options.
         */
        public final DataForm getDataForm() {
            return dataForm;
        }

        private enum Type {
            @XmlEnumValue("collection")
            COLLECTION,
            @XmlEnumValue("leaf")
            LEAF
        }
    }

    private static final class Items extends PubSubChildElement {

        private final List<ItemElement> item = new ArrayList<>();

        @XmlAttribute(name = "max_items")
        private final Integer maxItems;

        @XmlAttribute
        private final String subid;

        private final Retract retract;

        private Items() {
            this(null);
        }

        private Items(String node) {
            this(node, Collections.emptyList());
        }

        private Items(String node, int maxItems) {
            super(node);
            this.maxItems = maxItems;
            this.subid = null;
            this.retract = null;
        }

        private Items(String node, List<ItemElement> items) {
            super(node);
            this.maxItems = null;
            this.item.addAll(items);
            this.subid = null;
            this.retract = null;
        }
    }

    /**
     * The {@code <publish/>} element.
     *
     * @see #withPublish(String, String, Object, rocks.xmpp.extensions.data.model.DataForm)
     */
    public static final class Publish extends PubSubChildElement {

        private final ItemElement item;

        private Publish() {
            this(null, null);
        }

        private Publish(String node, ItemElement item) {
            super(node);
            this.item = item;
        }

        /**
         * Gets the published item.
         *
         * @return The item.
         */
        public final Item getItem() {
            return item;
        }
    }

    private static final class PublishOptions extends PubSubChildElement {

        @XmlElementRef
        private final DataForm dataForm;

        private PublishOptions() {
            this(null);
        }

        public PublishOptions(DataForm dataForm) {
            this.dataForm = dataForm;
        }
    }

    private static final class Retract extends PubSubChildElement {

        @XmlAttribute
        private final Boolean notify;

        private final ItemElement item;

        @XmlAttribute
        private final String id;

        private Retract() {
            this(null, null, null);
        }

        private Retract(String node, ItemElement item, Boolean notify) {
            super(node);
            this.item = item;
            this.notify = notify;
            this.id = null;
        }
    }

    private static final class SubscriptionInfo extends PubSubChildElement implements Subscription {

        @XmlAttribute
        private final Jid jid;

        @XmlAttribute
        private final String subid;

        @XmlAttribute
        private final SubscriptionState subscription;

        @XmlAttribute
        @XmlJavaTypeAdapter(InstantAdapter.class)
        private final Instant expiry;

        @XmlElement(name = "subscribe-options")
        private final SubscribeOptions options;

        private SubscriptionInfo() {
            this(null, null, null, null, null, null);
        }

        private SubscriptionInfo(String node, Jid jid, String subid, SubscriptionState subscription, Instant expiry, SubscribeOptions options) {
            super(node);
            this.jid = jid;
            this.subid = subid;
            this.subscription = subscription;
            this.expiry = expiry;
            this.options = options;
        }

        @Override
        public final String getSubId() {
            return subid;
        }

        @Override
        public final SubscriptionState getSubscriptionState() {
            return subscription;
        }

        @Override
        public final Jid getJid() {
            return jid;
        }

        @Override
        public final Instant getExpiry() {
            return expiry;
        }

        @Override
        public final boolean isConfigurationRequired() {
            return options != null && options.isRequired();
        }

        @Override
        public final boolean isConfigurationSupported() {
            return options != null;
        }

        private static final class SubscribeOptions {

            private final String required;

            private SubscribeOptions() {
                this.required = null;
            }

            private SubscribeOptions(boolean required) {
                this.required = required ? "" : null;
            }

            private boolean isRequired() {
                return required != null;
            }
        }
    }

    private static final class Subscriptions extends PubSubChildElement {

        private final List<SubscriptionInfo> subscription = new ArrayList<>();

        private Subscriptions() {
        }

        private Subscriptions(String node) {
            super(node);
        }
    }

    private static final class Unsubscribe extends PubSubChildElement {

        @XmlAttribute
        private final Jid jid;

        @XmlAttribute
        private final String subid;

        private Unsubscribe() {
            this(null, null, null);
        }

        private Unsubscribe(String node, Jid jid, String subid) {
            super(node);
            this.jid = jid;
            this.subid = subid;
        }
    }

    private static final class Configure extends PubSubChildElement {
        @XmlElementRef
        private final DataForm dataForm;

        private Configure() {
            this(null, null);
        }

        private Configure(String node, DataForm dataForm) {
            super(node);
            this.dataForm = dataForm;
        }

        private Configure(DataForm dataForm) {
            this(null, dataForm);
        }
    }

    private static final class ItemElement implements Item {

        @XmlAnyElement(lax = true)
        private final Object object;

        @XmlAttribute
        private final String id;

        private ItemElement() {
            this(null, null);
        }

        private ItemElement(String id) {
            this(id, null);
        }

        private ItemElement(String id, Object object) {
            this.id = id;
            this.object = object;
        }

        @Override
        public final Object getPayload() {
            return object;
        }

        @Override
        public final String getId() {
            return id;
        }

        @Override
        public final String getNode() {
            return null;
        }

        @Override
        public final String getPublisher() {
            return null;
        }
    }

    @XmlTransient
    private abstract static class PubSubChildElement {

        @XmlAttribute
        private final String node;

        private PubSubChildElement() {
            this(null);
        }

        private PubSubChildElement(String node) {
            this.node = node;
        }

        public final String getNode() {
            return node;
        }
    }
}


text:
<?php

require_once "../models/InformationsCompteModel.php";
require_once "../Config.php";

class InscriptionPartenaire
{
    /**
     * Génération de l'url de l'inscription partenaire
     * Inclure cette url dans une balise <a> pour rediriger l'utilisateur connecté vers une page d'inscription de la plateforme LPL avec les champs mail et pseudo déjà remplis
     * @param $email
     * @param $userName
     * @return string
     */
    public static function GenerateUrl($email, $userName, $guid) {
        $model = new InformationsCompteModel($email, $userName, $guid);

        $json = json_encode($model);

        $url = "http://www.lapresselibre.fr/inscription-partenaire?"
            . "user=" . rawurlencode(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_128, Config::AES_KEY, $json, MCRYPT_MODE_CBC, Config::IV)))
            . "&partId=" . Config::PARTENAIRE_ID;

        return $url;
    }
}

redpajama_set_name: RedPajamaGithub


text:
import { test } from '~util/testing'
import { VRadioGroup /*, VRadio */ } from '~components/VRadioGroup'

test('VRadioGroup.vue', ({ mount }) => {
  it('should render role on radio group', () => {
    const wrapper = mount(VRadioGroup)

    const radioGroup = wrapper.find('.radio-group')[0]
    expect(radioGroup.getAttribute('role')).toBe('radiogroup')
  })
})


text:
FROM ubuntu:14.04

RUN apt-get update
RUN apt-get -y install stunnel supervisor wget
RUN install -d -o stunnel4 -g stunnel4 /var/run/stunnel4
RUN mkdir /irc

# patch ircit to set world-writable perms on all fifos and dirs it creates
RUN apt-get -y install make gcc
RUN cd /tmp && \
    wget http://dl.suckless.org/tools/ii-1.7.tar.gz && \
    tar xzf ii-1.7.tar.gz && \
    cd ii-1.7 && \
    sed -i ii.c -e 's/S_IRWXU/S_IRWXU\|S_IRWXG|S_IRWXO/g' && \
    make install && \
    rm -rf /tmp/*
RUN apt-get -y autoremove make gcc

# make an explicit ircit user and set the umask so that anyone
RUN addgroup --gid 2000 ircit && \
    adduser --uid 2000 -gid 2000 --gecos "" --disabled-login --no-create-home ircit
#RUN echo "umask 0000" >> /home/ircit/.profile

ADD ii.conf /etc/supervisor/conf.d/
ADD configure /configure

VOLUME ["/irc"]
CMD ["supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"]


text:
MKMapView *gMap = NULL;

@interface MapController ()

@end

@implementation MapController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    [gMap setDelegate:self];
    self.lowLat = self.lowLon = self.highLat = self.highLon = 0;
    return self;
}

- (void)drawWaypoints:(NSMutableArray *)foundWaypoints {
    int i;
    Waypoint *coord;
    MKPointAnnotation *annotation;
    CLLocationCoordinate2D annotationCoord;

    NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
    NSLocale *locale = [NSLocale currentLocale];
    [formatter setLocale:locale];

    for(i = 0; i < [foundWaypoints count]; i++) {
	annotation = [[MKPointAnnotation alloc] init];
	coord = [foundWaypoints objectAtIndex:i];

	annotationCoord.latitude = coord.lat;
	annotationCoord.longitude = coord.lon;
	annotation.coordinate = annotationCoord;

	annotation.title = coord.name;

	[formatter setDateFormat:[NSDateFormatter dateFormatFromTemplate:@"HH:mm:ss - DD.mm.YY" options:0 locale:locale]];
	[formatter setDateStyle:NSDateFormatterFullStyle];
	annotation.subtitle = [formatter stringFromDate:coord.time];

	[gMap addAnnotation:annotation];
    }
}

- (void)drawTrk:(NSMutableArray *)foundTrk {
    CLLocationCoordinate2D points[[foundTrk count]];
    MKGeodesicPolyline *geodesic;
    Waypoint *thisLoc;
    int i;

    for(i = 0; i < [foundTrk count]; i++) {
	thisLoc = [foundTrk objectAtIndex:i];
	points[i].latitude = thisLoc.lat;
	points[i].longitude = thisLoc.lon;

	if (self.highLat < thisLoc.lat)
	    self.highLat = thisLoc.lat;

	if (self.highLon < thisLoc.lon)
	    self.highLon = thisLoc.lon;

	if (self.lowLat > thisLoc.lat)
	    self.lowLat = thisLoc.lat;

	if (self.lowLon > thisLoc.lon)
	    self.lowLon = thisLoc.lon;
    }

    geodesic = [MKGeodesicPolyline polylineWithCoordinates:&points[0] count:[foundTrk count]-1];
    [gMap addOverlay:geodesic];
}

- (MKOverlayRenderer *)mapView:(MKMapView *)mapView rendererForOverlay:(id <MKOverlay>)overlay {
    MKPolylineRenderer *renderer = [[MKPolylineRenderer alloc] initWithPolyline:overlay];
    renderer.strokeColor = [NSColor colorWithCalibratedRed:(51/255.0f) green:(102/255.0f) blue:(204/255.0f) alpha:1.0f];
    renderer.lineWidth = 3.5;
    return renderer;
}

-(void)centerMe {
    // XXX Doesn't work yet, I think
    CLLocationCoordinate2D mapCenter, highCoord, lowCoord;
    MKCoordinateRegion region;

    mapCenter.latitude = (self.highLat+self.lowLat);
    mapCenter.longitude = (self.highLon+self.lowLon);
    //[gMap setCenterCoordinate:mapCenter animated:YES];

    highCoord.longitude = self.highLon;
    highCoord.latitude = self.highLat;
    lowCoord.longitude = self.lowLon;
    lowCoord.latitude = self.lowLat;

    MKMapPoint highPoint = MKMapPointForCoordinate(highCoord);
    MKMapPoint lowPoint = MKMapPointForCoordinate(lowCoord);
    NSLog(@"meters: %f", MKMetersBetweenMapPoints(highPoint, lowPoint));

    region = MKCoordinateRegionMakeWithDistance(
	mapCenter, MKMetersBetweenMapPoints(highPoint, lowPoint),
	MKMetersBetweenMapPoints(highPoint, lowPoint));

    [gMap setRegion:region animated:YES];
}

@end


text:
"use strict";

exports.__esModule = true;
exports.default = void 0;

var _ReactNativePropRegistry = _interopRequireDefault(require("./ReactNativePropRegistry"));

var _flattenStyle = _interopRequireDefault(require("./flattenStyle"));

var _validate = _interopRequireDefault(require("./validate"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var absoluteFillObject = {
  position: 'absolute',
  left: 0,
  right: 0,
  top: 0,
  bottom: 0
};

var absoluteFill = _ReactNativePropRegistry.default.register(absoluteFillObject);

var StyleSheet = {
  absoluteFill: absoluteFill,
  absoluteFillObject: absoluteFillObject,
  compose: function compose(style1, style2) {
    if (process.env.NODE_ENV !== 'production') {
      /* eslint-disable prefer-rest-params */
      var len = arguments.length;

      if (len > 2) {
        var readableStyles = Array.prototype.slice.call(arguments).map(function (a) {
          return (0, _flattenStyle.default)(a);
        });
        throw new Error("StyleSheet.compose() only accepts 2 arguments, received " + len + ": " + JSON.stringify(readableStyles));
      }
      /* eslint-enable prefer-rest-params */

    }

    if (style1 && style2) {
      return [style1, style2];
    } else {
      return style1 || style2;
    }
  },
  create: function create(styles) {
    var result = {};
    Object.keys(styles).forEach(function (key) {
      if (process.env.NODE_ENV !== 'production') {
        (0, _validate.default)(key, styles);
      }

      var id = styles[key] && _ReactNativePropRegistry.default.register(styles[key]);

      result[key] = id;
    });
    return result;
  },
  flatten: _flattenStyle.default,
  // `hairlineWidth` is not implemented using screen density as browsers may
  // round sub-pixel values down to `0`, causing the line not to be rendered.
  hairlineWidth: 1
};
var _default = StyleSheet;
exports.default = _default;
module.exports = exports.default;


text:
package com.intel.analytics.bigdl.dllib.nn.ops

import com.intel.analytics.bigdl.dllib.nn.abstractnn.Activity
import com.intel.analytics.bigdl.dllib.tensor.TensorNumericMath.TensorNumeric
import com.intel.analytics.bigdl.dllib.tensor.{BooleanType, Tensor}

import scala.reflect.ClassTag

class LogicalNot[T: ClassTag]()
  (implicit ev: TensorNumeric[T]) extends Operation[Tensor[Boolean], Tensor[Boolean], T] {

  output = Activity.allocate[Tensor[Boolean], Boolean]()
  gradInput = Activity.allocate[Tensor[Boolean], Boolean]()

  override def updateOutput(input: Tensor[Boolean]): Tensor[Boolean] = {
    output.resizeAs(input).copy(input)
    output.apply1(!_)
    output
  }
}

object LogicalNot {
  def apply[T: ClassTag]()(implicit ev: TensorNumeric[T]): Operation[Activity, Activity, T]
  = ModuleToOperation[T](new LogicalNot())
}


text:
<!doctype html>
<html lang="pl">
<head>
  <meta charset="utf-8">
  <link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png" />
	<link rel="icon" type="image/png" href="assets/img/favicon.png" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <meta name="twitter:card" content="summary" />
  <meta name="twitter:title" content="Inwestycyjny Portfel Emerytalny" />
  <meta name="twitter:description" content="Planuj swoją emeryturę, śledź inwestycje IKE i IKZE" />
  <meta name="twitter:image" content="https://thorin87.github.io/assets/img/account_balance_wallet_black_144x144.png" />

  <title>Inwestycyjny Portfel Emerytalny</title>

  <!-- Bootstrap core CSS     -->
  <link href="assets/css/bootstrap.min.css" rel="stylesheet" />

  <!--  Material Dashboard CSS    -->
  <link href="assets/css/material-dashboard.css" rel="stylesheet"/>

  <!--     Fonts and icons     -->
  <link href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" rel="stylesheet">
  <link href='https://fonts.googleapis.com/css?family=Roboto:400,700,300|Material+Icons' rel='stylesheet' type='text/css'>

  <script src="assets/js/jquery-3.1.0.min.js" type="text/javascript"></script>
  <script src="assets/js/bootstrap.min.js" type="text/javascript"></script>
  <script src="assets/js/arrive.min.js"></script>
  <script src="assets/js/material.min.js" type="text/javascript"></script>

  <!--  Charts Plugin -->
  <script src="assets/js/chartist.min.js"></script>

  <!--  Notifications Plugin    -->
  <script src="assets/js/bootstrap-notify.js"></script>

  <!-- Material Dashboard javascript methods -->
  <script src="assets/js/material-dashboard.js"></script>
  <script src="assets/js/google-analytics.js"></script>
</head>
<body>
  <base href="/">
  <my-app>
	  	<div class="loader">
	    	<svg class="circular" viewBox="25 25 50 50">
	      		<circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"/>
	    	</svg>
	  	</div>
	</my-app>
</body>
</html>


text:
require 'gctools/gcprof'

=begin
GC::Profiler.enable
at_exit{ GC::Profiler.raw_data.map{ |d| p(d) } }
=end

=begin
prev_alloc = GC.stat(:total_allocated_object)
GCProf.after_gc_hook = proc { |info, start, end_mark, end_sweep|
  before = start
  after = end_sweep || end_mark

  if !info[:immediate_sweep] && end_sweep
    STDERR.printf "[%f:% 4d]                   swept after %1.3fs  swept:% 8d  marked:% 8d\n",
      after[:time],
      after[:count],
      after[:time] - end_mark[:time],
      after[:heap_swept_slot],
      marked_num
  else
    type = info[:major_by] ? "MAJOR GC" : "minor gc"
    diff = after[:time] - before[:time]
    diff_alloc, prev_alloc = before[:total_allocated_object] - prev_alloc, after[:total_allocated_object]

    STDERR.printf "[%f:% 4d] %s (% 13s) took %1.3fs  alloc:% 8d  live: % 8d -> % 8d  free: % 8d -> % 8d %s\n",
      before[:time],
      before[:count],
      type,
      info.values_at(:major_by, :gc_by).compact.join(","),
      after[:time] - before[:time],
      diff_alloc,
      before[:heap_live_slot],
      after[:heap_live_slot],
      before[:heap_free_slot],
      after[:heap_free_slot],
      info[:immediate_sweep] ? "  +immediate_sweep" : ""
  end
}
=end

GCProf.after_gc_hook =
proc{ |info, start, end_mark, end_sweep|
  if end_sweep
    # eden_slots = oldgen_slots + remembered_shady_slots + longlived_infant_slots + new_infant_slots + empty_eden_slots
    # heap_swept_slot = new_infant_slots + empty_eden_slots + empty_moved_tomb_slots
    eden_slots = GC::INTERNAL_CONSTANTS[:HEAP_OBJ_LIMIT] * end_sweep[:heap_eden_page_length]
    oldgen_slots = end_sweep[:old_object]
    remembered_shady_slots = end_sweep[:remembered_shady_object]
    new_infant_slots = end_sweep[:total_allocated_object] - end_mark[:total_allocated_object]
    empty_moved_tomb_slots = GC::INTERNAL_CONSTANTS[:HEAP_OBJ_LIMIT] * (end_sweep[:heap_tomb_page_length] - end_mark[:heap_tomb_page_length])
    empty_eden_slots = end_sweep[:heap_swept_slot] - new_infant_slots - empty_moved_tomb_slots
    longlived_infant_slots = eden_slots - oldgen_slots - remembered_shady_slots - new_infant_slots - empty_eden_slots

    # total_slots = eden_slots + tomb_slots
    tomb_slots = GC::INTERNAL_CONSTANTS[:HEAP_OBJ_LIMIT] * end_sweep[:heap_tomb_page_length]
    total_slots = eden_slots + tomb_slots

    STDERR.printf "[%s in %1.3fs (% 13s)] % 8d slots = old (%4.1f%%) + remembered_shady (%4.1f%%) + shady (%4.1f%%) + infant (%4.1f%%) + empty (%4.1f%%) + tomb (%4.1f%%)\n",
      info[:major_by] ? 'MAJOR GC' : 'minor gc',
      end_mark[:time] - start[:time],
      info.values_at(:major_by, :gc_by).compact.join(","),
      total_slots,
      oldgen_slots * 100.0 / total_slots,
      remembered_shady_slots * 100.0 / total_slots,
      longlived_infant_slots * 100.0 / total_slots,
      new_infant_slots * 100.0 / total_slots,
      empty_eden_slots * 100.0 / total_slots,
      tomb_slots * 100.0 / total_slots
  end
}


text:
static inline struct pthread *__pthread_self()
{
#ifdef __clang__
	char *tp;
	__asm__ __volatile__ ("mr %0, 2" : "=r"(tp) : : );
#else
	register char *tp __asm__("r2");
#endif
	return (pthread_t)(tp - 0x7000 - sizeof(struct pthread));
}

#define TLS_ABOVE_TP
#define TP_ADJ(p) ((char *)(p) + sizeof(struct pthread) + 0x7000)

// offset of the PC register in mcontext_t, divided by the system wordsize
// the kernel calls the ip "nip", it's the first saved value after the 32
// GPRs.
#define CANCEL_REG_IP 32


text:
//
//  geopackage-ios-Bridging-Header.h
//  geopackage-ios
//
//  Created by Brian Osborn on 11/23/15.
//  Copyright © 2015 NGA. All rights reserved.
//

#ifndef geopackage_ios_Bridging_Header_h
#define geopackage_ios_Bridging_Header_h

#import "sf-wkb-ios-Bridging-Header.h"
#import "sf-proj-ios-Bridging-Header.h"
#import "tiff-ios-Bridging-Header.h"
#import "ogc-api-features-json-ios-Bridging-Header.h"
#import "GPKGBoundingBox.h"
#import "GPKGDateTimeUtils.h"
#import "GPKGGeoPackage.h"
#import "GPKGGeoPackageCache.h"
#import "GPKGGeoPackageConstants.h"
#import "GPKGUtils.h"
#import "geopackage_ios.h"
#import "GPKGAttributesColumn.h"
#import "GPKGAttributesDao.h"
#import "GPKGAttributesRow.h"
#import "GPKGAttributesTable.h"
#import "GPKGAttributesTableReader.h"
#import "GPKGContents.h"
#import "GPKGContentsDao.h"
#import "GPKGContentsDataTypes.h"
#import "GPKGSpatialReferenceSystem.h"
#import "GPKGSpatialReferenceSystemDao.h"
#import "GPKGAlterTable.h"
#import "GPKGConnection.h"
#import "GPKGConnectionFunction.h"
#import "GPKGDataTypes.h"
#import "GPKGFeatureIndexer.h"
#import "GPKGGeoPackageTableCreator.h"
#import "GPKGMappedColumn.h"
#import "GPKGResultSet.h"
#import "GPKGSqlLiteQueryBuilder.h"
#import "GPKGSqlUtils.h"
#import "GPKGTableCreator.h"
#import "GPKGTableMapping.h"
#import "GPKGBaseDao.h"
#import "GPKGColumnValue.h"
#import "GPKGColumnValues.h"
#import "GPKGSQLiteMaster.h"
#import "GPKGSQLiteMasterColumns.h"
#import "GPKGSQLiteMasterQuery.h"
#import "GPKGSQLiteMasterTypes.h"
#import "GPKGGeoPackageMetadata.h"
#import "GPKGGeoPackageMetadataDao.h"
#import "GPKGGeoPackageMetadataTableCreator.h"
#import "GPKGGeometryMetadata.h"
#import "GPKGGeometryMetadataDao.h"
#import "GPKGMetadataDb.h"
#import "GPKGTableMetadata.h"
#import "GPKGTableMetadataDao.h"
#import "GPKGConnectionPool.h"
#import "GPKGDbConnection.h"
#import "GPKGSqliteConnection.h"
#import "GPKGColumnConstraints.h"
#import "GPKGConstraint.h"
#import "GPKGConstraintParser.h"
#import "GPKGConstraintTypes.h"
#import "GPKGRawConstraint.h"
#import "GPKGTableColumn.h"
#import "GPKGTableConstraints.h"
#import "GPKGTableInfo.h"
#import "GPKGUniqueConstraint.h"
#import "GPKGBaseExtension.h"
#import "GPKGCrsWktExtension.h"
#import "GPKGExtensions.h"
#import "GPKGExtensionsDao.h"
#import "GPKGFeatureIndexRTreeResults.h"
#import "GPKGExtensionManager.h"
#import "GPKGGeometryExtensions.h"
#import "GPKGMetadataExtension.h"
#import "GPKGNGAExtensions.h"
#import "GPKGRTreeIndexExtension.h"
#import "GPKGRTreeIndexTableDao.h"
#import "GPKGRTreeIndexTableRow.h"
#import "GPKGSchemaExtension.h"
#import "GPKGWebPExtension.h"
#import "GPKGZoomOtherExtension.h"
#import "GPKGContentsId.h"
#import "GPKGContentsIdDao.h"
#import "GPKGContentsIdExtension.h"
#import "GPKGCoverageData.h"
#import "GPKGCoverageDataAlgorithms.h"
#import "GPKGCoverageDataImage.h"
#import "GPKGCoverageDataPng.h"
#import "GPKGCoverageDataPngImage.h"
#import "GPKGCoverageDataRequest.h"
#import "GPKGCoverageDataResults.h"
#import "GPKGCoverageDataSourcePixel.h"
#import "GPKGCoverageDataTiff.h"
#import "GPKGCoverageDataTiffImage.h"
#import "GPKGCoverageDataTileMatrixResults.h"
#import "GPKGGriddedCoverage.h"
#import "GPKGGriddedCoverageDao.h"
#import "GPKGGriddedCoverageDataTypes.h"
#import "GPKGGriddedCoverageEncodingTypes.h"
#import "GPKGGriddedTile.h"
#import "GPKGGriddedTileDao.h"
#import "GPKGFeatureTableIndex.h"
#import "GPKGGeometryIndex.h"
#import "GPKGGeometryIndexDao.h"
#import "GPKGTableIndex.h"
#import "GPKGTableIndexDao.h"
#import "GPKGFeatureTileLink.h"
#import "GPKGFeatureTileLinkDao.h"
#import "GPKGFeatureTileTableLinker.h"
#import "GPKGPropertiesExtension.h"
#import "GPKGPropertiesManager.h"
#import "GPKGPropertyNames.h"
#import "GPKGExtendedRelation.h"
#import "GPKGExtendedRelationsDao.h"
#import "GPKGRelatedTablesExtension.h"
#import "GPKGRelationTypes.h"
#import "GPKGUserMappingDao.h"
#import "GPKGUserMappingRow.h"
#import "GPKGUserMappingTable.h"
#import "GPKGUserRelatedTable.h"
#import "GPKGDublinCoreMetadata.h"
#import "GPKGDublinCoreTypes.h"
#import "GPKGMediaDao.h"
#import "GPKGMediaRow.h"
#import "GPKGMediaTable.h"
#import "GPKGSimpleAttributesDao.h"
#import "GPKGSimpleAttributesRow.h"
#import "GPKGSimpleAttributesTable.h"
#import "GPKGTileScaling.h"
#import "GPKGTileScalingDao.h"
#import "GPKGTileScalingTypes.h"
#import "GPKGTileTableScaling.h"
#import "GPKGFeatureStyle.h"
#import "GPKGFeatureStyleExtension.h"
#import "GPKGFeatureStyles.h"
#import "GPKGFeatureTableStyles.h"
#import "GPKGIconCache.h"
#import "GPKGIconDao.h"
#import "GPKGIconRow.h"
#import "GPKGIconTable.h"
#import "GPKGIcons.h"
#import "GPKGStyleDao.h"
#import "GPKGStyleMappingDao.h"
#import "GPKGStyleMappingRow.h"
#import "GPKGStyleMappingTable.h"
#import "GPKGStyleRow.h"
#import "GPKGStyleTable.h"
#import "GPKGStyles.h"
#import "GPKGGeoPackageFactory.h"
#import "GPKGGeoPackageManager.h"
#import "GPKGSessionTaskData.h"
#import "GPKGFeatureGenerator.h"
#import "GPKGOAPIFeatureGenerator.h"
#import "GPKGGeometryColumns.h"
#import "GPKGGeometryColumnsDao.h"
#import "GPKGFeatureIndexFeatureResults.h"
#import "GPKGFeatureIndexGeoPackageResults.h"
#import "GPKGFeatureIndexListResults.h"
#import "GPKGFeatureIndexManager.h"
#import "GPKGFeatureIndexMetadataResults.h"
#import "GPKGFeatureIndexResultSetResults.h"
#import "GPKGFeatureIndexResults.h"
#import "GPKGFeatureIndexTypes.h"
#import "GPKGMultipleFeatureIndexResults.h"
#import "GPKGFeatureCache.h"
#import "GPKGFeatureCacheTables.h"
#import "GPKGFeatureColumn.h"
#import "GPKGFeatureDao.h"
#import "GPKGFeatureRow.h"
#import "GPKGFeatureTable.h"
#import "GPKGFeatureTableReader.h"
#import "GPKGManualFeatureQuery.h"
#import "GPKGManualFeatureQueryResults.h"
#import "GPKGGeometryData.h"
#import "GPKGGeometryUtils.h"
#import "GPKGFeatureShape.h"
#import "GPKGFeatureShapes.h"
#import "GPKGLocationBoundingBox.h"
#import "GPKGMapPoint.h"
#import "GPKGMapPointInitializer.h"
#import "GPKGMapPointOptions.h"
#import "GPKGMapShape.h"
#import "GPKGMapShapeConverter.h"
#import "GPKGMapShapePoints.h"
#import "GPKGMapShapeTypes.h"
#import "GPKGMultiPoint.h"
#import "GPKGMultiPolygon.h"
#import "GPKGMultiPolygonPoints.h"
#import "GPKGMultiPolyline.h"
#import "GPKGMultiPolylinePoints.h"
#import "GPKGPolygon.h"
#import "GPKGPolygonHolePoints.h"
#import "GPKGPolygonOptions.h"
#import "GPKGPolygonOrientations.h"
#import "GPKGPolygonPoints.h"
#import "GPKGPolyline.h"
#import "GPKGPolylineOptions.h"
#import "GPKGPolylinePoints.h"
#import "GPKGShapePoints.h"
#import "GPKGShapeWithChildrenPoints.h"
#import "GPKGCompressFormats.h"
#import "GPKGIOUtils.h"
#import "GPKGImageConverter.h"
#import "GPKGProgress.h"
#import "GPKGMapTolerance.h"
#import "GPKGMapUtils.h"
#import "GPKGFeatureInfoBuilder.h"
#import "GPKGStyleCache.h"
#import "GPKGStyleUtils.h"
#import "GPKGMetadata.h"
#import "GPKGMetadataDao.h"
#import "GPKGMetadataScope.h"
#import "GPKGMetadataReference.h"
#import "GPKGMetadataReferenceDao.h"
#import "GPKGProperties.h"
#import "GPKGPropertyConstants.h"
#import "GPKGDataColumns.h"
#import "GPKGDataColumnsDao.h"
#import "GPKGDataColumnConstraints.h"
#import "GPKGDataColumnConstraintsDao.h"
#import "GPKGTileBoundingBoxUtils.h"
#import "GPKGTileGenerator.h"
#import "GPKGTileGrid.h"
#import "GPKGTileUtils.h"
#import "GPKGUrlTileGenerator.h"
#import "GPKGCustomFeaturesTile.h"
#import "GPKGFeatureTileContext.h"
#import "GPKGFeatureTileGenerator.h"
#import "GPKGFeatureTilePointIcon.h"
#import "GPKGFeatureTiles.h"
#import "GPKGNumberFeaturesTile.h"
#import "GPKGTileMatrix.h"
#import "GPKGTileMatrixDao.h"
#import "GPKGTileMatrixSet.h"
#import "GPKGTileMatrixSetDao.h"
#import "GPKGBoundedOverlay.h"
#import "GPKGCompositeOverlay.h"
#import "GPKGFeatureOverlay.h"
#import "GPKGFeatureOverlayQuery.h"
#import "GPKGFeatureRowData.h"
#import "GPKGFeatureTableData.h"
#import "GPKGGeoPackageOverlay.h"
#import "GPKGOverlayFactory.h"
#import "GPKGXYZOverlay.h"
#import "GPKGGeoPackageTile.h"
#import "GPKGGeoPackageTileRetriever.h"
#import "GPKGXYZTileRetriever.h"
#import "GPKGTileCreator.h"
#import "GPKGTileRetriever.h"
#import "GPKGTileColumn.h"
#import "GPKGTileDao.h"
#import "GPKGTileDaoUtils.h"
#import "GPKGTileRow.h"
#import "GPKGTileTable.h"
#import "GPKGTileTableReader.h"
#import "GPKGContentValues.h"
#import "GPKGUserColumn.h"
#import "GPKGUserDao.h"
#import "GPKGUserRow.h"
#import "GPKGUserRowSync.h"
#import "GPKGUserTable.h"
#import "GPKGUserTableReader.h"
#import "GPKGUserCustomColumn.h"
#import "GPKGUserCustomDao.h"
#import "GPKGUserCustomRow.h"
#import "GPKGUserCustomTable.h"
#import "GPKGUserCustomTableReader.h"
#import "GPKGGeoPackageValidate.h"
#import "GPKGUserColumns.h"
#import "GPKGAttributesColumns.h"
#import "GPKGFeatureColumns.h"
#import "GPKGTileColumns.h"
#import "GPKGUserCustomColumns.h"
#import "GPKGFeatureIndexLocation.h"
#import "GPKGFeatureIndexerIdQuery.h"
#import "GPKGFeatureIndexerIdResultSet.h"
#import "GPKGFeaturePreview.h"
#import "GPKGUserTableMetadata.h"
#import "GPKGAttributesTableMetadata.h"
#import "GPKGConstraints.h"
#import "GPKGExtensionManagement.h"
#import "GPKGContentsIdTableCreator.h"
#import "GPKGGeometryIndexTableCreator.h"
#import "GPKGFeatureTileLinkTableCreator.h"
#import "GPKGTileScalingTableCreator.h"
#import "GPKGMediaTableMetadata.h"
#import "GPKGSimpleAttributesTableMetadata.h"
#import "GPKGFeatureTableMetadata.h"
#import "GPKGTileTableMetadata.h"
#import "GPKGNGATableCreator.h"
#import "GPKGTileReprojection.h"
#import "GPKGTileReprojectionZoom.h"
#import "GPKGTileReprojectionOptimize.h"
#import "GPKGPlatteCarreOptimize.h"
#import "GPKGWebMercatorOptimize.h"
#import "GPKGNetworkUtils.h"
#import "GPKGRow.h"
#import "GPKGObjectResultSet.h"
#import "GPKGRowResultSet.h"
#import "GPKGPagination.h"
#import "GPKGPaginatedResults.h"
#import "GPKGObjectPaginatedResults.h"
#import "GPKGRowPaginatedResults.h"
#import "GPKGPixelBounds.h"
#import "GPKGGeometryCrop.h"

#endif /* geopackage_ios_Bridging_Header_h */


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<TITLE>
Overview (Openfire 3.8.1 Javadoc)
</TITLE>

<META NAME="keywords" CONTENT="Overview,
                Openfire 3.8.1 Javadoc">

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">

Openfire 3.8.1 Javadoc

All Classes

Packages

org.jivesoftware.admin

org.jivesoftware.database

org.jivesoftware.database.bugfix

org.jivesoftware.openfire

org.jivesoftware.openfire.admin

org.jivesoftware.openfire.audit

org.jivesoftware.openfire.audit.spi

org.jivesoftware.openfire.auth

org.jivesoftware.openfire.clearspace

org.jivesoftware.openfire.cluster

org.jivesoftware.openfire.commands

org.jivesoftware.openfire.commands.admin

org.jivesoftware.openfire.commands.admin.group

org.jivesoftware.openfire.commands.admin.muc

org.jivesoftware.openfire.commands.admin.user

org.jivesoftware.openfire.commands.clearspace

org.jivesoftware.openfire.commands.event

org.jivesoftware.openfire.component

org.jivesoftware.openfire.container

org.jivesoftware.openfire.disco

org.jivesoftware.openfire.entitycaps

org.jivesoftware.openfire.event

org.jivesoftware.openfire.filetransfer

org.jivesoftware.openfire.filetransfer.proxy

org.jivesoftware.openfire.forms

org.jivesoftware.openfire.forms.spi

org.jivesoftware.openfire.group

org.jivesoftware.openfire.handler

org.jivesoftware.openfire.http

org.jivesoftware.openfire.interceptor

org.jivesoftware.openfire.launcher

org.jivesoftware.openfire.ldap

org.jivesoftware.openfire.lockout

org.jivesoftware.openfire.mediaproxy

org.jivesoftware.openfire.muc

org.jivesoftware.openfire.muc.cluster

org.jivesoftware.openfire.muc.spi

org.jivesoftware.openfire.multiplex

org.jivesoftware.openfire.net

org.jivesoftware.openfire.nio

org.jivesoftware.openfire.pep

org.jivesoftware.openfire.privacy

org.jivesoftware.openfire.pubsub

org.jivesoftware.openfire.pubsub.cluster

org.jivesoftware.openfire.pubsub.models

org.jivesoftware.openfire.resultsetmanager

org.jivesoftware.openfire.roster

org.jivesoftware.openfire.sasl

org.jivesoftware.openfire.security

org.jivesoftware.openfire.server

org.jivesoftware.openfire.session

org.jivesoftware.openfire.spi

org.jivesoftware.openfire.starter

org.jivesoftware.openfire.stats

org.jivesoftware.openfire.transport

org.jivesoftware.openfire.update

org.jivesoftware.openfire.user

org.jivesoftware.openfire.vcard

org.jivesoftware.openfire.webdav

org.jivesoftware.util

org.jivesoftware.util.cache

org.jivesoftware.util.log.util


text:
\hypertarget{namespaceusers_1_1py}{}\section{users.\+py Namespace Reference}
\label{namespaceusers_1_1py}\index{users.\+py@{users.\+py}}

Used to manage users in the database.

\subsection{Detailed Description}
Used to manage users in the database.


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<title>Uses of Class org.deidentifier.arx.AttributeType.MicroAggregationFunctionDescription (ARX GUI Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">

JavaScript is disabled on your browser.

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Prev

Next

Frames

No Frames

All Classes

Uses of Class
org.deidentifier.arx.AttributeType.MicroAggregationFunctionDescription

Packages that use AttributeType.MicroAggregationFunctionDescription

Package
Description

org.deidentifier.arx

This package provides the public API for the ARX anonymization framework.

org.deidentifier.arx.gui.model

Uses of AttributeType.MicroAggregationFunctionDescription in org.deidentifier.arx

Methods in org.deidentifier.arx that return types with arguments of type AttributeType.MicroAggregationFunctionDescription

Modifier and Type
Method and Description

static java.util.List<AttributeType.MicroAggregationFunctionDescription>
AttributeType.listMicroAggregationFunctions()

Lists all available microaggregation functions

Uses of AttributeType.MicroAggregationFunctionDescription in org.deidentifier.arx.gui.model

Methods in org.deidentifier.arx.gui.model that return AttributeType.MicroAggregationFunctionDescription

Modifier and Type
Method and Description

AttributeType.MicroAggregationFunctionDescription
ModelConfiguration.getMicroAggregationFunction(java.lang.String attribute)

Returns the microaggregation function.

Methods in org.deidentifier.arx.gui.model with parameters of type AttributeType.MicroAggregationFunctionDescription

Modifier and Type
Method and Description

void
ModelConfiguration.setMicroAggregationFunction(java.lang.String attribute,
                           AttributeType.MicroAggregationFunctionDescription microaggregation)

Assigns a microaggregation function.

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Prev

Next

Frames

No Frames

All Classes


text:
package gwt.dojo.mobile.client;

import gwt.dojo.dijit.client.IContained;
import gwt.dojo.dijit.client.IContainer;
import gwt.dojo.dijit.client._WidgetBase;

public class IconContainer extends _WidgetBase implements IContainer, IContained {

	public static final String MODULE = "dojox/mobile/IconContainer";

	protected IconContainer() {
	}

}


text:
module SocialFeedAgregator
  class Feed

    attr_accessor :feed_type,      # :facebook, :twitter or :linkedin
                  :feed_id,        # origin feed id
                  :user_id,        # user id
                  :user_name,      # user name
                  :permalink,
                  :description,
                  :picture_url,
                  :name,
                  :link,
                  # :story,
                  :message,          # status message
                  :caption,
                  :created_at,
                  :type              # link or status

    def initialize(options={})
      @feed_type = options[:feed_type]
      @feed_id =   options[:feed_id]

      @user_id =   options[:user_id]
      @user_name = options[:user_name]

      @permalink =   options[:permalink]
      @description = options[:description]
      @picture_url = options[:picture_url]

      @name  = options[:name]
      @link  = options[:link]
      # @story = options[:story]
      @message = options[:message]
      @caption = options[:caption]
      @created_at = options[:created_at]
      @type = options[:type]
    end

  end
end


text:
<html ng-app="thInputDemo">
  <body>
    <th-input type="text" name="name" placeholder="Nickname"></th-input>
    <br>
    <th-input type="file" name="avatar" icon="file" style="width: 400px;"></th-input>
  </body>

</html>


text:
	<title>Sample declarative data binding</title>

			Demo Searcher (Searches on Attribute 'name'):

			Usage:

			Enter the name you want to search the store for.  Wildcards * (multiple character), and ? (single character), are allowed.

Search Datastore


text:
<?php

class Rediska_Command_AppendTest extends Rediska_TestCase
{
    public function testAppendToEmpty()
    {
        $reply = $this->rediska->append('test', 'abc');
        $this->assertEquals(3, $reply);
    }

    public function testAppend()
    {
        $this->rediska->set('test', 'abc');

        $reply = $this->rediska->append('test', 'abc');
        $this->assertEquals(6, $reply);

        $reply = $this->rediska->get('test');
        $this->assertEquals('abcabc', $reply);
    }
}


text:
require 'shellwords'
node[:deploy].each do |application, deploy|
  rails_env = deploy[:rails_env]

  Chef::Log.info("Generating dotenv for app: #{application} with env: #{rails_env}...")

  environment_variables = deploy[:app_env].to_h.merge(deploy[:environment_variables].to_h)
  open("#{deploy[:deploy_to]}/shared/.env", 'w') do |f|
    require 'yaml'
    environment_variables.each do |name, value|
      f.puts "#{name}=#{value.to_s.shellescape}"
    end
  end
end


text:
<phpunit
	colors="true"
	bootstrap="bootstrap.php">

	<testsuites>
		<testsuite name="Upstream PECL::OAuth Tests">
			<file>PeclTest.php</file>
		</testsuite>
		<testsuite name="Local Tests">
			<file>FunctionsTest.php</file>
			<file>OAuthTest.php</file>
		</testsuite>
	</testsuites>
</phpunit>


text:
<!DOCTYPE html>
<html>
  <head>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="support/test_utils.js"></script>
  </head>

  <body>
    <script>
      /** Ensures that all datatypes are nonempty. */
      function populateDatatypes() {
        return Promise.all(TestUtils.DATATYPES.map(function(datatype) {
          return datatype.add().then(datatype.isEmpty().then(function(isEmpty) {
            assert_false(
                isEmpty,
                datatype.name + " has to be nonempty before the test starts.");
          }));
        }));
      }

      /**
       * @param Array.<Array.<Datatype>> combination A combination of datatypes.
       * @param Dict.<string, boolean> report A map between a datatype name and
       *     whether it is empty.
       * @return boolean Whether all datatypes are empty if and only if they are
       *     included in the |combination|.
       */
      function verifyDatatypes(combination, report) {
        TestUtils.DATATYPES.forEach(function(datatype) {
          if (combination.indexOf(datatype) != -1) {
            assert_true(
                report[datatype.name],
                datatype.name + " should have been cleared.");
          } else {
            assert_false(
                report[datatype.name],
                datatype.name + " should NOT have been cleared.");
          }
        })
      }

      TestUtils.COMBINATIONS.forEach(function(combination) {
        var test_name =
            "Clear datatypes on navigation: " +
            combination.map(function(e) { return e.name; }).join(", ");

        promise_test(function(test) {
          return populateDatatypes()
              .then(function() {
                // Navigate to a resource with a Clear-Site-Data header in an
                // iframe, then verify that the correct types have been deleted.
                return new Promise(function(resolve, reject) {
                  window.addEventListener("message", resolve);
                  var iframe = document.createElement("iframe");
                  iframe.src = TestUtils.getClearSiteDataUrl(combination);
                  document.body.appendChild(iframe);
                }).then(function(messageEvent) {
                  verifyDatatypes(combination, messageEvent.data);
                });
              });
        }, test_name);
      });
    </script>
  </body>
</html>


text:
<?xml version="1.0" encoding="UTF-8"?>
<DocSetNodes version="1.0">
    <TOC>
        <Node type="folder">
            <Name>Pods</Name>
            <Path>index.html</Path>
			<Subnodes>

				<Node type="folder">
					<Name>Classes</Name>
					<Path>index.html</Path>
					<Subnodes>
						<NodeRef refid="1"/>
						<NodeRef refid="2"/>

					</Subnodes>
				</Node>

				<Node>
					<Name>Categories</Name>
					<Path>index.html</Path>
					<Subnodes>
						<NodeRef refid="3"/>
						<NodeRef refid="4"/>
						<NodeRef refid="5"/>
						<NodeRef refid="6"/>
						<NodeRef refid="7"/>
						<NodeRef refid="8"/>
						<NodeRef refid="9"/>
						<NodeRef refid="10"/>
						<NodeRef refid="11"/>
						<NodeRef refid="12"/>
						<NodeRef refid="13"/>
						<NodeRef refid="14"/>
						<NodeRef refid="15"/>
						<NodeRef refid="16"/>
						<NodeRef refid="17"/>
						<NodeRef refid="18"/>
						<NodeRef refid="19"/>
						<NodeRef refid="20"/>
						<NodeRef refid="21"/>
						<NodeRef refid="22"/>
						<NodeRef refid="23"/>
						<NodeRef refid="24"/>
						<NodeRef refid="25"/>
						<NodeRef refid="26"/>
						<NodeRef refid="27"/>

					</Subnodes>
				</Node>

				<Node>
					<Name>Protocols</Name>
					<Path>index.html</Path>
					<Subnodes>
						<NodeRef refid="28"/>
						<NodeRef refid="29"/>

					</Subnodes>
				</Node>

				<Node>
					<Name>Constants</Name>
					<Path>index.html</Path>
					<Subnodes>
						<NodeRef refid="30"/>
						<NodeRef refid="31"/>
						<NodeRef refid="32"/>

					</Subnodes>
				</Node>

                <Node>
                    <Name>Blocks</Name>
                    <Path>index.html</Path>
                    <Subnodes>
                        <NodeRef refid="33"/>

                    </Subnodes>
                </Node>

			</Subnodes>
        </Node>
    </TOC>
	<Library>

		<Node id="1" type="file" documentType="reference">
            <Name>NSAttributes</Name>
            <Path>Classes/NSAttributes.html</Path>

        </Node>
		<Node id="2" type="file" documentType="reference">
            <Name>ThroughTouchButton</Name>
            <Path>Classes/ThroughTouchButton.html</Path>

        </Node>

		<Node id="3" type="file" documentType="reference">
            <Name>NSAttributedString(Allocation)</Name>
            <Path>Categories/NSAttributedString+Allocation.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/NSAttributedString+Allocation.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/NSAttributedString+Allocation.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/NSAttributedString+Allocation.html</Path>
                    <Name>Class Methods</Name>
                    <Anchor>class_methods</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/NSAttributedString+Allocation.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="4" type="file" documentType="reference">
            <Name>NSDictionary(Attributes)</Name>
            <Path>Categories/NSDictionary+Attributes.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/NSDictionary+Attributes.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/NSDictionary+Attributes.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/NSDictionary+Attributes.html</Path>
                    <Name>Class Methods</Name>
                    <Anchor>class_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="5" type="file" documentType="reference">
            <Name>NSString(Sizing)</Name>
            <Path>Categories/NSString+Sizing.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/NSString+Sizing.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/NSString+Sizing.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/NSString+Sizing.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="6" type="file" documentType="reference">
            <Name>UIApplication(Navigation)</Name>
            <Path>Categories/UIApplication+Navigation.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIApplication+Navigation.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIApplication+Navigation.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIApplication+Navigation.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="7" type="file" documentType="reference">
            <Name>UIButton(Allocation)</Name>
            <Path>Categories/UIButton+Allocation.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIButton+Allocation.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIButton+Allocation.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIButton+Allocation.html</Path>
                    <Name>Class Methods</Name>
                    <Anchor>class_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="8" type="file" documentType="reference">
            <Name>UIButton(Touches)</Name>
            <Path>Categories/UIButton+Touches.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIButton+Touches.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIButton+Touches.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIButton+Touches.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="9" type="file" documentType="reference">
            <Name>UIColor(Allocation)</Name>
            <Path>Categories/UIColor+Allocation.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIColor+Allocation.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIColor+Allocation.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIColor+Allocation.html</Path>
                    <Name>Class Methods</Name>
                    <Anchor>class_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="10" type="file" documentType="reference">
            <Name>UIFont(Allocation)</Name>
            <Path>Categories/UIFont+Allocation.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIFont+Allocation.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIFont+Allocation.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIFont+Allocation.html</Path>
                    <Name>Class Methods</Name>
                    <Anchor>class_methods</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIFont+Allocation.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="11" type="file" documentType="reference">
            <Name>UIImage(Framing)</Name>
            <Path>Categories/UIImage+Framing.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIImage+Framing.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIImage+Framing.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIImage+Framing.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="12" type="file" documentType="reference">
            <Name>UIImage(Network)</Name>
            <Path>Categories/UIImage+Network.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIImage+Network.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIImage+Network.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIImage+Network.html</Path>
                    <Name>Class Methods</Name>
                    <Anchor>class_methods</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIImage+Network.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="13" type="file" documentType="reference">
            <Name>UIImageView(Allocation)</Name>
            <Path>Categories/UIImageView+Allocation.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIImageView+Allocation.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIImageView+Allocation.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIImageView+Allocation.html</Path>
                    <Name>Class Methods</Name>
                    <Anchor>class_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="14" type="file" documentType="reference">
            <Name>UIImageView(Network)</Name>
            <Path>Categories/UIImageView+Network.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIImageView+Network.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIImageView+Network.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIImageView+Network.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="15" type="file" documentType="reference">
            <Name>UIImageView(Rendering)</Name>
            <Path>Categories/UIImageView+Rendering.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIImageView+Rendering.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIImageView+Rendering.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIImageView+Rendering.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="16" type="file" documentType="reference">
            <Name>UILabel(Allocation)</Name>
            <Path>Categories/UILabel+Allocation.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UILabel+Allocation.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UILabel+Allocation.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UILabel+Allocation.html</Path>
                    <Name>Class Methods</Name>
                    <Anchor>class_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="17" type="file" documentType="reference">
            <Name>UILabel(Framing)</Name>
            <Path>Categories/UILabel+Framing.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UILabel+Framing.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UILabel+Framing.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UILabel+Framing.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="18" type="file" documentType="reference">
            <Name>UINavigationItem(ButtonPositioning)</Name>
            <Path>Categories/UINavigationItem+ButtonPositioning.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UINavigationItem+ButtonPositioning.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UINavigationItem+ButtonPositioning.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UINavigationItem+ButtonPositioning.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="19" type="file" documentType="reference">
            <Name>UIView(Alignment)</Name>
            <Path>Categories/UIView+Alignment.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIView+Alignment.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIView+Alignment.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIView+Alignment.html</Path>
                    <Name>Class Methods</Name>
                    <Anchor>class_methods</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIView+Alignment.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="20" type="file" documentType="reference">
            <Name>UIView(Allocation)</Name>
            <Path>Categories/UIView+Allocation.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIView+Allocation.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIView+Allocation.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIView+Allocation.html</Path>
                    <Name>Class Methods</Name>
                    <Anchor>class_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="21" type="file" documentType="reference">
            <Name>UIView(Animation)</Name>
            <Path>Categories/UIView+Animation.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIView+Animation.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIView+Animation.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIView+Animation.html</Path>
                    <Name>Class Methods</Name>
                    <Anchor>class_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="22" type="file" documentType="reference">
            <Name>UIView(Autolayout)</Name>
            <Path>Categories/UIView+Autolayout.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIView+Autolayout.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIView+Autolayout.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIView+Autolayout.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="23" type="file" documentType="reference">
            <Name>UIView(Framing)</Name>
            <Path>Categories/UIView+Framing.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIView+Framing.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIView+Framing.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIView+Framing.html</Path>
                    <Name>Class Methods</Name>
                    <Anchor>class_methods</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIView+Framing.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="24" type="file" documentType="reference">
            <Name>UIView(Masking)</Name>
            <Path>Categories/UIView+Masking.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIView+Masking.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIView+Masking.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIView+Masking.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="25" type="file" documentType="reference">
            <Name>UIViewController(Buttons)</Name>
            <Path>Categories/UIViewController+Buttons.html</Path>

        </Node>
		<Node id="26" type="file" documentType="reference">
            <Name>UIViewController(Navigation)</Name>
            <Path>Categories/UIViewController+Navigation.html</Path>

        </Node>
		<Node id="27" type="file" documentType="reference">
            <Name>UIViewController(NavigationBar)</Name>
            <Path>Categories/UIViewController+NavigationBar.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Categories/UIViewController+NavigationBar.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Categories/UIViewController+NavigationBar.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Categories/UIViewController+NavigationBar.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>

        <Node id="28" type="file" documentType="reference">
            <Name>NavigationButtonProtocol</Name>
            <Path>Protocols/NavigationButtonProtocol.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Protocols/NavigationButtonProtocol.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Protocols/NavigationButtonProtocol.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Protocols/NavigationButtonProtocol.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>
		<Node id="29" type="file" documentType="reference">
            <Name>NavigationNotificationExtention</Name>
            <Path>Protocols/NavigationNotificationExtention.html</Path>

                <Subnodes>
                <Node type="section">
                    <Path>Protocols/NavigationNotificationExtention.html</Path>
                    <Name>Overview</Name>
                    <Anchor>overview</Anchor>
                </Node>
                <Node type="section">
                    <Path>Protocols/NavigationNotificationExtention.html</Path>
                    <Name>Tasks</Name>
                    <Anchor>tasks</Anchor>
                </Node>

                <Node type="section">
                    <Path>Protocols/NavigationNotificationExtention.html</Path>
                    <Name>Instance Methods</Name>
                    <Anchor>instance_methods</Anchor>
                </Node>

            </Subnodes>

        </Node>

        <Node id="30" type="file" documentType="reference">
            <Name>FontType</Name>
            <Path>Constants/FontType.html</Path>

        </Node>
		<Node id="31" type="file" documentType="reference">
            <Name>NavigationButtonType</Name>
            <Path>Constants/NavigationButtonType.html</Path>

        </Node>
		<Node id="32" type="file" documentType="reference">
            <Name>UIControlEventsExtended</Name>
            <Path>Constants/UIControlEventsExtended.html</Path>

        </Node>

        <Node id="33" type="file" documentType="reference">
            <Name>SubviewConstraint</Name>
            <Path>Blocks/SubviewConstraint.html</Path>

        </Node>

	</Library>
</DocSetNodes>