com.togethersoft.openapi.sci
Interface SciCSharpHelper


public interface SciCSharpHelper
extends SciNetHelper

Author:
TogetherSoft

Method Summary
 SciExpressiongetConstructorInitializer(SciOperation constructor)
          returns an SciExpression representing direct initializer for given constructor
 StringgetTagAttributeValue(SciTag tag, String attributeName)
          returns value of specified attribute for given tag
F.ex.
 voidsetTagAttributeValue(SciTag tag, String attributeName, String value)
          sets specified value for specified attribute for given tag.
 EnumerationtagAttributeNames(SciTag tag)
          returns an Enumeration containing names of attributes of given tag
F.ex.

Methods inherited from interface com.togethersoft.openapi.sci.SciNetHelper
addAttributeSection, canAddAttributeSection, getAttributeSection

Methods inherited from interface com.togethersoft.openapi.sci.SciLanguageHelper
allFiles, allFiles, convertMemberQualifiedNameToPresentableForm, convertMemberSignatureToPresentableForm, getComment, getDefaultConstantOfType, getDefaultObjectText, getPresentableLanguageName, getProperty, getShortClassName, inquirePasteName, isPrimitiveType, isPrimitiveType, isValidIdentifier, makePointerType, makeReferenceType, setProperty

Method Detail

getConstructorInitializer

public SciExpression getConstructorInitializer(SciOperation constructor)
returns an SciExpression representing direct initializer for given constructor

getTagAttributeValue

public String getTagAttributeValue(SciTag tag, String attributeName)
returns value of specified attribute for given tag
F.ex. for tag representing following construction
Some text
and "attr1" as attributeName
"value1" will be returned.
If tag contains no attribute with given name null will be returned.

setTagAttributeValue

public void setTagAttributeValue(SciTag tag, String attributeName, String value)
sets specified value for specified attribute for given tag.
If null is given as value for the existing attribute the attribute
will be removed from the tag.
If the tag doesn't contain an attribute with given attributeName and
value is not null then a new attribute will be added to the given tag.

tagAttributeNames

public Enumeration tagAttributeNames(SciTag tag)
returns an Enumeration containing names of attributes of given tag
F.ex. for tag representing following construction
Some text
the enumeration containing strings "attr1" and "attr2" will be returned.
If no attributes are specified for the given tag an empty enumeration will be returned.