com.intellij.util.xmlb.annotations.Attribute Java Examples
The following examples show how to use
com.intellij.util.xmlb.annotations.Attribute.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AttributeBinding.java From consulo with Apache License 2.0 | 6 votes |
@Override @Nullable public Object serialize(@Nonnull Object o, @Nullable Object context, @Nonnull SerializationFilter filter) { Object value = myAccessor.read(o); if (value == null) { return null; } String stringValue; if (myConverter == null) { stringValue = XmlSerializerImpl.convertToString(value); } else { stringValue = myConverter.toString(value); } return new org.jdom.Attribute(myName, stringValue); }
Example #2
Source File: LatteArgumentSettings.java From intellij-latte with MIT License | 5 votes |
@Attribute("Types") public String getTypes() { StringBuilder stringBuilder = new StringBuilder(); for (Type type : types) { stringBuilder.append(type.toString()); } return stringBuilder.toString(); }
Example #3
Source File: TwigNamespaceSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("enabled") public boolean isEnabled() { return isEnabled; }
Example #4
Source File: ArtifactState.java From consulo with Apache License 2.0 | 4 votes |
@Attribute("type") public String getArtifactType() { return myArtifactType; }
Example #5
Source File: XBreakpointDependencyState.java From consulo with Apache License 2.0 | 4 votes |
@Attribute("id") public String getId() { return myId; }
Example #6
Source File: XBreakpointDependencyState.java From consulo with Apache License 2.0 | 4 votes |
@Attribute("master-id") public String getMasterBreakpointId() { return myMasterBreakpointId; }
Example #7
Source File: PathMappingSettings.java From consulo with Apache License 2.0 | 4 votes |
@Attribute("remote-root") public String getRemoteRoot() { return myRemoteRoot; }
Example #8
Source File: RunConfigurationModule.java From consulo with Apache License 2.0 | 4 votes |
@Attribute("name") @Nonnull public String getModuleName() { return myModulePointer != null ? myModulePointer.getName() : ""; }
Example #9
Source File: EncodingManagerImpl.java From consulo with Apache License 2.0 | 4 votes |
@Attribute("default_encoding") @Nonnull public String getDefaultCharsetName() { return myDefaultEncoding == ChooseFileEncodingAction.NO_ENCODING ? "" : myDefaultEncoding.name(); }
Example #10
Source File: ArtifactPropertiesState.java From consulo with Apache License 2.0 | 4 votes |
@Attribute("id") public String getId() { return myId; }
Example #11
Source File: ArtifactState.java From consulo with Apache License 2.0 | 4 votes |
@Attribute("build-on-make") public boolean isBuildOnMake() { return myBuildOnMake; }
Example #12
Source File: AttributeBinding.java From consulo with Apache License 2.0 | 4 votes |
public AttributeBinding(@Nonnull MutableAccessor accessor, @Nonnull Attribute attribute) { super(accessor, attribute.value(), attribute.converter()); valueClass = XmlSerializerImpl.typeToClass(accessor.getGenericType()); }
Example #13
Source File: FileOrDirectoryCopyPackagingElement.java From consulo with Apache License 2.0 | 4 votes |
@Attribute(PATH_ATTRIBUTE) public String getFilePath() { return myFilePath; }
Example #14
Source File: ExportTestResultsConfiguration.java From consulo with Apache License 2.0 | 4 votes |
@Attribute("exportFormat") public String getExportFormat() { return myExportFormat.name(); }
Example #15
Source File: AbstractUiFilePath.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("path") public String getPath() { return path; }
Example #16
Source File: TwigNamespaceSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("custom") public boolean isCustom() { return custom; }
Example #17
Source File: BreakpointState.java From consulo with Apache License 2.0 | 4 votes |
@Attribute("enabled") public boolean isEnabled() { return myEnabled; }
Example #18
Source File: TwigNamespaceSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("path") public String getPath() { return path; }
Example #19
Source File: TwigNamespaceSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("namespace") public String getNamespace() { return namespace; }
Example #20
Source File: TwigNamespaceSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("namespaceType") public TwigUtil.NamespaceType getNamespaceType() { return namespaceType; }
Example #21
Source File: MethodParameterSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("ContributorData") public String getContributorData() { return contributorData; }
Example #22
Source File: MethodParameterSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("contributorName") public String getContributorName() { return contributorName; }
Example #23
Source File: MethodParameterSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("ReferenceProviderName") public String getReferenceProviderName() { return ReferenceProviderName; }
Example #24
Source File: MethodParameterSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("IndexParameter") public int getIndexParameter() { return indexParameter; }
Example #25
Source File: MethodParameterSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("MethodName") public String getMethodName() { return methodName; }
Example #26
Source File: MethodParameterSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("CallTo") public String getCallTo() { return callTo; }
Example #27
Source File: MethodSignatureSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("ReferenceProviderName") public String getReferenceProviderName() { return ReferenceProviderName; }
Example #28
Source File: BreakpointState.java From consulo with Apache License 2.0 | 4 votes |
@Attribute("log-message") public boolean isLogMessage() { return myLogMessage; }
Example #29
Source File: MethodSignatureSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("MethodName") public String getMethodName() { return methodName; }
Example #30
Source File: MethodSignatureSetting.java From idea-php-symfony2-plugin with MIT License | 4 votes |
@Attribute("CallTo") public String getCallTo() { return callTo; }