Examples of XBean


Examples of org.salamandra.web.core.xo.XBean

  public Element process(String nodeKey, HttpServletRequest request, Document document) throws NodeProcessorException{
    try {
      Element root = document.createElement(nodeKey);

      XBean xbean = getXObject(nodeKey, request);
      if (xbean!=null) {
        XmlBindingFactory xf = (XmlBindingFactory) getBindingFactory();
        AbstractXmlBinding binding = xf.create(Protocol.XSLT, xbean);
        binding.marshal( root );
      }
View Full Code Here

Examples of org.salamandra.web.core.xo.XBean

      throw new NodeProcessorException(e);
    }
  }
 
  protected Object getJAXBElement(String nodeKey, HttpServletRequest request){
    XBean xobject = JAXBObject.lookup(nodeKey, request);
    if ( (xobject!=null)&&
       (xobject instanceof JAXBObject) ) {
     
      Object object = ((JAXBObject) xobject).getBean();
     
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.