public Map<String, String> getProperties() { Node props = protocol.getSingle("configuration"); Map<String, String> properties = new HashMap<String, String>(); if (props != null) { for (Node prop : props.get("property")) { properties.put(prop.attribute("name"), prop.text()); } } return properties; }
/* (non-Javadoc) * @see org.jboss.arquillian.impl.configuration.api.DefaultProtocolDef#getType() */ @Override public String getType() { return protocol.attribute("type"); }
/* (non-Javadoc) * @see org.jboss.arquillian.impl.configuration.api.DefaultProtocolDef#setType(java.lang.String) */ @Override public DefaultProtocolDef setType(String type) { protocol.attribute("type", type); return this; }