public static void addText(FeatureMap featureMap, int index, String text) { featureMap.add(index, XMLTypeFeatures.TEXT, text); }
public static void addComment(FeatureMap featureMap, int index, String comment) { featureMap.add(index, XMLTypeFeatures.COMMENT, comment); }
public static void addCDATA(FeatureMap featureMap, int index, String cdata) { featureMap.add(index, XMLTypeFeatures.CDATA, cdata); }
protected void handleMixedText() { FeatureMap featureMap = mixedTargets.peek(); featureMap.add(XMLTypePackage.Literals.XML_TYPE_DOCUMENT_ROOT__TEXT, text.toString()); text = null; }
protected void handleCDATA() { FeatureMap featureMap = mixedTargets.peek(); featureMap.add(XMLTypePackage.Literals.XML_TYPE_DOCUMENT_ROOT__CDATA, text.toString()); text = null; }
protected void handleComment(String comment) { FeatureMap featureMap = mixedTargets.peek(); featureMap.add(XMLTypePackage.Literals.XML_TYPE_DOCUMENT_ROOT__COMMENT, comment); text = null; } protected void handleMixedText()
protected void handleCDATA() { FeatureMap featureMap = mixedTargets.peek(); featureMap.add(XMLTypePackage.Literals.XML_TYPE_DOCUMENT_ROOT__CDATA, text.toString()); text = null; }
protected void handleMixedText() { FeatureMap featureMap = mixedTargets.peek(); featureMap.add(XMLTypePackage.Literals.XML_TYPE_DOCUMENT_ROOT__TEXT, text.toString()); text = null; }
protected void handleComment(String comment) { FeatureMap featureMap = mixedTargets.peek(); featureMap.add(XMLTypePackage.Literals.XML_TYPE_DOCUMENT_ROOT__COMMENT, comment); text = null; } protected void handleMixedText()
@Override protected void addConfiguration ( final HiveConfigurationType hiveCfg ) { hiveCfg.getAny ().add ( ConfigurationPackage.Literals.DOCUMENT_ROOT__CONFIGURATION, this.snmpDriver.getConfiguration () ); }
@Override public void addLock(Lock lock) { ((FeatureMap) eGet(adaptee, "abstractQueryExpressionGroup", List.class)) .add(Wfs20Package.Literals.DOCUMENT_ROOT__QUERY, lock.getAdaptee()); }
@Override protected void addConfiguration ( final HiveConfigurationType hiveCfg ) { hiveCfg.getAny ().add ( ConfigurationPackage.Literals.DOCUMENT_ROOT__ROOT, this.opcDriver.getRoot () ); }
@Override protected void addConfiguration ( final HiveConfigurationType hiveCfg ) { hiveCfg.getAny ().add ( ConfigurationPackage.Literals.DOCUMENT_ROOT__ROOT, this.execDriver.getRoot () ); }
@Override protected void addConfiguration ( final HiveConfigurationType hiveCfg ) { hiveCfg.getAny ().add ( ConfigurationPackage.Literals.DOCUMENT_ROOT__ROOT, this.execDriver.getRoot () ); }
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); }
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); }
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); }
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); }
void setStringValue(BaseElement element, String value) { EAttributeImpl extensionAttribute = (EAttributeImpl) metaData.demandFeature( "http://www.jboss.org/drools", name, false, false); EStructuralFeatureImpl.SimpleFeatureMapEntry feature = new EStructuralFeatureImpl.SimpleFeatureMapEntry(extensionAttribute, value); element.getAnyAttribute().add(feature); }
protected void setStringValue(BaseElement element, String value) { FeatureMap.Entry extension = extensionOf( DOCUMENT_ROOT__META_DATA, metaDataOf(value)); getExtensionElements(element).add(extension); }