/** * Adds a new feature to the discovered information. * * @param feature the discovered feature */ public void addFeature(String feature) { addFeature(new Feature(feature)); }
/** * Returns an Iterator for the fields that are part of the form. * * @return an Iterator for the fields that are part of the form. */ public Iterator<FormField> getFields() { return dataForm.getFields(); }
/** * Returns the description of the data. It is similar to the title on a web page or an X * window. You can put a <title/> on either a form to fill out, or a set of data results. * * @return description of the data. */ public String getTitle() { return dataForm.getTitle(); }
/** * Get a TransportNegotiator instance. * * @param candidate */ public org.jivesoftware.smackx.packet.JingleTransport getJingleTransport(TransportCandidate candidate) { org.jivesoftware.smackx.packet.JingleTransport.Ice jt = new org.jivesoftware.smackx.packet.JingleTransport.Ice(); jt.addCandidate(new org.jivesoftware.smackx.packet.JingleTransport.Ice.Candidate(candidate)); return jt; }
/** * Get a TransportNegotiator instance. */ public org.jivesoftware.smackx.packet.JingleTransport getJingleTransport(TransportCandidate bestRemote) { org.jivesoftware.smackx.packet.JingleTransport.RawUdp jt = new org.jivesoftware.smackx.packet.JingleTransport.RawUdp(); jt.addCandidate(new org.jivesoftware.smackx.packet.JingleTransport.RawUdp.Candidate(bestRemote)); return jt; }
/** * Adds a new feature to the discovered information. * * @param feature the discovered feature */ public void addFeature(String feature) { addFeature(new DiscoverInfo.Feature(feature)); }
/** * Adds a new feature to the discovered information. * * @param feature the discovered feature */ public void addFeature(String feature) { addFeature(new Feature(feature)); }
/** * Adds a new feature to the discovered information. * * @param feature the discovered feature */ public void addFeature(String feature) { addFeature(new Feature(feature)); }