コード例 #1
0
  private SpecificationLinkType getFirstSpecificationLink() {
    SpecificationLinkType specificationLink = RIM_FACTORY.createSpecificationLinkType();

    specificationLink.setId("urn:request:parameters");
    specificationLink.setServiceBinding("urn:registry:federation:method:csw");
    specificationLink.setSpecificationObject("urn:service:params:id0");

    return specificationLink;
  }
コード例 #2
0
  private SpecificationLinkType getSecondSpecificationLink() {
    SpecificationLinkType specificationLink = RIM_FACTORY.createSpecificationLinkType();

    specificationLink.setId("notARealId");
    specificationLink.setServiceBinding("notARealServiceBinding");
    specificationLink.setSpecificationObject("notARealSpecificationObject");
    specificationLink.setUsageDescription(istHelper.create("This is some usage description"));

    List<String> usageParameters = new ArrayList<>();
    usageParameters.add("someUsageParameter");

    specificationLink.setUsageParameter(usageParameters);

    return specificationLink;
  }