Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Кастомные аннотации настроек парсинга #139

Open
alkoleft opened this issue Nov 10, 2020 · 0 comments
Open

Comments

@alkoleft
Copy link

Есть идея используя "свои" аннотации перенести настройки из фабрики XStream в сами объекты
И на основании их формировать настройки для парсера/читателя в зависимости от используемого формата.

Пока вижу два варианта кастомных аннотаций для настроек разбора и использовать их вместо/вместе стандартных

  1. Отдельно для конфигуратора и EDT со всеми вариантами настроек
Designer(string[] alias, boolean implicit, Converter converter, Class impl)
EDT(string[] alias, boolean implicit, Converter converter, Class impl)
  1. Совместные аннотации
Alias(string[] designer, string[] edt)
Implicit(boolean designer, boolean edt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant