protected void addRequestMethod(String requestMethod) { DCPInfo dcpi = this.protocols.get(this.protocols.size() - 1); if (dcpi.method != null) { dcpi = new DCPInfo(dcpi.protocol); this.protocols.add(dcpi); } dcpi.method = requestMethod; }
protected void addOnlineResource(OGCOnlineResource onlineResource) { DCPInfo dcpi = this.protocols.get(this.protocols.size() - 1); dcpi.onlineResource = onlineResource; }