Examples of bindFrom()


Examples of com.caucho.jaxb.mapping.XmlMapping.bindFrom()

            throw new UnmarshalException(L.l("Child <{0}> not found", name));

          if (! mapping.getAccessor().checkOrder(i++, binder.getEventHandler()))
            throw new UnmarshalException(L.l("Child <{0}> misordered", name));

          mapping.bindFrom(binder, node, ret);
        }

        child = node.nextSibling();
      }
    }
View Full Code Here

Examples of com.caucho.jaxb.mapping.XmlMapping.bindFrom()

            throw new UnmarshalException(L.l("Child <{0}> not found", name));

          if (! mapping.getAccessor().checkOrder(i++, binder.getEventHandler()))
            throw new UnmarshalException(L.l("Child <{0}> misordered", name));

          mapping.bindFrom(binder, node, ret);
        }

        child = node.nextSibling();
      }
    }
View Full Code Here

Examples of com.caucho.jaxb.skeleton.ClassSkeleton.bindFrom()

    if (skeleton == null)
      throw new UnmarshalException(L.l("Root element {0} is unknown to this context",
                                       name));

    try {
      return skeleton.bindFrom(this, null, new NodeIterator(root));
    }
    catch (IOException e) {
      throw new JAXBException(e);
    }
  }
View Full Code Here

Examples of com.caucho.jaxb.skeleton.ClassSkeleton.bindFrom()

    if (skeleton == null)
      throw new UnmarshalException(L.l("Type {0} is unknown to this context",
                                       declaredType));

    try {
      T value = (T) skeleton.bindFrom(this, null, new NodeIterator(root));

      QName qname = JAXBUtil.qnameFromNode(root);

      return new JAXBElement<T>(qname, declaredType, value);
    }
View Full Code Here

Examples of com.caucho.jaxb.skeleton.ClassSkeleton.bindFrom()

        throw new UnmarshalException(L.l("Type {0} is unknown to this context",
                                         jaxbObject.getClass()));
    }

    try {
      return skeleton.bindFrom(this, jaxbObject, new NodeIterator(root));
    }
    catch (IOException e) {
      throw new JAXBException(e);
    }
  }
View Full Code Here

Examples of com.caucho.jaxb.skeleton.ClassSkeleton.bindFrom()

    if (skeleton == null)
      throw new UnmarshalException(L.l("Root element {0} is unknown to this context",
                                       name));

    try {
      return skeleton.bindFrom(this, null, new NodeIterator(root));
    }
    catch (IOException e) {
      throw new JAXBException(e);
    }
  }
View Full Code Here

Examples of com.caucho.jaxb.skeleton.ClassSkeleton.bindFrom()

    if (skeleton == null)
      throw new UnmarshalException(L.l("Type {0} is unknown to this context",
                                       declaredType));

    try {
      T value = (T) skeleton.bindFrom(this, null, new NodeIterator(root));

      QName qname = JAXBUtil.qnameFromNode(root);

      return new JAXBElement<T>(qname, declaredType, value);
    }
View Full Code Here

Examples of com.caucho.jaxb.skeleton.ClassSkeleton.bindFrom()

        throw new UnmarshalException(L.l("Type {0} is unknown to this context",
                                         jaxbObject.getClass()));
    }

    try {
      return skeleton.bindFrom(this, jaxbObject, new NodeIterator(root));
    }
    catch (IOException e) {
      throw new JAXBException(e);
    }
  }
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.