Examples of parsePastStartTag()


Examples of org.jibx.runtime.impl.UnmarshallingContext.parsePastStartTag()

        if (map == null) {
            map = new HashMap(size);
        }
       
        // process all entries present in document
        ctx.parsePastStartTag(m_uri, m_name);
        String tdflt = xsdlead + "string";
        while (ctx.isAt(m_uri, ENTRY_ELEMENT_NAME)) {
           
            // unmarshal key and type from start tag attributes
            Object key = ctx.attributeText(m_uri, KEY_ATTRIBUTE_NAME);
View Full Code Here

Examples of org.jibx.runtime.impl.UnmarshallingContext.parsePastStartTag()

       
        // make sure we're at the appropriate start tag
        UnmarshallingContext ctx = (UnmarshallingContext)ictx;
        if (m_name != null) {
            if (ctx.isAt(m_uri, m_name)) {
                ctx.parsePastStartTag(m_uri, m_name);
            } else {
                return null;
            }
        }
       
View Full Code Here

Examples of org.jibx.runtime.impl.UnmarshallingContext.parsePastStartTag()

        if (map == null) {
            map = new HashMap(size);
        }
       
        // process all entries present in document
        ctx.parsePastStartTag(m_uri, m_name);
        while (ctx.isAt(m_uri, ENTRY_ELEMENT_NAME)) {
            Object key = ctx.attributeText(m_uri, KEY_ATTRIBUTE_NAME, null);
            ctx.parsePastStartTag(m_uri, ENTRY_ELEMENT_NAME);
            Object value = ctx.unmarshalElement();
            map.put(key, value);
View Full Code Here

Examples of org.jibx.runtime.impl.UnmarshallingContext.parsePastStartTag()

       
        // process all entries present in document
        ctx.parsePastStartTag(m_uri, m_name);
        while (ctx.isAt(m_uri, ENTRY_ELEMENT_NAME)) {
            Object key = ctx.attributeText(m_uri, KEY_ATTRIBUTE_NAME, null);
            ctx.parsePastStartTag(m_uri, ENTRY_ELEMENT_NAME);
            Object value = ctx.unmarshalElement();
            map.put(key, value);
            ctx.parsePastEndTag(m_uri, ENTRY_ELEMENT_NAME);
        }
        ctx.parsePastEndTag(m_uri, m_name);
View Full Code Here

Examples of org.jibx.runtime.impl.UnmarshallingContext.parsePastStartTag()

        if (map == null) {
            map = new HashMap(size);
        }
       
        // process all entries present in document
        ctx.parsePastStartTag(m_uri, m_name);
        while (ctx.isAt(m_uri, getEntryElementName())) {
            Object key = ctx.attributeText(m_uri, getKeyAttributeName(), null);
            ctx.parsePastStartTag(m_uri, getEntryElementName());
            Object value = ctx.unmarshalElement();
            map.put(key, value);
View Full Code Here

Examples of org.jibx.runtime.impl.UnmarshallingContext.parsePastStartTag()

       
        // process all entries present in document
        ctx.parsePastStartTag(m_uri, m_name);
        while (ctx.isAt(m_uri, getEntryElementName())) {
            Object key = ctx.attributeText(m_uri, getKeyAttributeName(), null);
            ctx.parsePastStartTag(m_uri, getEntryElementName());
            Object value = ctx.unmarshalElement();
            map.put(key, value);
            ctx.parsePastEndTag(m_uri, getEntryElementName());
        }
        ctx.parsePastEndTag(m_uri, m_name);
View Full Code Here

Examples of org.jibx.runtime.impl.UnmarshallingContext.parsePastStartTag()

                    nsxlate = bdef.addPrecompiledBinding(factory, major, minor);
                }
                   
               
                // unmarshal namespaces (to apply to these mappings, only)
                ictx.parsePastStartTag(URI_ELEMENTS, BINDING_ELEMENT);
                ArrayList nss = new ArrayList(nslist);
                while (ictx.isAt(URI_ELEMENTS, NAMESPACE_ELEMENT)) {
                    nss.add(unmarshalNamespace(ictx));
                }
               
View Full Code Here

Examples of org.jibx.runtime.impl.UnmarshallingContext.parsePastStartTag()

        UnmarshallingContext ctx = (UnmarshallingContext)ictx;
        Name name = (Name)obj;
        if (name == null) {
            name = new Name();
        }
        ctx.parsePastStartTag(null, "name");
        name.firstName = ctx.parseElementText(null, "first-name");
        name.lastName = ctx.parseElementText(null, "last-name");
        ctx.parsePastEndTag(null, "name");
        return name;
    }
View Full Code Here

Examples of org.jibx.runtime.impl.UnmarshallingContext.parsePastStartTag()

        UnmarshallingContext ctx = (UnmarshallingContext)ictx;
        Name name = (Name)obj;
        if (name == null) {
            name = new Name();
        }
        ctx.parsePastStartTag(m_uri, m_name);
        name.firstName = ctx.parseElementText(m_uri, "first-name");
        name.lastName = ctx.parseElementText(m_uri, "last-name");
        ctx.parsePastEndTag(m_uri, m_name);
        return name;
    }
View Full Code Here

Examples of org.jibx.runtime.impl.UnmarshallingContext.parsePastStartTag()

       
        // make sure we're at the appropriate start tag
        UnmarshallingContext ctx = (UnmarshallingContext)ictx;
        if (m_name != null) {
            if (ctx.isAt(m_uri, m_name)) {
                ctx.parsePastStartTag(m_uri, m_name);
            } else {
                return null;
            }
        }
       
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.