org.apache.torque.engine.database.transform
Class XmlToAppData.ParseStackElement

java.lang.Object
  extended by org.apache.torque.engine.database.transform.XmlToAppData.ParseStackElement
Enclosing class:
XmlToAppData

private static class XmlToAppData.ParseStackElement
extends Object

When parsing multiple files that use nested tags we need to use a stack to remember some values.


Field Summary
private  String currentPackage
           
private  String currentXmlFile
           
private  boolean firstPass
           
private  boolean isExternalSchema
           
 
Constructor Summary
XmlToAppData.ParseStackElement(XmlToAppData parser)
           
 
Method Summary
static void popState(XmlToAppData parser)
          Removes the top element from the stack and activates the stored state
static void pushState(XmlToAppData parser)
          Stores the current state on the top of the stack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isExternalSchema

private boolean isExternalSchema

currentPackage

private String currentPackage

currentXmlFile

private String currentXmlFile

firstPass

private boolean firstPass
Constructor Detail

XmlToAppData.ParseStackElement

public XmlToAppData.ParseStackElement(XmlToAppData parser)
Parameters:
parser -
Method Detail

popState

public static void popState(XmlToAppData parser)
Removes the top element from the stack and activates the stored state

Parameters:
parser -

pushState

public static void pushState(XmlToAppData parser)
Stores the current state on the top of the stack.

Parameters:
parser -


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.