Examples of parsePastEndTag()


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

       
        // get object reference for ID
        obj = ctx.attributeExistingIDREF(null, getAttributeName(), 0);
       
        // skip past the element
        ctx.parsePastEndTag(m_uri, m_name);
        return obj;
    }
}
View Full Code Here

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

            // add key-value pair to map
            map.put(key, value);
        }
       
        // finish by skipping past wrapper end tag
        ctx.parsePastEndTag(m_uri, m_name);
        return map;
    }
}
View Full Code Here

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

            m_holder.add(item);
        }
       
        // discard close tag if used
        if (m_name != null) {
            ctx.parsePastEndTag(m_uri, m_name);
        }
       
        // return array containing all items
        Object[] result = m_holder.toArray(m_baseArray);
        m_holder.clear();
View Full Code Here

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

        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);
        return map;
    }
}
View Full Code Here

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

            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);
        return map;
    }
}
View Full Code Here

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

            m_holder.add(item);
        }
       
        // discard close tag if used
        if (m_name != null) {
            ctx.parsePastEndTag(m_uri, m_name);
        }
       
        // return array containing all items
        Object[] result = m_holder.toArray();
        m_holder.clear();
View Full Code Here

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

               
            } else {
               
                // find object based on ID
                obj = ctx.findID(id, 0);
                ctx.parsePastEndTag(m_uri, m_name);
                if (obj == null) {
                    ctx.throwStartTagException("Reference to undefined ID " +
                        id);
                }
            }
View Full Code Here

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

        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);
        return map;
    }
}
View Full Code Here

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

            ctx.parsePastStartTag(m_uri, getEntryElementName());
            Object value = ctx.unmarshalElement();
            map.put(key, value);
            ctx.parsePastEndTag(m_uri, getEntryElementName());
        }
        ctx.parsePastEndTag(m_uri, m_name);
        return map;
    }
}
View Full Code Here

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

            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
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.