resAttr = new HashMap<URI, AttributeValue>();
resAttr.put(Constants.OBJECT.PID.getURI(),
new StringAttribute("melcoe:test:01"));
resAttr
.put(new URI("urn:oasis:names:tc:xacml:1.0:resource:resource-id"),
new AnyURIAttribute(new URI("melcoe:test:01")));
resAttr.put(Constants.DATASTREAM.ID.getURI(),
new AnyURIAttribute(new URI("melcoe:test:02")));
resAttr.put(Constants.DATASTREAM.MIME_TYPE.getURI(),
new StringAttribute("text/xml"));
resAttr.put(Constants.DATASTREAM.FORMAT_URI.getURI(),
new AnyURIAttribute(new URI("some:format:or:the:other")));
resAttr.put(Constants.DATASTREAM.LOCATION.getURI(),
new StringAttribute("http://www.whipitgood.com"));
resAttr.put(Constants.DATASTREAM.CONTROL_GROUP.getURI(),
new StringAttribute("E"));
resAttr.put(Constants.DATASTREAM.STATE.getURI(),
new StringAttribute("ACTIVE"));
resList.add(resAttr);
resAttr = new HashMap<URI, AttributeValue>();
resAttr.put(Constants.OBJECT.PID.getURI(),
new StringAttribute("melcoe:test:03"));
resAttr
.put(new URI("urn:oasis:names:tc:xacml:1.0:resource:resource-id"),
new AnyURIAttribute(new URI("melcoe:test:03")));
resAttr.put(Constants.DATASTREAM.ID.getURI(),
new AnyURIAttribute(new URI("melcoe:test:04")));
resAttr.put(Constants.DATASTREAM.MIME_TYPE.getURI(),
new StringAttribute("text/xml"));
resAttr.put(Constants.DATASTREAM.FORMAT_URI.getURI(),
new AnyURIAttribute(new URI("some:format:or:the:other")));
resAttr.put(Constants.DATASTREAM.LOCATION.getURI(),
new StringAttribute("http://www.whipitgood.com"));
resAttr.put(Constants.DATASTREAM.CONTROL_GROUP.getURI(),
new StringAttribute("E"));
resAttr.put(Constants.DATASTREAM.STATE.getURI(),
new StringAttribute("ACTIVE"));
resList.add(resAttr);
resAttr = new HashMap<URI, AttributeValue>();
resAttr.put(Constants.OBJECT.PID.getURI(),
new StringAttribute("melcoe:test:05"));
resAttr
.put(new URI("urn:oasis:names:tc:xacml:1.0:resource:resource-id"),
new AnyURIAttribute(new URI("melcoe:test:05")));
resAttr.put(Constants.DATASTREAM.ID.getURI(),
new AnyURIAttribute(new URI("melcoe:test:06")));
resAttr.put(Constants.DATASTREAM.MIME_TYPE.getURI(),
new StringAttribute("text/xml"));
resAttr.put(Constants.DATASTREAM.FORMAT_URI.getURI(),
new AnyURIAttribute(new URI("some:format:or:the:other")));
resAttr.put(Constants.DATASTREAM.LOCATION.getURI(),
new StringAttribute("http://www.whipitgood.com"));
resAttr.put(Constants.DATASTREAM.CONTROL_GROUP.getURI(),
new StringAttribute("E"));
resAttr.put(Constants.DATASTREAM.STATE.getURI(),