Examples of DocumentElement


Examples of org.eclipse.wb.internal.core.utils.xml.DocumentElement

      public void endVisit(ObjectInfo objectInfo) throws Exception {
        if (objectInfo instanceof XmlObjectInfo) {
          XmlObjectInfo xmlObjectInfo = (XmlObjectInfo) objectInfo;
          CreationSupport creationSupport = xmlObjectInfo.getCreationSupport();
          if (!XmlObjectUtils.isImplicit(xmlObjectInfo)) {
            DocumentElement element = creationSupport.getElement();
            String path = UiBinderParser.getPath(element);
            if (xmlObjectInfo instanceof IsWidgetWrappedInfo) {
              xmlObjectInfo = ((IsWidgetWrappedInfo) xmlObjectInfo).getWrapper();
            }
            m_pathToModelMap.put(path, xmlObjectInfo);
View Full Code Here

Examples of org.eclipse.wst.wsi.internal.core.document.DocumentElement

    //      that log entries should be added

    // If target is a log entry, then add reference to it
    if ((entryType != null) && (entryType.getArtifactType().isLoggable()) && (showLogEntry))
    {
      DocumentElement logEntry = (DocumentElement) entryDetail;
      pw.println("value=\"" + logEntry.toXMLString(WSIConstants.NS_NAME_WSI_LOG) + "\" ");
    }
  
    // End element
    pw.println(">");
View Full Code Here

Examples of simplenlg.framework.DocumentElement

    // Set 'be' to 'was' as past tense
    clause.setFeature(Feature.TENSE,Tense.PAST);

    // Add the clause to a sentence.
    DocumentElement sentence1 = docFactory.createSentence(clause);

    // Realise the sentence
    NLGElement realised = this.realiser.realise(sentence1);

    // Retrieve the realisation and dump it to the console
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.