XMLHelper.ManyReferenceDATATYPE_IS_MANY, DATATYPE_SINGLE, IS_MANY_ADD, IS_MANY_MOVE, OTHER| Constructor and Description |
|---|
ForwardingXMLHelper(XMLHelper delegate)
Default constructor.
|
public ForwardingXMLHelper(XMLHelper delegate)
delegate - The actual helper we'll delegate all calls to.public void setOptions(Map<?,?> options)
setOptions in interface XMLHelperpublic void setNoNamespacePackage(EPackage pkg)
setNoNamespacePackage in interface XMLHelperpublic EPackage getNoNamespacePackage()
getNoNamespacePackage in interface XMLHelperpublic void setAnySimpleType(EClass type)
setAnySimpleType in interface XMLHelperpublic void setXMLMap(XMLResource.XMLMap map)
public XMLResource.XMLMap getXMLMap()
public void setExtendedMetaData(ExtendedMetaData extendedMetaData)
setExtendedMetaData in interface XMLHelperpublic ExtendedMetaData getExtendedMetaData()
getExtendedMetaData in interface XMLHelperpublic XMLResource getResource()
getResource in interface XMLHelperpublic Object getValue(EObject eObject, EStructuralFeature eStructuralFeature)
public String getName(ENamedElement eNamedElement)
public void populateNameInfo(NameInfo nameInfo, EClass eClass)
populateNameInfo in interface XMLHelperpublic void populateNameInfo(NameInfo nameInfo, EDataType eDataType)
populateNameInfo in interface XMLHelperpublic String getQName(EStructuralFeature feature)
public void populateNameInfo(NameInfo nameInfo, EStructuralFeature feature)
populateNameInfo in interface XMLHelperpublic String getNamespaceURI(String prefix)
getNamespaceURI in interface XMLHelperpublic List<String> getPrefixes(EPackage ePackage)
getPrefixes in interface XMLHelper@Deprecated public EObject createObject(EFactory eFactory, String name)
createObject in interface XMLHelperpublic EObject createObject(EFactory eFactory, EClassifier type)
createObject in interface XMLHelperpublic EClassifier getType(EFactory eFactory, String typeName)
public void setValue(EObject eObject, EStructuralFeature eStructuralFeature, Object value, int position)
public EStructuralFeature getFeature(EClass eClass, String namespaceURI, String name)
getFeature in interface XMLHelperpublic EStructuralFeature getFeature(EClass eClass, String namespaceURI, String name, boolean isElement)
getFeature in interface XMLHelperpublic int getFeatureKind(EStructuralFeature feature)
getFeatureKind in interface XMLHelperpublic String getXMLEncoding(String javaEncoding)
getXMLEncoding in interface XMLHelperpublic String getJavaEncoding(String xmlEncoding)
getJavaEncoding in interface XMLHelperpublic List<XMIException> setManyReference(XMLHelper.ManyReference reference, String location)
setManyReference in interface XMLHelperpublic void setCheckForDuplicates(boolean checkForDuplicates)
setCheckForDuplicates in interface XMLHelperpublic void setProcessDanglingHREF(String value)
setProcessDanglingHREF in interface XMLHelperpublic DanglingHREFException getDanglingHREFException()
getDanglingHREFException in interface XMLHelperpublic Map<String,String> getAnyContentPrefixToURIMapping()
getAnyContentPrefixToURIMapping in interface XMLHelperpublic void recordPrefixToURIMapping()
recordPrefixToURIMapping in interface XMLHelperpublic void pushContext()
pushContext in interface XMLHelperpublic void popContext()
popContext in interface XMLHelperpublic void popContext(Map<String,EFactory> prefixesToFactories)
popContext in interface XMLHelperpublic String convertToString(EFactory factory, EDataType dataType, Object data)
convertToString in interface XMLHelperpublic EMap<String,String> getPrefixToNamespaceMap()
getPrefixToNamespaceMap in interface XMLHelperpublic void setPrefixToNamespaceMap(EMap<String,String> prefixToNamespaceMap)
setPrefixToNamespaceMap in interface XMLHelperpublic void setMustHavePrefix(boolean mustHavePrefix)
setMustHavePrefix in interface XMLHelper
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.