Package org.apache.beehive.netui.compiler

Examples of org.apache.beehive.netui.compiler.AnnotationMemberType


        addMemberType( OUTPUT_FORM_BEAN_TYPE_ATTR, new TypeNameType( null, false, null, this ) );
        addMemberType( OUTPUT_FORM_BEAN_ATTR, new MemberFieldType( null , null, this ) );
        addMemberType( RETURN_ACTION_ATTR, new JavaIdentifierType( null, this, new char[]{ '.' } ) );
        addMemberType( PATH_ATTR, new ExternalPathOrActionType( false, null, this, fcInfo ) );
        addMemberType( ACTION_ATTR, new ValidActionType( null, this, fcInfo ) );
        addMemberType( TILES_DEFINITION_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( REDIRECT_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( EXTERNAL_REDIRECT_ATTR, new AbsolutePathType( null , this ) );
        addMemberType( NAVIGATE_TO_ATTR, new EnumType( NAVIGATE_TO_VALS, DEPRECATED_NAVIGATE_TO_VALS, null, this ) );
        addMemberType( RESTORE_QUERY_STRING_ATTR, new AnnotationMemberType( null, this ) );
       
        addMemberArrayGrammar( ACTION_OUTPUTS_ATTR, new ActionOutputGrammar( env, diags, runtimeVersionChecker ) );
    }
View Full Code Here


    public ControllerGrammar( AnnotationProcessorEnvironment env, Diagnostics diags, RuntimeVersionChecker rvc,
                              FlowControllerInfo fcInfo )
    {
        super( env, diags, null, rvc, fcInfo );

        addMemberType( LOGIN_REQUIRED_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( ROLES_ALLOWED_ATTR, new RolesAllowedType( this ) );
        addMemberType( READONLY_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( STRUTSMERGE_ATTR, new ValidXmlFileType( "struts-config_1_1.xsd", null, this, fcInfo ) );
        addMemberType( VALIDATOR_VERSION_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( VALIDATOR_MERGE_ATTR, new ValidXmlFileType( "struts-validator_1_1.xsd", null, this, fcInfo ) );
        addMemberType( TILES_DEFINITIONS_CONFIGS_ATTR, new TilesDefinitionsConfigsType( null, this, fcInfo ) );
        addMemberType( MULTIPART_HANDLER_ATTR, new AnnotationMemberType( null, this ) );

        addMemberArrayGrammar( SHARED_FLOW_REFS_ATTR, new SharedFlowRefGrammar( env, diags, rvc ) );
        addMemberArrayGrammar( FORWARDS_ATTR, new ForwardGrammar( env, diags, null, rvc, fcInfo ) );
        addMemberArrayGrammar( CATCHES_ATTR, new CatchGrammar( env, diags, null, rvc, CONTROLLER_TAG_NAME, fcInfo ) );
        addMemberArrayGrammar( MESSAGE_BUNDLES_ATTR, new MessageBundleGrammar( env, diags, null, rvc, fcInfo ) );
View Full Code Here

                   SimpleActionGrammar.this.getFlowControllerInfo() );
        }

        protected AnnotationMemberType getNameType() {
            // We don't want to use the normal name type, which checks for duplicate names among *forwards*.
            return new AnnotationMemberType( null, SimpleActionGrammar.this );
        }
View Full Code Here

    public ActionGrammar( AnnotationProcessorEnvironment env, Diagnostics diags,
                          RuntimeVersionChecker rvc, FlowControllerInfo fcInfo )
    {
        super( env, diags, null, rvc, fcInfo );
       
        addMemberType( LOGIN_REQUIRED_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( ROLES_ALLOWED_ATTR, new RolesAllowedType( this ) );
        addMemberType( READONLY_ATTR, new AnnotationMemberType( VERSION_8_SP2_STRING, this ) );
        addMemberType( USE_FORM_BEAN_ATTR, new UseFormBeanType() );
        addMemberType( PREVENT_DOUBLE_SUBMIT_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( DO_VALIDATION_ATTR, new DoValidateType() );
       
        addMemberArrayGrammar( FORWARDS_ATTR, new ForwardGrammar( env, diags, null, rvc, fcInfo ) );
        addMemberArrayGrammar( CATCHES_ATTR, new CatchGrammar( env, diags, null, rvc, ACTION_TAG_NAME, fcInfo ) );
        addMemberArrayGrammar( VALIDATABLE_PROPERTIES_ATTR, new ValidatablePropertyGrammar( env, diags, rvc ) );
View Full Code Here

        addMemberType( OUTPUT_FORM_BEAN_TYPE_ATTR, new TypeNameType( null, false, null, this ) );
        addMemberType( OUTPUT_FORM_BEAN_ATTR, new MemberFieldType( null , null, this ) );
        addMemberType( RETURN_ACTION_ATTR, new JavaIdentifierType( null, this, new char[]{ '.' } ) );
        addMemberType( PATH_ATTR, new ExternalPathOrActionType( false, null, this, fcInfo ) );
        addMemberType( ACTION_ATTR, new ValidActionType( null, this, fcInfo ) );
        addMemberType( TILES_DEFINITION_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( REDIRECT_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( EXTERNAL_REDIRECT_ATTR, new AbsolutePathType( null , this ) );
        addMemberType( NAVIGATE_TO_ATTR, new EnumType( NAVIGATE_TO_VALS, DEPRECATED_NAVIGATE_TO_VALS, null, this ) );
        addMemberType( RESTORE_QUERY_STRING_ATTR, new AnnotationMemberType( null, this ) );
       
        addMemberArrayGrammar( ACTION_OUTPUTS_ATTR, new ActionOutputGrammar( env, diags, runtimeVersionChecker ) );
    }
View Full Code Here

    public ExceptionHandlerGrammar( AnnotationProcessorEnvironment env, Diagnostics diags,
                                    RuntimeVersionChecker runtimeVersionChecker, FlowControllerInfo fcInfo )
    {
        super( env, diags, null, runtimeVersionChecker, fcInfo );
       
        addMemberType( READONLY_ATTR, new AnnotationMemberType( VERSION_8_SP2_STRING, this ) );
        addMemberArrayGrammar( FORWARDS_ATTR, new ExceptionHandlerForwardGrammar( fcInfo ) );
    }
View Full Code Here

    public ControllerGrammar( AnnotationProcessorEnvironment env, Diagnostics diags, RuntimeVersionChecker rvc,
                              FlowControllerInfo fcInfo )
    {
        super( env, diags, null, rvc, fcInfo );
       
        addMemberType( LOGIN_REQUIRED_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( ROLES_ALLOWED_ATTR, new RolesAllowedType( this ) );
        addMemberType( READONLY_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( STRUTSMERGE_ATTR, new ValidXmlFileType( StrutsConfigDocument.type, null, this, fcInfo ) );
        addMemberType( VALIDATOR_VERSION_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( VALIDATOR_MERGE_ATTR, new ValidXmlFileType( FormValidationDocument.type, null, this, fcInfo ) );
        addMemberType( TILES_DEFINITIONS_CONFIGS_ATTR, new TilesDefinitionsConfigsType( null, this, fcInfo ) );
        addMemberType( MULTIPART_HANDLER_ATTR, new AnnotationMemberType( null, this ) );
       
        addMemberArrayGrammar( SHARED_FLOW_REFS_ATTR, new SharedFlowRefGrammar( env, diags, rvc ) );
        addMemberArrayGrammar( FORWARDS_ATTR, new ForwardGrammar( env, diags, null, rvc, fcInfo ) );
        addMemberArrayGrammar( CATCHES_ATTR, new CatchGrammar( env, diags, null, rvc, CONTROLLER_TAG_NAME, fcInfo ) );
        addMemberArrayGrammar( MESSAGE_BUNDLES_ATTR, new MessageBundleGrammar( env, diags, null, rvc, fcInfo ) );
View Full Code Here

    {
        super( env, diags, requiredRuntimeVersion, runtimeVersionChecker, fcInfo );
       
        _annotationRootName = annotationRootName;   // the parent of the list of @Jpf.Catch annotations.
        addMemberType( METHOD_ATTR, new CatchTagMethodType() );
        AnnotationMemberType typeAttrType =
                new UniqueValueType( CATCHES_ATTR, false, false, null, this,
                                     new TypeNameType( THROWABLE_CLASS_NAME, false, null, this ) );
        addMemberType( TYPE_ATTR, typeAttrType );
        addMemberType( PATH_ATTR, new ForwardToExternalPathType( new WebappPathOrActionType( false, null, this, fcInfo ), null, this ) );
        addMemberType( MESSAGE_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( MESSAGE_KEY_ATTR, new AnnotationMemberType( null, this ) );
    }
View Full Code Here

   
    public ValidatablePropertyGrammar( AnnotationProcessorEnvironment env, Diagnostics diags, RuntimeVersionChecker rvc )
    {
        super( env, diags, rvc );
       
        addMemberType( PROPERTY_NAME_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( DISPLAY_NAME_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( DISPLAY_NAME_KEY_ATTR, new AnnotationMemberType( null, this ) );
        addMemberArrayGrammar( LOCALE_RULES_ATTR, new LocaleRulesGrammar( env, diags, rvc ) );
    }
View Full Code Here

    public LocaleRulesGrammar( AnnotationProcessorEnvironment env, Diagnostics diags,
                                         RuntimeVersionChecker rvc )
    {
        super( env, diags, rvc );
       
        addMemberType( LANGUAGE_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( COUNTRY_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( VARIANT_ATTR, new AnnotationMemberType( null, this ) );
        addMemberType( APPLY_TO_UNHANDLED_LOCALES_ATTR, new ApplyToUnhandledLocalesType() );
    }
View Full Code Here

TOP

Related Classes of org.apache.beehive.netui.compiler.AnnotationMemberType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.