Package org.apache.xmlbeans

Examples of org.apache.xmlbeans.XmlBoolean


         fixedTopicSetDoc.setFixedTopicSet( m_topicSet.isFixed(  ) );
         prop.add( fixedTopicSetDoc );
      }
      else
      {
         XmlBoolean fixedTopicSetPropElem = (XmlBoolean) prop.get( 0 );
         fixedTopicSetPropElem.setBooleanValue( m_topicSet.isFixed(  ) );
      }

      return prop;
   }
View Full Code Here


         throw new ClientErrorNotPossibleFaultException(new NamespaceVersionHolderImpl(), "Problem occurred when retrieving resource: " + e.getLocalizedMessage());
      }

      XmlBeansResourceProperty resourceProperty =
         (XmlBeansResourceProperty) resource.getResourcePropertySet(  ).get( PrinterPortPropertyQNames.PRINTER_IS_ACCEPTING_JOBS );
      XmlBoolean               doc = (XmlBoolean) resourceProperty.get( 0 );
      return doc.getBooleanValue(  );
   }
View Full Code Here

        XmlObject[] childElements = XmlBeanUtils.getChildElements(body, new QName("http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceProperties-1.2-draft-05.xsd","GetResourcePropertyDocumentResponse"));
        XmlObject childElement = childElements[0];
        XmlObject[] printerprops = XmlBeanUtils.getChildElements(childElement, new QName(PrinterPortPropertyQNames.QUEUED_JOB_COUNT.getNamespaceURI(), "printer_properties"));
        XmlInteger elem = (XmlInteger) XmlBeanUtils.getChildElements(printerprops[0], PrinterPortPropertyQNames.QUEUED_JOB_COUNT)[0];
        assertTrue(elem.getBigIntegerValue().intValue() == 0);
        XmlBoolean bool = (XmlBoolean) XmlBeanUtils.getChildElements(printerprops[0], PrinterPortPropertyQNames.PRINTER_IS_ACCEPTING_JOBS)[0];
        assertTrue(bool.getBooleanValue() == false);
    }
View Full Code Here

         throw new ClientErrorNotPossibleFaultException(new NamespaceVersionHolderImpl(), "Problem occurred when retrieving resource: " + e.getLocalizedMessage());
      }

      XmlBeansResourceProperty resourceProperty =
         (XmlBeansResourceProperty) resource.getResourcePropertySet(  ).get( PrinterPortPropertyQNames.PRINTER_IS_ACCEPTING_JOBS );
      XmlBoolean               doc = (XmlBoolean) resourceProperty.get( 0 );
      return doc.getBooleanValue(  );
   }
View Full Code Here

         throw new ClientErrorNotPossibleFaultException(new NamespaceVersionHolderImpl(), "Problem occurred when retrieving resource: " + e.getLocalizedMessage());
      }

      XmlBeansResourceProperty resourceProperty =
         (XmlBeansResourceProperty) resource.getResourcePropertySet(  ).get( PrinterPortPropertyQNames.PRINTER_IS_ACCEPTING_JOBS );
      XmlBoolean               doc = (XmlBoolean) resourceProperty.get( 0 );
      return doc.getBooleanValue(  );
   }
View Full Code Here

    * @throws CallbackFailedException DOCUMENT_ME
    */
   public void updateProperty( Object[] propElems )
   throws CallbackFailedException
   {
      XmlBoolean useNotify = (XmlBoolean) propElems[0];
      m_subscription.setUseNotify( useNotify.getBooleanValue(  ) );
   }
View Full Code Here

         UseNotifyDocument useNotifyDoc = UseNotifyDocument.Factory.newInstance(  );
         useNotifyDoc.setUseNotify( true );
         prop.add( useNotifyDoc );
      }

      XmlBoolean useNotify = (XmlBoolean) prop.get( 0 );
      useNotify.setBooleanValue( m_subscription.getUseNotify(  ) );
      return prop;
   }
View Full Code Here

        XmlObject[] childElements = XmlBeanUtils.getChildElements(body, new QName("http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceProperties-1.2-draft-05.xsd","GetResourcePropertyDocumentResponse"));
        XmlObject childElement = childElements[0];
        XmlObject[] printerprops = XmlBeanUtils.getChildElements(childElement, new QName(PrinterPortPropertyQNames.QUEUED_JOB_COUNT.getNamespaceURI(), "printer_properties"));
        XmlInteger elem = (XmlInteger) XmlBeanUtils.getChildElements(printerprops[0], PrinterPortPropertyQNames.QUEUED_JOB_COUNT)[0];
        assertTrue(elem.getBigIntegerValue().intValue() == 0);
        XmlBoolean bool = (XmlBoolean) XmlBeanUtils.getChildElements(printerprops[0], PrinterPortPropertyQNames.PRINTER_IS_ACCEPTING_JOBS)[0];
        assertTrue(bool.getBooleanValue() == false);
    }
View Full Code Here

         fixedTopicSetDoc.setFixedTopicSet( m_topicSet.isFixed(  ) );
         prop.add( fixedTopicSetDoc );
      }
      else
      {
         XmlBoolean fixedTopicSetPropElem = (XmlBoolean) prop.get( 0 );
         fixedTopicSetPropElem.setBooleanValue( m_topicSet.isFixed(  ) );
      }

      return prop;
   }
View Full Code Here

TOP

Related Classes of org.apache.xmlbeans.XmlBoolean

Copyright © 2018 www.massapicom. 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.