Lines Matching refs:stack

34  * prefix/uri/depth triplets are pushed on a stack pushed on a stack. The depth
50 * "def" is pushed on the stack with depth 1.
55 * stack. Of course popNamespaces(2) would pop anything with depth 2 or
58 * So prefix/uri pairs are pushed and poped off the stack as elements are
60 * are on the stack and a prefix can be found given a uri, or a uri can be found
78 * All mappings in that retrieved stack have the same prefix,
79 * though possibly different URI's or depths. Such a stack must have
80 * mappings at deeper depths push later on such a stack. Mappings pushed
81 * earlier on the stack will have smaller values for MappingRecord.m_declarationDepth.
86 * The top of this stack contains the MapRecord
91 * pushed on this stack.
120 Stack stack;
121 m_namespaces.put(EMPTYSTRING, stack = new Stack());
122 stack.push(new MappingRecord(EMPTYSTRING,EMPTYSTRING,0));
124 m_namespaces.put(XML_PREFIX, stack = new Stack());
125 stack.push(new MappingRecord( XML_PREFIX,
140 final Stack stack = (Stack) m_namespaces.get(prefix);
141 return stack != null && !stack.isEmpty() ?
142 ((MappingRecord) stack.peek()).m_uri : null;
146 final Stack stack = (Stack) m_namespaces.get(prefix);
147 return stack != null && !stack.isEmpty() ?
148 ((MappingRecord) stack.peek()) : null;
203 Stack stack;
204 if ((stack = (Stack) m_namespaces.get(prefix)) != null)
206 stack.pop();
226 Stack stack;
227 // Get the stack that contains URIs for the specified prefix
228 if ((stack = (Stack) m_namespaces.get(prefix)) == null)
230 m_namespaces.put(prefix, stack = new Stack());
233 if (!stack.empty() && uri.equals(((MappingRecord)stack.peek()).m_uri))
238 stack.push(map);