コード例 #1
0
ファイル: XMLWriter.java プロジェクト: dom4j/dom4j
  /**
   * Writes the given {@link CDATA}.
   *
   * @param cdata <code>CDATA</code> to output.
   * @throws IOException DOCUMENT ME!
   */
  public void write(CDATA cdata) throws IOException {
    writeCDATA(cdata.getText());

    if (autoFlush) {
      flush();
    }
  }
コード例 #2
0
ファイル: SAXWriter.java プロジェクト: enenuki/phd
 /* 175:    */
 /* 176:    */ public void write(CDATA cdata) /* 177:    */ throws SAXException /* 178:    */ {
   /* 179:277 */ String text = cdata.getText();
   /* 180:279 */ if (this.lexicalHandler != null)
   /* 181:    */ {
     /* 182:280 */ this.lexicalHandler.startCDATA();
     /* 183:281 */ write(text);
     /* 184:282 */ this.lexicalHandler.endCDATA();
     /* 185:    */ }
   /* 186:    */ else
   /* 187:    */ {
     /* 188:284 */ write(text);
     /* 189:    */ }
   /* 190:    */ }
コード例 #3
0
ファイル: Database.java プロジェクト: fedor4ever/linux_build
 public void visit(CDATA node) {
   String text = node.getText();
   extractUsedProperties(text);
 }