1 | public void startElement(String name, AttributeList attrs)↵ | | 1 | public void endElement(String name↵
|
2 | throws SAXException {↵ | | 2 | ) throws SAXException {↵
|
3 | this.currentElement = name↵ | | 3 | processElement();↵
|
4 | ;↵ | | 4 | currentText = "";↵
|
5 | currentText = "";↵ | | 5 | this.currentElement = "";↵
|
6 | if (name.equals(EJB_REF) || name.equals(EJB_LOCAL_REF)) {↵ | | 6 | if (name.equals(EJB_REF) || name.equals(EJB_LOCAL_REF)) {↵
|
7 | inEJBRef = true;↵ | | 7 | inEJBRef = false;↵
|
8 | } else if (parseState == STATE_LOOKING_EJBJAR && name.equals(EJB_JAR)) {↵ | | 8 | } else if (parseState == STATE_IN_ENTITY && name.equals(ENTITY_BEAN)) {↵
|
9 | parseState = STATE_IN_EJBJAR;↵ | | 9 | parseState = STATE_IN_BEANS;↵
|
10 | } else if (parseState == STATE_IN_EJBJAR && name.equals(ENTERPRISE_BEANS)) {↵ | | 10 | } else if (parseState == STATE_IN_SESSION && name.equals(SESSION_BEAN)) {↵
|
11 | parseState = STATE_IN_BEANS;↵ | | 11 | parseState = STATE_IN_BEANS;↵
|
12 | } else if (parseState == STATE_IN_BEANS && name.equals(SESSION_BEAN)) {↵ | | 12 | } else if (parseState == STATE_IN_MESSAGE && name.equals(MESSAGE_BEAN)) {↵
|
13 | parseState = STATE_IN_SESSION;↵ | | 13 | parseState = STATE_IN_BEANS;↵
|
14 | } else if (parseState == STATE_IN_BEANS && name.equals(ENTITY_BEAN)) {↵ | | 14 | } else if (parseState == STATE_IN_BEANS && name.equals(ENTERPRISE_BEANS)) {↵
|
15 | parseState = STATE_IN_ENTITY;↵ | | 15 | parseState = STATE_IN_EJBJAR;↵
|
16 | } else if (parseState == STATE_IN_BEANS && name.equals(MESSAGE_BEAN)) {↵ | | 16 | } else if (parseState == STATE_IN_EJBJAR && name.equals(EJB_JAR)) {↵
|
17 | parseState = STATE_IN_MESSAGE;↵ | | 17 | parseState = STATE_LOOKING_EJBJAR;↵
|
18 | | | 18 |
|