Lines Matching defs:xmlNode
100 public void marshal(Object jaxbObject, XmlNode xmlNode) throws JAXBException {
101 if ((xmlNode == null) || (jaxbObject == null))
103 getMarshaller().marshal(jaxbObject,createOutput(xmlNode));
107 private DOMOutput createOutput(XmlNode xmlNode) {
108 return new DOMOutput((Node)xmlNode,assoc);
112 public Object updateJAXB(XmlNode xmlNode) throws JAXBException {
113 return associativeUnmarshal(xmlNode,true,null);
116 public Object unmarshal( XmlNode xmlNode ) throws JAXBException {
117 return associativeUnmarshal(xmlNode,false,null);
120 public <T> JAXBElement<T> unmarshal(XmlNode xmlNode, Class<T> expectedType) throws JAXBException {
122 return (JAXBElement)associativeUnmarshal(xmlNode,true,expectedType);
134 private Object associativeUnmarshal(XmlNode xmlNode, boolean inplace, Class expectedType) throws JAXBException {
135 if (xmlNode == null)
146 scanner.scan(xmlNode);
162 public Object getJAXBNode(XmlNode xmlNode) {
163 if(xmlNode==null)
165 AssociationMap.Entry e = assoc.byElement(xmlNode);
175 public XmlNode updateXML(Object jaxbObject, XmlNode xmlNode) throws JAXBException {
176 if(jaxbObject==null || xmlNode==null) throw new IllegalArgumentException();
181 Element e = (Element)xmlNode;