Java Code Examples for org.w3c.dom.ProcessingInstruction#getNodeValue()
The following examples show how to use
org.w3c.dom.ProcessingInstruction#getNodeValue() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DomWriter.java From mapper-generator-javafx with Apache License 2.0 | 5 votes |
protected void write(ProcessingInstruction node) { printWriter.print("<?"); printWriter.print(node.getNodeName()); String data = node.getNodeValue(); if (data != null && data.length() > 0) { printWriter.print(' '); printWriter.print(data); } printWriter.print("?>"); printWriter.flush(); }
Example 2
Source File: DomWriter.java From mybatis-generator-core-fix with Apache License 2.0 | 5 votes |
/** * Write. * * @param node * the node */ protected void write(ProcessingInstruction node) { printWriter.print("<?"); //$NON-NLS-1$ printWriter.print(node.getNodeName()); String data = node.getNodeValue(); if (data != null && data.length() > 0) { printWriter.print(' '); printWriter.print(data); } printWriter.print("?>"); //$NON-NLS-1$ printWriter.flush(); }
Example 3
Source File: DomWriter.java From mybatis-generator-plus with Apache License 2.0 | 5 votes |
protected void write(ProcessingInstruction node) { printWriter.print("<?"); //$NON-NLS-1$ printWriter.print(node.getNodeName()); String data = node.getNodeValue(); if (data != null && data.length() > 0) { printWriter.print(' '); printWriter.print(data); } printWriter.print("?>"); //$NON-NLS-1$ printWriter.flush(); }