/** * Return a string containing this node serialized as XML. */ public static String nodeToString(Node node) { return nodeToString(node, new HashMap()); }
/** * Serialize the given node to a String. * * @param node Node to be serialized. * @return The serialized node as a java.lang.String instance. */ public static String nodeToString(Node node) { return DOM2Writer.nodeToString(node); }
/** * Serialize the given node to a String. * * @param node Node to be serialized. * @return The serialized node as a java.lang.String instance. */ public static String nodeToString(Node node) { return DOM2Writer.nodeToString(node); }
/** * Return a string containing this node serialized as XML. */ public static String nodeToString(Node node) { return nodeToString(node, new HashMap()); }
private void addDocumentation(AxisDescription axisDescription, Element documentationElement) { if ((documentationElement != null) && (documentationElement.getFirstChild() != null)) { Node firstChild = documentationElement.getFirstChild(); String documentation = DOM2Writer.nodeToString(firstChild); if (!"".equals(documentation)) { axisDescription.setDocumentation(documentation); } } }
private void addDocumentation(AxisDescription axisDescription, Element documentationElement) { if ((documentationElement != null) && (documentationElement.getFirstChild() != null)) { Node firstChild = documentationElement.getFirstChild(); String documentation = DOM2Writer.nodeToString(firstChild); if (!"".equals(documentation)) { axisDescription.setDocumentation(documentation); } } }
/** * This method is used for adding documentation for the message types of the service operations * eg: input message * output message * fault messages * * @param axisOperation * @param documentationElement * @param messageLabel */ private void addMessageDocumentation(AxisOperation axisOperation, Element documentationElement, String messageLabel) { if ((documentationElement != null) && (documentationElement.getFirstChild() != null)) { Node firstChild = documentationElement.getFirstChild(); String documentation = DOM2Writer.nodeToString(firstChild); if (!"".equals(documentation)) { (axisOperation.getMessage(messageLabel)).setDocumentation(documentation); } } }
/** * This method is used for adding documentation for the message types of the service operations * eg: input message * output message * fault messages * * @param axisOperation * @param documentationElement * @param messageLabel */ private void addMessageDocumentation(AxisOperation axisOperation, Element documentationElement, String messageLabel) { if ((documentationElement != null) && (documentationElement.getFirstChild() != null)) { Node firstChild = documentationElement.getFirstChild(); String documentation = DOM2Writer.nodeToString(firstChild); if (!"".equals(documentation)) { (axisOperation.getMessage(messageLabel)).setDocumentation(documentation); } } }
/** * Adds documentation details to a given AxisDescription. * The documentation details is extracted from the WSDL element given. * @param axisDescription - The documentation will be added to this * @param element - The element that the documentation is extracted from. */ private void addDocumentation(AxisDescription axisDescription, DocumentableElement element) { DocumentationElement[] documentationElements = element.getDocumentationElements(); String documentation = ""; for (int i = 0; i < documentationElements.length; i++) { DocumentationElement documentationElement = documentationElements[i]; XMLElement contentElement = documentationElement.getContent(); Element content = (Element)contentElement.getSource(); if (content != null) { documentation = documentation + DOM2Writer.nodeToString(content.getFirstChild()); } } if (!"".equals(documentation)) { axisDescription.setDocumentation(documentation); } }
String schema = DOM2Writer.nodeToString(element);
String schema = DOM2Writer.nodeToString(element);
/** * Adds documentation details to a given AxisDescription. * The documentation details is extracted from the WSDL element given. * @param axisDescription - The documentation will be added to this * @param element - The element that the documentation is extracted from. */ private void addDocumentation(AxisDescription axisDescription, DocumentableElement element) { DocumentationElement[] documentationElements = element.getDocumentationElements(); String documentation = ""; for (int i = 0; i < documentationElements.length; i++) { DocumentationElement documentationElement = documentationElements[i]; XMLElement contentElement = documentationElement.getContent(); Element content = (Element)contentElement.getSource(); if (content != null) { documentation = documentation + DOM2Writer.nodeToString(content.getFirstChild()); } } if (!"".equals(documentation)) { axisDescription.setDocumentation(documentation); } }
String schemaString = DOM2Writer.nodeToString(schema); schemaStrings.add(schemaString); String messageContent = DOM2Writer.nodeToString(soapBodyChild);
String schemaString = DOM2Writer.nodeToString(schema); schemaStrings.add(schemaString); String messageContent = DOM2Writer.nodeToString(soapBodyChild);
if ((documentationElement != null) && (documentationElement.getFirstChild() != null)) { Node firstChild = documentationElement.getFirstChild(); description = DOM2Writer.nodeToString(firstChild);
if ((documentationElement != null) && (documentationElement.getFirstChild() != null)) { Node firstChild = documentationElement.getFirstChild(); description = DOM2Writer.nodeToString(firstChild);
String filteredMessage = DOM2Writer.nodeToString(doc);
String filteredMessage = DOM2Writer.nodeToString(doc);