Examples of checkValid()


Examples of com.sun.appserv.management.base.Extra.checkValid()

               within a cluster, implicitly delete other (redundant) references
               eg references by clustered servers.  Verify that a reference still
               exists before attempting to delete it.
             */
            final Extra extra = Util.getExtra( ref );
            if ( extra.checkValid() )
            {
                final ConfigRemover rrc   = ConfigRemover.class.cast( ref.getContainer() );
               
                try
                {
View Full Code Here

Examples of com.sun.msv.datatype.xsd.XSDatatype.checkValid()

          else
          {// it returns false otherwise,
            // call diagnose method to see what is wrong.
            try
            {
              dt.checkValid(value,null);
              System.out.println("valid");
            }
            catch( DatatypeException diag )
            {
              if( diag.getMessage()==null ) {
View Full Code Here

Examples of com.sun.msv.datatype.xsd.XSDatatype.checkValid()

  }
 
  private static boolean checkValue( String val, String name ) {
    try {
      XSDatatype dt = DatatypeFactory.getTypeByName( name );
      dt.checkValid( val, null );
    } catch( DatatypeException e ) {
      ABox.log.info( "Failed to create " + name + ":" + e );
      return false;
    }
    return true;
View Full Code Here

Examples of com.typesafe.config.Config.checkValid()

    }
   
    synchronized (LOCK) {
      ConfigFactory.invalidateCaches();
      config = ConfigFactory.load(config);
      config.checkValid(ConfigFactory.defaultReference()); // eagerly validate aspects of tree config
    }
    return config;
  }

  /**
 
View Full Code Here

Examples of com.typesafe.config.Config.checkValid()

    }
   
    synchronized (LOCK) {
      ConfigFactory.invalidateCaches();
      config = ConfigFactory.load(config);
      config.checkValid(ConfigFactory.defaultReference()); // eagerly validate aspects of tree config
    }
    return config;
  }

  /**
 
View Full Code Here

Examples of edu.harvard.hul.ois.fits.FitsOutput.checkValid()

        XMLStreamWriter writer = xmlof.createXMLStreamWriter(System.out);
        xml.output(writer);
        writer.close();
      }
      System.out.println(errorText);
      System.out.println("valid = "+output.checkValid());
      System.out.println("well-formed = "+output.checkWellFormed());
      System.out.println(output.getMetadataElement("md5checksum").getValue());
    }
   
View Full Code Here

Examples of org.gudy.azureus2.plugins.ipfilter.IPRange.checkValid()

            //System.out.println(Utils.parseString(peerID) + " : Blocked -- Peer: " + peerClient);
            IPRange ipr = Plugin.getPluginInterface().getIPFilter().createRange(true);
            ipr.setStartIP(peerIP);
            ipr.setEndIP(peerIP);
            ipr.setDescription("Stuffer - " + Utils.parseString(peerClient) + " Killed"+ " c#" + Utils.getHexfromRGB(rgb));
            ipr.checkValid();
            ipf.addRange(ipr);
            if(Plugin.getTab1() != null){
              Plugin.getTab1().addElement(peerIP,peerID,peerClient,downloadName, color);
              Plugin.getTab1().totalChange();
            }
View Full Code Here

Examples of org.relaxng.datatype.Datatype.checkValid()

     * @param args
     * @throws DatatypeException
     */
    public static void main(String[] args) throws DatatypeException {
        Datatype dt = (new Html5DatatypeLibrary()).createDatatype("iri");
        dt.checkValid("DaTa:,\u00e4", null);
    }

}
View Full Code Here

Examples of org.relaxng.datatype.DatatypeStreamingValidator.checkValid()

    public void endElement(String uri, String localName, String qName)
            throws SAXException {
        DatatypeStreamingValidator dsv = stack.removeLast();
        if (dsv != null) {
            try {
                dsv.checkValid();
            } catch (DatatypeException e) {
                String msg = e.getMessage();
                if (msg == null) {
                    err("The text content of element \u201C" + localName
                            + "\u201D from namespace \u201C" + uri
View Full Code Here

Examples of org.whattf.datatype.Charset.checkValid()

                        if (attrValue == null) {
                            break;
                        }
                        try {
                            Charset c = (Charset) dl.createDatatype("charset");
                            c.checkValid(attrValue);
                        } catch (DatatypeException e) {
                            try {
                                errBadPseudoAttrDatatype(e, Charset.class,
                                        "charset", attrValue);
                            } catch (ClassNotFoundException ce) {
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.