parserIn.write( schemaObject.getBytes() );
this.schemaIn = new ByteArrayInputStream( schemaObject.getBytes() );  if ( producerThread == null ) { producerThread = new Thread( new DataProducer() ); }  producerThread.start();
    public synchronized void parse( String schemaObject ) throws IOException, ParseException    {        if ( schemaObject == null || schemaObject.trim().equals( "" ) )        {            throw new ParseException( "The schemaObject is either null or is "                + "the empty String!", 0 );        }        parserIn.write( schemaObject.getBytes() );        invokeParser( schemaObject );    }