Package org.jpox.util

Examples of org.jpox.util.MacroString


            {
                viewDefStr = getValueForExtension("view-definition");
            }
            if( viewDefStr!= null )
            {
                MacroString viewDef = new MacroString(fullName,
                           getValueForExtension("view-imports"),
                           viewDefStr);
                viewDef.substituteMacros(new MacroString.MacroHandler()
                    {
                        public void onIdentifierMacro(MacroString.IdentifierMacro im)
                        {
                            if (!getFullClassName().equals(im.className)) //ignore itself
                            {
View Full Code Here


        if (viewDefStr == null)
        {
            throw new ViewDefinitionException(cmd.getFullClassName(), viewDefStr);
        }

        viewDef = new MacroString(cmd.getFullClassName(), viewImpStr, viewDefStr);

    }
View Full Code Here

        }

        // Generate the actual JDBC SQL text by processing the embedded parameter/field macros
        // in the provided JPOXSQL text.
        parameterOccurrences = new ArrayList();
        MacroString ms = new MacroString(candidateClass != null ? candidateClass.getName() : null,
                                         candidateClass != null ? imports : null, inputSQL);
        return ms.substituteMacros(new MacroString.MacroHandler()
            {
            public void onIdentifierMacro(MacroString.IdentifierMacro im)
            {
                // Only process identifier macros when the candidate class is known
                if (candidateClass != null)
View Full Code Here

        {
            tableDefStr = cmd.getValueForExtension("ddl-definition");
        }
        if (tableDefStr != null)
        {
            tableDef = new MacroString(cmd.getFullClassName(), tableImpStr, tableDefStr);
        }
    }
View Full Code Here

TOP

Related Classes of org.jpox.util.MacroString

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.