Examples of RecordType


Examples of net.opengis.cat.csw20.RecordType

        GetRecordByIdResponseType response = (GetRecordByIdResponseType) parser.parse(getClass().getResourceAsStream(
                "GetRecordByIdResponse.xml"));
        assertNotNull(response);
        EList<AbstractRecordType> records = response.getAbstractRecord();
        assertEquals(1, records.size());
        RecordType record = (RecordType) records.get(0);
    }
View Full Code Here

Examples of org.apache.directory.server.dns.messages.RecordType

    }


    private void put( IoBuffer byteBuffer, ResourceRecord record ) throws IOException
    {
        RecordType type = record.getRecordType();

        RecordEncoder encoder = DEFAULT_ENCODERS.get( type );

        if ( encoder == null )
        {
View Full Code Here

Examples of org.apache.directory.server.dns.messages.RecordType

        List<ResourceRecord> records = new ArrayList<ResourceRecord>( recordCount );

        for ( int ii = 0; ii < recordCount; ii++ )
        {
            String domainName = getDomainName( byteBuffer );
            RecordType recordType = RecordType.convert( byteBuffer.getShort() );
            RecordClass recordClass = RecordClass.convert( byteBuffer.getShort() );

            int timeToLive = byteBuffer.getInt();
            short dataLength = byteBuffer.getShort();
View Full Code Here

Examples of org.apache.directory.server.dns.messages.RecordType

        for ( int ii = 0; ii < questionCount; ii++ )
        {
            String domainName = getDomainName( byteBuffer );

            RecordType recordType = RecordType.convert( byteBuffer.getShort() );
            RecordClass recordClass = RecordClass.convert( byteBuffer.getShort() );

            questions.add( new QuestionRecord( domainName, recordType, recordClass ) );
        }
View Full Code Here

Examples of org.apache.directory.server.dns.messages.RecordType

        {
            return null;
        }

        String name = question.getDomainName();
        RecordType type = question.getRecordType();

        SearchControls controls = new SearchControls();
        controls.setSearchScope( SearchControls.SUBTREE_SCOPE );

        String filter = "(objectClass=" + TYPE_TO_OBJECTCLASS.get( type ) + ")";
View Full Code Here

Examples of org.apache.directory.server.dns.messages.RecordType

        {
            String value = ( String ) list.next();

            if ( !value.equals( "apacheDnsAbstractRecord" ) )
            {
                RecordType type = OBJECTCLASS_TO_TYPE.get( value );

                if ( type == null )
                {
                    throw new RuntimeException( I18n.err( I18n.ERR_646 ) );
                }
View Full Code Here

Examples of org.eclipse.cdt.dsf.mi.service.command.output.MIParser.RecordType

    data = data.substring(eolIndex+1);
    handleGdbOuput(data);
  }
 
  protected void handleMIEvent(String miEventLine) {
    RecordType recordType = miParser.getRecordType(miEventLine);
    if(recordType == RecordType.ResultRecord) {
      MIResultRecord miResultRecord = miParser.parseMIResultRecord(miEventLine);
    } else if (recordType == RecordType.OOBRecord) {
      MIOOBRecord miOOBRecord = miParser.parseMIOOBRecord(miEventLine);
      if(miOOBRecord instanceof MIAsyncRecord) {
View Full Code Here

Examples of org.jnetstream.capture.file.RecordType

      public PcapRecord next() throws IOException {
        final long position = raw.getPosition();
        final ByteBuffer buffer = raw.next();

        final RecordType type = headerReader.readType(buffer);

        switch (type) {
          case BlockRecord:
            return new PcapBlockRecordImpl(buffer, position);
View Full Code Here

Examples of org.jnetstream.capture.file.RecordType

      }

      public SnoopRecord next() throws IOException {
        final ByteBuffer buffer = raw.next();

        final RecordType type = headerReader.readType(buffer);

        switch (type) {
          case BlockRecord:
            block = new SnoopBlockRecordImpl(buffer, getPosition());
View Full Code Here

Examples of org.lilyproject.repository.api.RecordType

                // At least the non-versioned record type should be read since that is also the record type of the whole record
                scopesForVersion.add(Scope.NON_VERSIONED);
                for (Scope scope : scopesForVersion) {
                    Pair<SchemaId, Long> recordTypePair = extractVersionRecordType(scope, result, recordEntry.getKey());
                    if (recordTypePair != null) {
                        RecordType recordType =
                                typeManager.getRecordTypeById(recordTypePair.getV1(), recordTypePair.getV2());
                        recordEntry.getValue().setRecordType(scope, recordType.getName(), recordType.getVersion());
                    }
                }
            }
        }
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.