Examples of element()


Examples of org.jibx.runtime.impl.MarshallingContext.element()

        throws JiBXException {
        MarshallingContext ctx = (MarshallingContext)ictx;
        Name name = (Name)obj;
        ctx.startTag(m_index, m_name);
        ctx.element(m_index, "first-name", name.firstName);
        ctx.element(m_index, "last-name", name.lastName);
        ctx.endTag(m_index, m_name);
    }
   
    /* (non-Javadoc)
     * @see org.jibx.runtime.IUnmarshaller#isPresent(org.jibx.runtime.IUnmarshallingContext)
View Full Code Here

Examples of org.xmlpull.infoset.XmlElement.element()

        XmlElement typesElement = this.wsdl.getTypes();
        if (typesElement == null) {
            throw new ComponentException("No types is defined.");
        }
       
        if (typesElement.element(null, WSConstants.SCHEMA_TAG) == null) {
            throw new ComponentException("No schema is defined.");
        }
       
        XmlElement elementElement = null;
        XmlElement schemaElement = null;
View Full Code Here

Examples of org.xmlpull.v1.builder.XmlElement.element()

    }

    public XmlElement getHeader(String localName) {
        XmlElement header = envelope.element(null, "Header");
        if (header != null) {
            return header.element(null, localName);
        } else {
            return null;
        }

    }
View Full Code Here

Examples of ucar.ma2.Range.element()

            // Use Range object, which calculates requested i, j
            // values and incorporates stride
            for (int i = 0; i < geoXRange.length(); i++) {
                for (int j = 0; j < geoYRange.length(); j++) {
                    pixel[0][0] = (double) geoXRange.element(i);
                    pixel[1][0] = (double) geoYRange.element(j);
                    latLon      = nav.toLatLon(pixel);

                    if (varname.equals("lat")) {
                        dataArray.setFloat(dataIndex.set(j, i),
                                           (float) (latLon[0][0]));
View Full Code Here

Examples of ucar.ma2.Range.element()

                if (bandRange != null) {
                    for (int k = 0; k < bandRange.length(); k++) {
                        int bandIndex = bandRange.element(k) + 1// band numbers in McIDAS are 1 based
                        for (int j = 0; j < geoYRange.length(); j++) {
                            for (int i = 0; i < geoXRange.length(); i++) {
                                pixelData = af.getData(geoYRange.element(j),
                                        geoXRange.element(i), 1, 1,
                                        bandIndex);
                                dataArray.setInt(dataIndex.set(0, k, j, i),
                                        (pixelData[0][0]));
                            }
View Full Code Here

Examples of ucar.ma2.Range.element()

                    }

                } else {
                    for (int j = 0; j < geoYRange.length(); j++) {
                        for (int i = 0; i < geoXRange.length(); i++) {
                            pixelData = af.getData(geoYRange.element(j),
                                    geoXRange.element(i), 1, 1);
                            dataArray.setInt(dataIndex.set(0, j, i),
                                             (pixelData[0][0]));
                        }
                    }
View Full Code Here

Examples of xsul.wsif.WSIFPort.element()

      throw new XBayaRuntimeException(e);
    }
    org.xmlpull.infoset.XmlElement service = workflowWSDL.xml().element(
        null, "service");
    org.xmlpull.infoset.XmlElement port = service.element(null, "port");
    org.xmlpull.infoset.XmlElement address = port.element(null, "address");
    String location = address.attributeValue("location");

    URI ret = null;
    try {
      ret = new URI(location + "?wsdl");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.