Examples of attributeText()


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

                    org.jibx.binding.Utility.bindingFromFileName(fname));
                int major = ictx.attributeInt(URI_ATTRIBUTES,
                    BINDING_MAJORVER, 0);
                int minor = ictx.attributeInt(URI_ATTRIBUTES,
                    BINDING_MINORVER, 0);
                String tpack = ictx.attributeText(URI_ATTRIBUTES,
                    BINDING_PACKAGE, null);
                boolean direct = ctx.attributeBoolean(URI_ATTRIBUTES,
                    INCLUDE_PRECOMPILED, false);
                if (direct && tpack == null) {
                    throw new JiBXException("package attribute is required for precompiled binding");
View Full Code Here

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

         map = new Properties(size);

      ctx.parsePastStartTag(marshalURI, marshallName);
      while (ctx.isAt(marshalURI, ENTRY_ELEMENT_NAME))
      {
         Object key = ctx.attributeText(marshalURI, KEY_ATTRIBUTE_NAME, null);
         ctx.next();
         Object value = ctx.getText();
         map.put(key.toString(), value.toString());
         ctx.parsePastEndTag(marshalURI, ENTRY_ELEMENT_NAME);
      }
View Full Code Here

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

        if (map == null)
            map = new Properties(size);

        ctx.parsePastStartTag(marshalURI, marshallName);
        while (ctx.isAt(marshalURI, ENTRY_ELEMENT_NAME)) {
            Object key = ctx.attributeText(marshalURI, KEY_ATTRIBUTE_NAME, null);
            ctx.next();
            Object value = ctx.getText();
            map.put(key.toString(), value.toString());
            ctx.parsePastEndTag(marshalURI, ENTRY_ELEMENT_NAME);
        }
View Full Code Here

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

        if (map == null)
            map = new Properties(size);

        ctx.parsePastStartTag(marshalURI, marshallName);
        while (ctx.isAt(marshalURI, ENTRY_ELEMENT_NAME)) {
            Object key = ctx.attributeText(marshalURI, KEY_ATTRIBUTE_NAME, null);
            ctx.next();
            Object value = ctx.getText();
            map.put(key.toString(), value.toString());
            ctx.parsePastEndTag(marshalURI, ENTRY_ELEMENT_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.