/** * Returns the body text of the element <code>propertyType</code> * @return the value defined for the text <code>propertyType</code> */ public String getText() { return childNode.getText(); }
/** * Returns the body text of the element <code>elementType</code> * @return the value defined for the text <code>elementType</code> */ public String getText() { return childNode.getText(); }
/** * Returns the body text of the element <code>propertyType</code> * @return the value defined for the text <code>propertyType</code> */ public String getText() { return childNode.getText(); }
/** * Returns the body text of the element <code>partial-response-updateType</code> * @return the value defined for the text <code>partial-response-updateType</code> */ public String getText() { return childNode.getText(); }
/** * Returns the body text of the element <code>connection-propertyType</code> * @return the value defined for the text <code>connection-propertyType</code> */ public String getText() { return childNode.getText(); }
/** * Returns the body text of the element <code>config-propertyType</code> * @return the value defined for the text <code>config-propertyType</code> */ public String getText() { return childNode.getText(); }
@Override public String getProperty(String name) { final Node value = protocol.getSingle("property@name=" + name); return value != null ? value.getText() : null; }
private String getTextIfExists(String pattern) { Node propery = engine.getSingle(pattern); if (propery != null) { return propery.getText(); } return null; }
@Override public String getExtensionProperty(String name) { final Node value = extension.getSingle("property@name=" + name); return value != null ? value.getText() : null; }
@Override public String getProtocolProperty(String name) { final Node value = protocol.getSingle("property@name=" + name); return value != null ? value.getText() : null; }
@Override public Map<String, String> getProtocolProperties() { List<Node> props = protocol.get("property"); Map<String, String> properties = new HashMap<String, String>(); for (Node prop : props) { properties.put(prop.getAttribute("name"), prop.getText()); } return properties; }
public Map<String, String> getProperties() { List<Node> props = protocol.get("property"); Map<String, String> properties = new HashMap<String, String>(); for (Node prop : props) { properties.put(prop.getAttribute("name"), prop.getText()); } return properties; }
public Map<String, String> getProperties() { List<Node> props = protocol.get("property"); Map<String, String> properties = new HashMap<String, String>(); for (Node prop : props) { properties.put(prop.getAttribute("name"), prop.getText()); } return properties; }
@Override public Map<String, String> getExtensionProperties() { List<Node> props = extension.get("property"); Map<String, String> properties = new HashMap<String, String>(); for (Node prop : props) { properties.put(prop.getAttribute("name"), prop.getText()); } return properties; }
@Override public String getServletClass() { if (servlet.getSingle("servlet-class") != null) { return servlet.getSingle("servlet-class").getText(); } return null; }
@Override public String getContainerProperty(String name) { Node props = container.getSingle("configuration"); if (props != null) { final Node value = props.getSingle("property@name=" + name); return value != null ? value.getText() : null; } else { return null; } }
@Override public String getServletClass() { if (servlet.getSingle("servlet-class") != null) { return servlet.getSingle("servlet-class").getText(); } return null; }
@Override public String getContainerProperty(String name) { Node props = container.getSingle("configuration"); if (props != null) { final Node value = props.getSingle("property@name=" + name); return value != null ? value.getText() : null; } else { return null; } }
@Override public List<String> getDependencies() { List<String> dependencies = new ArrayList<String>(); if (container.getSingle("dependencies") != null) { for (Node dep : container.getSingle("dependencies").get("dependency")) { dependencies.add(dep.getText()); } } return dependencies; }
@Override public Map<String, String> getContainerProperties() { Node props = container.getSingle("configuration"); Map<String, String> properties = new HashMap<String, String>(); if (props != null) { for (Node prop : props.get("property")) { properties.put(prop.getAttribute("name"), prop.getText()); } } return properties; }