Package org.eclipse.emf.ecore.xml.type

Examples of org.eclipse.emf.ecore.xml.type.ProcessingInstruction


     * <!-- end-user-doc -->
     * @generated
     */
    public ProcessingInstruction popProcessingInstruction(ProcessingInstructionStackFrame processingInstruction)
    {
      ProcessingInstruction resultProcessingInstructionValue = processingInstruction.popProcessingInstruction();
      this.processingInstruction = processingInstruction;
      return resultProcessingInstructionValue;
    }
View Full Code Here


       * @generated
       */
      protected ProcessingInstruction popProcessingInstruction()
      {
        pop();
        ProcessingInstruction resultProcessingInstructionValue = theProcessingInstruction;
        theProcessingInstruction = null;
        return resultProcessingInstructionValue;
      }
View Full Code Here

    return eStructuralFeature == XMLTypeFeatures.COMMENT;
  }

  public static void addProcessingInstruction(FeatureMap featureMap, String target, String data)
  {
    ProcessingInstruction processingInstruction = XMLTypeFactory.eINSTANCE.createProcessingInstruction();
    processingInstruction.setTarget(target);
    processingInstruction.setData(data);
    featureMap.add(XMLTypeFeatures.PROCESSING_INSTRUCTION, processingInstruction);
  }
View Full Code Here

    featureMap.add(XMLTypeFeatures.PROCESSING_INSTRUCTION, processingInstruction);
  }

  public static void addProcessingInstruction(FeatureMap featureMap, int index, String target, String data)
  {
    ProcessingInstruction processingInstruction = XMLTypeFactory.eINSTANCE.createProcessingInstruction();
    processingInstruction.setTarget(target);
    processingInstruction.setData(data);
    featureMap.add(index, XMLTypeFeatures.PROCESSING_INSTRUCTION, processingInstruction);
  }
View Full Code Here

    return XMLTypeFeatures.COMMENT_PROTOTYPE.createEntry(value);
  }

  public static FeatureMap.Entry.Internal createRawProcessingInstructionEntry(String target, String data)
  {
    ProcessingInstruction processingInstruction = XMLTypeFactory.eINSTANCE.createProcessingInstruction();
    processingInstruction.setTarget(target);
    processingInstruction.setData(data);
    return XMLTypeFeatures.PROCESSING_INSTRUCTION_PROTOTYPE.createEntry(processingInstruction);
  }
View Full Code Here

      FeatureMap.Entry entry = values.get(i);
      EStructuralFeature entryFeature = entry.getEStructuralFeature();
      Object value = entry.getValue();
      if (entryFeature == XMLTypePackage.Literals.XML_TYPE_DOCUMENT_ROOT__PROCESSING_INSTRUCTION)
      {
        ProcessingInstruction pi = (ProcessingInstruction)value;
        String target = pi.getTarget();
        String data = pi.getData();
        if (escape != null && data != null)
        {
          data = escape.convertLines(data);
        }
        if (!toDOM)
View Full Code Here

TOP

Related Classes of org.eclipse.emf.ecore.xml.type.ProcessingInstruction

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.