Package com.volantis.synergetics.cornerstone.stack

Examples of com.volantis.synergetics.cornerstone.stack.Stack.peek()


    public DefinitionScope getDefinitionScope(DefinitionType definitionType) {
        DefinitionScope scope = null;
        Stack scopeStack = (Stack) type2ScopeStack.get(definitionType);
        if (scopeStack != null) {
            scope = (DefinitionScope) scopeStack.peek();
        }
        return scope;
    }

    // Javadoc inherited.
View Full Code Here


                stack.push(parent);
                parent = parent.getParent();
            } while (parent != null);

            // Remove the fake parent node if there is one.
            Node top = (Node) stack.peek();
            if (top instanceof Element && ((Element) top).getName() == null) {
                stack.pop();
            }

            StringBuffer path = new StringBuffer();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.