Search in sources :

Example 1 with Tag

use of org.develnext.jphp.swing.loader.support.Tag in project jphp by jphp-compiler.

the class SwingExtension method registerReaderTag.

public void registerReaderTag(BaseTag tag) {
    Tag name = tag.getClass().getAnnotation(Tag.class);
    if (name == null)
        throw new IllegalArgumentException("Invalid tag object without @Tag annotation");
    readerTags.put(name.value(), tag);
}
Also used : BaseTag(org.develnext.jphp.swing.loader.support.BaseTag) Tag(org.develnext.jphp.swing.loader.support.Tag)

Aggregations

BaseTag (org.develnext.jphp.swing.loader.support.BaseTag)1 Tag (org.develnext.jphp.swing.loader.support.Tag)1