Package org.eclipse.wst.xml.core.internal.contentmodel

Examples of org.eclipse.wst.xml.core.internal.contentmodel.CMDocumentation


   */
  protected void printDocumentation(StringBuffer sb, CMNode node) {
    CMNodeList nodeList = (CMNodeList) node.getProperty("documentation"); //$NON-NLS-1$
    if ((nodeList != null) && (nodeList.getLength() > 0)) {
      for (int i = 0; i < nodeList.getLength(); i++) {
        CMDocumentation documentation = (CMDocumentation) nodeList.item(i);
        String doc = documentation.getValue();
        if (doc != null) {
          sb.append(PARAGRAPH_START + doc.trim() + PARAGRAPH_END);
        }
      }
      sb.append(NEW_LINE);
View Full Code Here

TOP

Related Classes of org.eclipse.wst.xml.core.internal.contentmodel.CMDocumentation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.