Source Code Cross Referenced for FacesConfigGenerator.java in  » J2EE » ICEfaces-1.6.1 » com » icesoft » jsfmeta » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » ICEfaces 1.6.1 » com.icesoft.jsfmeta 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /*
0002:         *  Version: MPL 1.1/GPL 2.0/LGPL 2.1
0003:         *
0004:         *  "The contents of this file are subject to the Mozilla Public License
0005:         *  Version 1.1 (the "License"); you may not use this file except in
0006:         *  compliance with the License. You may obtain a copy of the License at
0007:         *  http://www.mozilla.org/MPL/
0008:         *
0009:         *  Software distributed under the License is distributed on an "AS IS"
0010:         *  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
0011:         *  License for the specific language governing rights and limitations under
0012:         *  the License.
0013:         *
0014:         *  The Original Code is ICEfaces 1.5 open source software code, released
0015:         *  November 5, 2006. The Initial Developer of the Original Code is ICEsoft
0016:         *  Technologies Canada, Corp. Portions created by ICEsoft are Copyright (C)
0017:         *  2004-2006 ICEsoft Technologies Canada, Corp. All Rights Reserved.
0018:         *
0019:         *  Contributor(s): _____________________.
0020:         *
0021:         *  Alternatively, the contents of this file may be used under the terms of
0022:         *  the GNU Lesser General Public License Version 2.1 or later (the "LGPL"
0023:         *  License), in which case the provisions of the LGPL License are
0024:         *  applicable instead of those above. If you wish to allow use of your
0025:         *  version of this file only under the terms of the LGPL License and not to
0026:         *  allow others to use your version of this file under the MPL, indicate
0027:         *  your decision by deleting the provisions above and replace them with
0028:         *  the notice and other provisions required by the LGPL License. If you do
0029:         *  not delete the provisions above, a recipient may use your version of
0030:         *  this file under either the MPL or the LGPL License."
0031:         *
0032:         */
0033:
0034:        /*
0035:         * FacesConfigGenerator based on generated class from dtd. 
0036:         * 
0037:         * It merges component's faces-config.xml with custom renderer defined in webui-faces-config.xml
0038:         */
0039:
0040:        package com.icesoft.jsfmeta;
0041:
0042:        import java.io.File;
0043:        import java.io.FileNotFoundException;
0044:        import java.io.FileOutputStream;
0045:        import java.io.IOException;
0046:        import java.net.URL;
0047:
0048:        import javax.xml.parsers.DocumentBuilder;
0049:        import javax.xml.parsers.DocumentBuilderFactory;
0050:        import javax.xml.parsers.ParserConfigurationException;
0051:        import javax.xml.transform.OutputKeys;
0052:        import javax.xml.transform.Transformer;
0053:        import javax.xml.transform.TransformerException;
0054:        import javax.xml.transform.TransformerFactory;
0055:        import javax.xml.transform.dom.DOMSource;
0056:        import javax.xml.transform.stream.StreamResult;
0057:
0058:        import org.w3c.dom.Document;
0059:        import org.w3c.dom.Element;
0060:        import org.xml.sax.ErrorHandler;
0061:        import org.xml.sax.SAXException;
0062:        import org.xml.sax.SAXParseException;
0063:
0064:        import com.icesoft.jsfmeta.util.FacesConfigParserHelper;
0065:        import com.sun.rave.jsfmeta.beans.RendererBean;
0066:
0067:        public class FacesConfigGenerator {
0068:
0069:            private static final String WORKING_FOLDER;
0070:            private String inputXmlFile;
0071:            private String outputXmlFile;
0072:            private String addonXmlFile;
0073:
0074:            public FacesConfigGenerator() {
0075:
0076:                inputXmlFile = WORKING_FOLDER + "/build/conf/faces-config.xml";
0077:                outputXmlFile = WORKING_FOLDER
0078:                        + "/build/component/META-INF/faces-config.xml";
0079:                addonXmlFile = "./src/main/resources/conf/webui-faces-config.xml";
0080:            }
0081:
0082:            public static void main(String[] args) {
0083:
0084:                FacesConfigGenerator facesConfigGenerator = new FacesConfigGenerator();
0085:                facesConfigGenerator.generate(args);
0086:            }
0087:
0088:            private void generate(String[] args) {
0089:
0090:                for (int i = 0; i < args.length; i++) {
0091:                    String arg = args[i];
0092:                    if (arg.equals("-input")) {
0093:                        inputXmlFile = args[++i];
0094:                        continue;
0095:                    }
0096:                    if (arg.equals("-output")) {
0097:                        outputXmlFile = args[++i];
0098:                        continue;
0099:                    }
0100:                    if (arg.equals("-addon")) {
0101:                        addonXmlFile = args[++i];
0102:                        continue;
0103:                    }
0104:                }
0105:
0106:                System.out.println("input faces-config file =" + inputXmlFile);
0107:                System.out
0108:                        .println("output faces-config file =" + outputXmlFile);
0109:                System.out.println("addon faces-config file =" + addonXmlFile);
0110:
0111:                Document document = parse(inputXmlFile);
0112:                visitDocument(document);
0113:                transform(document, outputXmlFile);
0114:            }
0115:
0116:            static {
0117:                String result = ".";
0118:                try {
0119:                    ClassLoader classLoader = Thread.currentThread()
0120:                            .getContextClassLoader();
0121:                    URL localUrl = classLoader.getResource(".");
0122:                    if (localUrl != null) {
0123:                        result = localUrl.getPath() + "./../../";
0124:                    }
0125:
0126:                } catch (Exception ex) {
0127:                    ex.printStackTrace();
0128:                }
0129:                WORKING_FOLDER = result;
0130:            }
0131:
0132:            public void transform(Document document, String outputXmlFile) {
0133:
0134:                TransformerFactory transformerFactory = TransformerFactory
0135:                        .newInstance();
0136:                try {
0137:                    Transformer transformer = transformerFactory
0138:                            .newTransformer();
0139:                    transformer
0140:                            .setOutputProperty(OutputKeys.DOCTYPE_PUBLIC,
0141:                                    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN");
0142:                    transformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM,
0143:                            "http://java.sun.com/dtd/web-facesconfig_1_1.dtd");
0144:
0145:                    transformer.transform(new DOMSource(document),
0146:                            new StreamResult(
0147:                                    new FileOutputStream(outputXmlFile)));
0148:
0149:                    FacesConfigParserHelper.validate(outputXmlFile);
0150:
0151:                    //			transformer.transform(new DOMSource(document), new StreamResult(
0152:                    //					System.out));execute
0153:                    //			System.out.println();
0154:
0155:                } catch (TransformerException e) {
0156:                    e.printStackTrace();
0157:                } catch (FileNotFoundException e) {
0158:                    e.printStackTrace();
0159:                } catch (Exception e) {
0160:                    e.printStackTrace();
0161:                }
0162:            }
0163:
0164:            public Document parse(String filePath) {
0165:
0166:                DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory
0167:                        .newInstance();
0168:                documentBuilderFactory.setValidating(true);
0169:                documentBuilderFactory.setNamespaceAware(true);
0170:
0171:                DocumentBuilder documentBuilder = null;
0172:                Document document = null;
0173:
0174:                try {
0175:                    documentBuilder = documentBuilderFactory
0176:                            .newDocumentBuilder();
0177:                } catch (ParserConfigurationException e) {
0178:                    e.printStackTrace();
0179:                }
0180:
0181:                documentBuilder.setErrorHandler(new ErrorHandler() {
0182:                    public void error(SAXParseException e) {
0183:                        e.printStackTrace();
0184:                    }
0185:
0186:                    public void fatalError(SAXParseException e)
0187:                            throws SAXException {
0188:                        e.printStackTrace();
0189:                    }
0190:
0191:                    public void warning(SAXParseException e) {
0192:                        e.printStackTrace();
0193:                    }
0194:                });
0195:
0196:                try {
0197:                    document = documentBuilder.parse(new File(filePath));
0198:
0199:                } catch (IOException e) {
0200:
0201:                    e.printStackTrace();
0202:                } catch (SAXException e) {
0203:                    e.printStackTrace();
0204:
0205:                }
0206:                return document;
0207:            }
0208:
0209:            /**
0210:             * Scan through org.w3c.dom.Document document.
0211:             */
0212:            public void visitDocument(Document document) {
0213:
0214:                org.w3c.dom.Element element = document.getDocumentElement();
0215:                if ((element != null)
0216:                        && element.getTagName().equals("faces-config")) {
0217:                    visitElement_faces_config(element);
0218:                }
0219:                if ((element != null)
0220:                        && element.getTagName().equals("application")) {
0221:                    visitElement_application(element);
0222:                }
0223:                if ((element != null) && element.getTagName().equals("factory")) {
0224:                    visitElement_factory(element);
0225:                }
0226:                if ((element != null)
0227:                        && element.getTagName().equals("attribute")) {
0228:                    visitElement_attribute(element);
0229:                }
0230:                if ((element != null)
0231:                        && element.getTagName().equals("attribute-extension")) {
0232:                    visitElement_attribute_extension(element);
0233:                }
0234:                if ((element != null)
0235:                        && element.getTagName().equals("component")) {
0236:                    visitElement_component(element);
0237:                }
0238:                if ((element != null)
0239:                        && element.getTagName().equals("component-extension")) {
0240:                    visitElement_component_extension(element);
0241:                }
0242:                if ((element != null) && element.getTagName().equals("facet")) {
0243:                    visitElement_facet(element);
0244:                }
0245:                if ((element != null)
0246:                        && element.getTagName().equals("facet-extension")) {
0247:                    visitElement_facet_extension(element);
0248:                }
0249:                if ((element != null)
0250:                        && element.getTagName().equals("facet-name")) {
0251:                    visitElement_facet_name(element);
0252:                }
0253:                if ((element != null)
0254:                        && element.getTagName().equals("converter")) {
0255:                    visitElement_converter(element);
0256:                }
0257:                if ((element != null) && element.getTagName().equals("icon")) {
0258:                    visitElement_icon(element);
0259:                }
0260:                if ((element != null)
0261:                        && element.getTagName().equals("lifecycle")) {
0262:                    visitElement_lifecycle(element);
0263:                }
0264:                if ((element != null)
0265:                        && element.getTagName().equals("locale-config")) {
0266:                    visitElement_locale_config(element);
0267:                }
0268:                if ((element != null)
0269:                        && element.getTagName().equals("managed-bean")) {
0270:                    visitElement_managed_bean(element);
0271:                }
0272:                if ((element != null)
0273:                        && element.getTagName().equals("managed-property")) {
0274:                    visitElement_managed_property(element);
0275:                }
0276:                if ((element != null)
0277:                        && element.getTagName().equals("map-entry")) {
0278:                    visitElement_map_entry(element);
0279:                }
0280:                if ((element != null)
0281:                        && element.getTagName().equals("map-entries")) {
0282:                    visitElement_map_entries(element);
0283:                }
0284:                if ((element != null)
0285:                        && element.getTagName().equals("message-bundle")) {
0286:                    visitElement_message_bundle(element);
0287:                }
0288:                if ((element != null)
0289:                        && element.getTagName().equals("navigation-case")) {
0290:                    visitElement_navigation_case(element);
0291:                }
0292:                if ((element != null)
0293:                        && element.getTagName().equals("navigation-rule")) {
0294:                    visitElement_navigation_rule(element);
0295:                }
0296:                if ((element != null)
0297:                        && element.getTagName().equals("property")) {
0298:                    visitElement_property(element);
0299:                }
0300:                if ((element != null)
0301:                        && element.getTagName().equals("property-extension")) {
0302:                    visitElement_property_extension(element);
0303:                }
0304:                if ((element != null)
0305:                        && element.getTagName().equals("referenced-bean")) {
0306:                    visitElement_referenced_bean(element);
0307:                }
0308:                if ((element != null)
0309:                        && element.getTagName().equals("render-kit")) {
0310:                    visitElement_render_kit(element);
0311:                }
0312:                if ((element != null)
0313:                        && element.getTagName().equals("renderer")) {
0314:                    visitElement_renderer(element);
0315:                }
0316:                if ((element != null)
0317:                        && element.getTagName().equals("renderer-extension")) {
0318:                    visitElement_renderer_extension(element);
0319:                }
0320:                if ((element != null)
0321:                        && element.getTagName().equals("validator")) {
0322:                    visitElement_validator(element);
0323:                }
0324:                if ((element != null)
0325:                        && element.getTagName().equals("list-entries")) {
0326:                    visitElement_list_entries(element);
0327:                }
0328:                if ((element != null)
0329:                        && element.getTagName().equals("action-listener")) {
0330:                    visitElement_action_listener(element);
0331:                }
0332:                if ((element != null)
0333:                        && element.getTagName().equals("application-factory")) {
0334:                    visitElement_application_factory(element);
0335:                }
0336:                if ((element != null)
0337:                        && element.getTagName().equals("attribute-class")) {
0338:                    visitElement_attribute_class(element);
0339:                }
0340:                if ((element != null)
0341:                        && element.getTagName().equals("attribute-name")) {
0342:                    visitElement_attribute_name(element);
0343:                }
0344:                if ((element != null)
0345:                        && element.getTagName().equals("component-class")) {
0346:                    visitElement_component_class(element);
0347:                }
0348:                if ((element != null)
0349:                        && element.getTagName().equals("component-family")) {
0350:                    visitElement_component_family(element);
0351:                }
0352:                if ((element != null)
0353:                        && element.getTagName().equals("component-type")) {
0354:                    visitElement_component_type(element);
0355:                }
0356:                if ((element != null)
0357:                        && element.getTagName().equals("converter-class")) {
0358:                    visitElement_converter_class(element);
0359:                }
0360:                if ((element != null)
0361:                        && element.getTagName().equals("converter-for-class")) {
0362:                    visitElement_converter_for_class(element);
0363:                }
0364:                if ((element != null)
0365:                        && element.getTagName().equals("converter-id")) {
0366:                    visitElement_converter_id(element);
0367:                }
0368:                if ((element != null)
0369:                        && element.getTagName().equals("default-render-kit-id")) {
0370:                    visitElement_default_render_kit_id(element);
0371:                }
0372:                if ((element != null)
0373:                        && element.getTagName().equals("default-locale")) {
0374:                    visitElement_default_locale(element);
0375:                }
0376:                if ((element != null)
0377:                        && element.getTagName().equals("default-value")) {
0378:                    visitElement_default_value(element);
0379:                }
0380:                if ((element != null)
0381:                        && element.getTagName().equals("description")) {
0382:                    visitElement_description(element);
0383:                }
0384:                if ((element != null)
0385:                        && element.getTagName().equals("display-name")) {
0386:                    visitElement_display_name(element);
0387:                }
0388:                if ((element != null)
0389:                        && element.getTagName().equals("faces-context-factory")) {
0390:                    visitElement_faces_context_factory(element);
0391:                }
0392:                if ((element != null)
0393:                        && element.getTagName().equals("from-action")) {
0394:                    visitElement_from_action(element);
0395:                }
0396:                if ((element != null)
0397:                        && element.getTagName().equals("from-outcome")) {
0398:                    visitElement_from_outcome(element);
0399:                }
0400:                if ((element != null)
0401:                        && element.getTagName().equals("from-view-id")) {
0402:                    visitElement_from_view_id(element);
0403:                }
0404:                if ((element != null) && element.getTagName().equals("key")) {
0405:                    visitElement_key(element);
0406:                }
0407:                if ((element != null)
0408:                        && element.getTagName().equals("key-class")) {
0409:                    visitElement_key_class(element);
0410:                }
0411:                if ((element != null)
0412:                        && element.getTagName().equals("large-icon")) {
0413:                    visitElement_large_icon(element);
0414:                }
0415:                if ((element != null)
0416:                        && element.getTagName().equals("lifecycle-factory")) {
0417:                    visitElement_lifecycle_factory(element);
0418:                }
0419:                if ((element != null)
0420:                        && element.getTagName().equals("managed-bean-class")) {
0421:                    visitElement_managed_bean_class(element);
0422:                }
0423:                if ((element != null)
0424:                        && element.getTagName().equals("managed-bean-name")) {
0425:                    visitElement_managed_bean_name(element);
0426:                }
0427:                if ((element != null)
0428:                        && element.getTagName().equals("managed-bean-scope")) {
0429:                    visitElement_managed_bean_scope(element);
0430:                }
0431:                if ((element != null)
0432:                        && element.getTagName().equals("navigation-handler")) {
0433:                    visitElement_navigation_handler(element);
0434:                }
0435:                if ((element != null)
0436:                        && element.getTagName().equals("phase-listener")) {
0437:                    visitElement_phase_listener(element);
0438:                }
0439:                if ((element != null)
0440:                        && element.getTagName().equals("redirect")) {
0441:                    visitElement_redirect(element);
0442:                }
0443:                if ((element != null)
0444:                        && element.getTagName().equals("suggested-value")) {
0445:                    visitElement_suggested_value(element);
0446:                }
0447:                if ((element != null)
0448:                        && element.getTagName().equals("view-handler")) {
0449:                    visitElement_view_handler(element);
0450:                }
0451:                if ((element != null)
0452:                        && element.getTagName().equals("state-manager")) {
0453:                    visitElement_state_manager(element);
0454:                }
0455:                if ((element != null)
0456:                        && element.getTagName().equals("null-value")) {
0457:                    visitElement_null_value(element);
0458:                }
0459:                if ((element != null)
0460:                        && element.getTagName().equals("property-class")) {
0461:                    visitElement_property_class(element);
0462:                }
0463:                if ((element != null)
0464:                        && element.getTagName().equals("property-name")) {
0465:                    visitElement_property_name(element);
0466:                }
0467:                if ((element != null)
0468:                        && element.getTagName().equals("property-resolver")) {
0469:                    visitElement_property_resolver(element);
0470:                }
0471:                if ((element != null)
0472:                        && element.getTagName().equals("referenced-bean-class")) {
0473:                    visitElement_referenced_bean_class(element);
0474:                }
0475:                if ((element != null)
0476:                        && element.getTagName().equals("referenced-bean-name")) {
0477:                    visitElement_referenced_bean_name(element);
0478:                }
0479:                if ((element != null)
0480:                        && element.getTagName().equals("render-kit-id")) {
0481:                    visitElement_render_kit_id(element);
0482:                }
0483:                if ((element != null)
0484:                        && element.getTagName().equals("render-kit-class")) {
0485:                    visitElement_render_kit_class(element);
0486:                }
0487:                if ((element != null)
0488:                        && element.getTagName().equals("renderer-class")) {
0489:                    visitElement_renderer_class(element);
0490:                }
0491:                if ((element != null)
0492:                        && element.getTagName().equals("render-kit-factory")) {
0493:                    visitElement_render_kit_factory(element);
0494:                }
0495:                if ((element != null)
0496:                        && element.getTagName().equals("renderer-type")) {
0497:                    visitElement_renderer_type(element);
0498:                }
0499:                if ((element != null)
0500:                        && element.getTagName().equals("small-icon")) {
0501:                    visitElement_small_icon(element);
0502:                }
0503:                if ((element != null)
0504:                        && element.getTagName().equals("supported-locale")) {
0505:                    visitElement_supported_locale(element);
0506:                }
0507:                if ((element != null)
0508:                        && element.getTagName().equals("to-view-id")) {
0509:                    visitElement_to_view_id(element);
0510:                }
0511:                if ((element != null)
0512:                        && element.getTagName().equals("validator-class")) {
0513:                    visitElement_validator_class(element);
0514:                }
0515:                if ((element != null)
0516:                        && element.getTagName().equals("validator-id")) {
0517:                    visitElement_validator_id(element);
0518:                }
0519:                if ((element != null) && element.getTagName().equals("value")) {
0520:                    visitElement_value(element);
0521:                }
0522:                if ((element != null)
0523:                        && element.getTagName().equals("value-class")) {
0524:                    visitElement_value_class(element);
0525:                }
0526:                if ((element != null)
0527:                        && element.getTagName().equals("variable-resolver")) {
0528:                    visitElement_variable_resolver(element);
0529:                }
0530:            }
0531:
0532:            /**
0533:             * Scan through org.w3c.dom.Element named faces-config.
0534:             */
0535:            void visitElement_faces_config(org.w3c.dom.Element element) { // <faces-config>
0536:                // element.getValue();
0537:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
0538:                for (int i = 0; i < attrs.getLength(); i++) {
0539:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
0540:                    if (attr.getName().equals("xmlns")) { // <faces-config
0541:                        // xmlns="???">
0542:                        // attr.getValue();
0543:                    }
0544:                    if (attr.getName().equals("id")) { // <faces-config id="???">
0545:                        // attr.getValue();
0546:                    }
0547:                }
0548:                org.w3c.dom.NodeList nodes = element.getChildNodes();
0549:                for (int i = 0; i < nodes.getLength(); i++) {
0550:                    org.w3c.dom.Node node = nodes.item(i);
0551:                    switch (node.getNodeType()) {
0552:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
0553:                        // ((org.w3c.dom.CDATASection)node).getData();
0554:                        break;
0555:                    case org.w3c.dom.Node.ELEMENT_NODE:
0556:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
0557:                        if (nodeElement.getTagName().equals("application")) {
0558:                            visitElement_application(nodeElement);
0559:                        }
0560:                        if (nodeElement.getTagName().equals("factory")) {
0561:                            visitElement_factory(nodeElement);
0562:                        }
0563:                        if (nodeElement.getTagName().equals("component")) {
0564:                            visitElement_component(nodeElement);
0565:                        }
0566:                        if (nodeElement.getTagName().equals("converter")) {
0567:                            visitElement_converter(nodeElement);
0568:                        }
0569:                        if (nodeElement.getTagName().equals("lifecycle")) {
0570:                            visitElement_lifecycle(nodeElement);
0571:                        }
0572:                        if (nodeElement.getTagName().equals("managed-bean")) {
0573:                            visitElement_managed_bean(nodeElement);
0574:                        }
0575:                        if (nodeElement.getTagName().equals("navigation-rule")) {
0576:                            visitElement_navigation_rule(nodeElement);
0577:                        }
0578:                        if (nodeElement.getTagName().equals("referenced-bean")) {
0579:                            visitElement_referenced_bean(nodeElement);
0580:                        }
0581:                        if (nodeElement.getTagName().equals("render-kit")) {
0582:                            visitElement_render_kit(nodeElement);
0583:                        }
0584:                        if (nodeElement.getTagName().equals("validator")) {
0585:                            visitElement_validator(nodeElement);
0586:                        }
0587:                        break;
0588:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
0589:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
0590:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
0591:                        break;
0592:                    }
0593:                }
0594:            }
0595:
0596:            /**
0597:             * Scan through org.w3c.dom.Element named application.
0598:             */
0599:            void visitElement_application(org.w3c.dom.Element element) { // <application>
0600:                // element.getValue();
0601:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
0602:                for (int i = 0; i < attrs.getLength(); i++) {
0603:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
0604:                    if (attr.getName().equals("id")) { // <application id="???">
0605:                        // attr.getValue();
0606:                    }
0607:                }
0608:                org.w3c.dom.NodeList nodes = element.getChildNodes();
0609:                for (int i = 0; i < nodes.getLength(); i++) {
0610:                    org.w3c.dom.Node node = nodes.item(i);
0611:                    switch (node.getNodeType()) {
0612:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
0613:                        // ((org.w3c.dom.CDATASection)node).getData();
0614:                        break;
0615:                    case org.w3c.dom.Node.ELEMENT_NODE:
0616:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
0617:                        if (nodeElement.getTagName().equals("locale-config")) {
0618:                            visitElement_locale_config(nodeElement);
0619:                        }
0620:                        if (nodeElement.getTagName().equals("message-bundle")) {
0621:                            visitElement_message_bundle(nodeElement);
0622:                        }
0623:                        if (nodeElement.getTagName().equals("action-listener")) {
0624:                            visitElement_action_listener(nodeElement);
0625:                        }
0626:                        if (nodeElement.getTagName().equals(
0627:                                "default-render-kit-id")) {
0628:                            visitElement_default_render_kit_id(nodeElement);
0629:                        }
0630:                        if (nodeElement.getTagName().equals(
0631:                                "navigation-handler")) {
0632:                            visitElement_navigation_handler(nodeElement);
0633:                        }
0634:                        if (nodeElement.getTagName().equals("view-handler")) {
0635:                            visitElement_view_handler(nodeElement);
0636:                        }
0637:                        if (nodeElement.getTagName().equals("state-manager")) {
0638:                            visitElement_state_manager(nodeElement);
0639:                        }
0640:                        if (nodeElement.getTagName()
0641:                                .equals("property-resolver")) {
0642:                            visitElement_property_resolver(nodeElement);
0643:                        }
0644:                        if (nodeElement.getTagName()
0645:                                .equals("variable-resolver")) {
0646:                            visitElement_variable_resolver(nodeElement);
0647:                        }
0648:                        break;
0649:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
0650:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
0651:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
0652:                        break;
0653:                    }
0654:                }
0655:            }
0656:
0657:            /**
0658:             * Scan through org.w3c.dom.Element named factory.
0659:             */
0660:            void visitElement_factory(org.w3c.dom.Element element) { // <factory>
0661:                // element.getValue();
0662:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
0663:                for (int i = 0; i < attrs.getLength(); i++) {
0664:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
0665:                    if (attr.getName().equals("id")) { // <factory id="???">
0666:                        // attr.getValue();
0667:                    }
0668:                }
0669:                org.w3c.dom.NodeList nodes = element.getChildNodes();
0670:                for (int i = 0; i < nodes.getLength(); i++) {
0671:                    org.w3c.dom.Node node = nodes.item(i);
0672:                    switch (node.getNodeType()) {
0673:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
0674:                        // ((org.w3c.dom.CDATASection)node).getData();
0675:                        break;
0676:                    case org.w3c.dom.Node.ELEMENT_NODE:
0677:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
0678:                        if (nodeElement.getTagName().equals(
0679:                                "application-factory")) {
0680:                            visitElement_application_factory(nodeElement);
0681:                        }
0682:                        if (nodeElement.getTagName().equals(
0683:                                "faces-context-factory")) {
0684:                            visitElement_faces_context_factory(nodeElement);
0685:                        }
0686:                        if (nodeElement.getTagName()
0687:                                .equals("lifecycle-factory")) {
0688:                            visitElement_lifecycle_factory(nodeElement);
0689:                        }
0690:                        if (nodeElement.getTagName().equals(
0691:                                "render-kit-factory")) {
0692:                            visitElement_render_kit_factory(nodeElement);
0693:                        }
0694:                        break;
0695:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
0696:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
0697:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
0698:                        break;
0699:                    }
0700:                }
0701:            }
0702:
0703:            /**
0704:             * Scan through org.w3c.dom.Element named attribute.
0705:             */
0706:            void visitElement_attribute(org.w3c.dom.Element element) { // <attribute>
0707:                // element.getValue();
0708:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
0709:                for (int i = 0; i < attrs.getLength(); i++) {
0710:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
0711:                    if (attr.getName().equals("id")) { // <attribute id="???">
0712:                        // attr.getValue();
0713:                    }
0714:                }
0715:                org.w3c.dom.NodeList nodes = element.getChildNodes();
0716:                for (int i = 0; i < nodes.getLength(); i++) {
0717:                    org.w3c.dom.Node node = nodes.item(i);
0718:                    switch (node.getNodeType()) {
0719:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
0720:                        // ((org.w3c.dom.CDATASection)node).getData();
0721:                        break;
0722:                    case org.w3c.dom.Node.ELEMENT_NODE:
0723:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
0724:                        if (nodeElement.getTagName().equals(
0725:                                "attribute-extension")) {
0726:                            visitElement_attribute_extension(nodeElement);
0727:                        }
0728:                        if (nodeElement.getTagName().equals("icon")) {
0729:                            visitElement_icon(nodeElement);
0730:                        }
0731:                        if (nodeElement.getTagName().equals("attribute-class")) {
0732:                            visitElement_attribute_class(nodeElement);
0733:                        }
0734:                        if (nodeElement.getTagName().equals("attribute-name")) {
0735:                            visitElement_attribute_name(nodeElement);
0736:                        }
0737:                        if (nodeElement.getTagName().equals("default-value")) {
0738:                            visitElement_default_value(nodeElement);
0739:                        }
0740:                        if (nodeElement.getTagName().equals("description")) {
0741:                            visitElement_description(nodeElement);
0742:                        }
0743:                        if (nodeElement.getTagName().equals("display-name")) {
0744:                            visitElement_display_name(nodeElement);
0745:                        }
0746:                        if (nodeElement.getTagName().equals("suggested-value")) {
0747:                            visitElement_suggested_value(nodeElement);
0748:                        }
0749:                        break;
0750:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
0751:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
0752:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
0753:                        break;
0754:                    }
0755:                }
0756:            }
0757:
0758:            /**
0759:             * Scan through org.w3c.dom.Element named attribute-extension.
0760:             */
0761:            void visitElement_attribute_extension(org.w3c.dom.Element element) { // <attribute-extension>
0762:                // element.getValue();
0763:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
0764:                for (int i = 0; i < attrs.getLength(); i++) {
0765:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
0766:                    if (attr.getName().equals("id")) { // <attribute-extension
0767:                        // id="???">
0768:                        // attr.getValue();
0769:                    }
0770:                }
0771:                org.w3c.dom.NodeList nodes = element.getChildNodes();
0772:                for (int i = 0; i < nodes.getLength(); i++) {
0773:                    org.w3c.dom.Node node = nodes.item(i);
0774:                    switch (node.getNodeType()) {
0775:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
0776:                        // ((org.w3c.dom.CDATASection)node).getData();
0777:                        break;
0778:                    case org.w3c.dom.Node.ELEMENT_NODE:
0779:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
0780:                        if (nodeElement.getTagName().equals("faces-config")) {
0781:                            visitElement_faces_config(nodeElement);
0782:                        }
0783:                        if (nodeElement.getTagName().equals("application")) {
0784:                            visitElement_application(nodeElement);
0785:                        }
0786:                        if (nodeElement.getTagName().equals("factory")) {
0787:                            visitElement_factory(nodeElement);
0788:                        }
0789:                        if (nodeElement.getTagName().equals("attribute")) {
0790:                            visitElement_attribute(nodeElement);
0791:                        }
0792:                        if (nodeElement.getTagName().equals(
0793:                                "attribute-extension")) {
0794:                            visitElement_attribute_extension(nodeElement);
0795:                        }
0796:                        if (nodeElement.getTagName().equals("component")) {
0797:                            visitElement_component(nodeElement);
0798:                        }
0799:                        if (nodeElement.getTagName().equals(
0800:                                "component-extension")) {
0801:                            visitElement_component_extension(nodeElement);
0802:                        }
0803:                        if (nodeElement.getTagName().equals("facet")) {
0804:                            visitElement_facet(nodeElement);
0805:                        }
0806:                        if (nodeElement.getTagName().equals("facet-extension")) {
0807:                            visitElement_facet_extension(nodeElement);
0808:                        }
0809:                        if (nodeElement.getTagName().equals("facet-name")) {
0810:                            visitElement_facet_name(nodeElement);
0811:                        }
0812:                        if (nodeElement.getTagName().equals("converter")) {
0813:                            visitElement_converter(nodeElement);
0814:                        }
0815:                        if (nodeElement.getTagName().equals("icon")) {
0816:                            visitElement_icon(nodeElement);
0817:                        }
0818:                        if (nodeElement.getTagName().equals("lifecycle")) {
0819:                            visitElement_lifecycle(nodeElement);
0820:                        }
0821:                        if (nodeElement.getTagName().equals("locale-config")) {
0822:                            visitElement_locale_config(nodeElement);
0823:                        }
0824:                        if (nodeElement.getTagName().equals("managed-bean")) {
0825:                            visitElement_managed_bean(nodeElement);
0826:                        }
0827:                        if (nodeElement.getTagName().equals("managed-property")) {
0828:                            visitElement_managed_property(nodeElement);
0829:                        }
0830:                        if (nodeElement.getTagName().equals("map-entry")) {
0831:                            visitElement_map_entry(nodeElement);
0832:                        }
0833:                        if (nodeElement.getTagName().equals("map-entries")) {
0834:                            visitElement_map_entries(nodeElement);
0835:                        }
0836:                        if (nodeElement.getTagName().equals("message-bundle")) {
0837:                            visitElement_message_bundle(nodeElement);
0838:                        }
0839:                        if (nodeElement.getTagName().equals("navigation-case")) {
0840:                            visitElement_navigation_case(nodeElement);
0841:                        }
0842:                        if (nodeElement.getTagName().equals("navigation-rule")) {
0843:                            visitElement_navigation_rule(nodeElement);
0844:                        }
0845:                        if (nodeElement.getTagName().equals("property")) {
0846:                            visitElement_property(nodeElement);
0847:                        }
0848:                        if (nodeElement.getTagName().equals(
0849:                                "property-extension")) {
0850:                            visitElement_property_extension(nodeElement);
0851:                        }
0852:                        if (nodeElement.getTagName().equals("referenced-bean")) {
0853:                            visitElement_referenced_bean(nodeElement);
0854:                        }
0855:                        if (nodeElement.getTagName().equals("render-kit")) {
0856:                            visitElement_render_kit(nodeElement);
0857:                        }
0858:                        if (nodeElement.getTagName().equals("renderer")) {
0859:                            visitElement_renderer(nodeElement);
0860:                        }
0861:                        if (nodeElement.getTagName().equals(
0862:                                "renderer-extension")) {
0863:                            visitElement_renderer_extension(nodeElement);
0864:                        }
0865:                        if (nodeElement.getTagName().equals("validator")) {
0866:                            visitElement_validator(nodeElement);
0867:                        }
0868:                        if (nodeElement.getTagName().equals("list-entries")) {
0869:                            visitElement_list_entries(nodeElement);
0870:                        }
0871:                        if (nodeElement.getTagName().equals("action-listener")) {
0872:                            visitElement_action_listener(nodeElement);
0873:                        }
0874:                        if (nodeElement.getTagName().equals(
0875:                                "application-factory")) {
0876:                            visitElement_application_factory(nodeElement);
0877:                        }
0878:                        if (nodeElement.getTagName().equals("attribute-class")) {
0879:                            visitElement_attribute_class(nodeElement);
0880:                        }
0881:                        if (nodeElement.getTagName().equals("attribute-name")) {
0882:                            visitElement_attribute_name(nodeElement);
0883:                        }
0884:                        if (nodeElement.getTagName().equals("component-class")) {
0885:                            visitElement_component_class(nodeElement);
0886:                        }
0887:                        if (nodeElement.getTagName().equals("component-family")) {
0888:                            visitElement_component_family(nodeElement);
0889:                        }
0890:                        if (nodeElement.getTagName().equals("component-type")) {
0891:                            visitElement_component_type(nodeElement);
0892:                        }
0893:                        if (nodeElement.getTagName().equals("converter-class")) {
0894:                            visitElement_converter_class(nodeElement);
0895:                        }
0896:                        if (nodeElement.getTagName().equals(
0897:                                "converter-for-class")) {
0898:                            visitElement_converter_for_class(nodeElement);
0899:                        }
0900:                        if (nodeElement.getTagName().equals("converter-id")) {
0901:                            visitElement_converter_id(nodeElement);
0902:                        }
0903:                        if (nodeElement.getTagName().equals(
0904:                                "default-render-kit-id")) {
0905:                            visitElement_default_render_kit_id(nodeElement);
0906:                        }
0907:                        if (nodeElement.getTagName().equals("default-locale")) {
0908:                            visitElement_default_locale(nodeElement);
0909:                        }
0910:                        if (nodeElement.getTagName().equals("default-value")) {
0911:                            visitElement_default_value(nodeElement);
0912:                        }
0913:                        if (nodeElement.getTagName().equals("description")) {
0914:                            visitElement_description(nodeElement);
0915:                        }
0916:                        if (nodeElement.getTagName().equals("display-name")) {
0917:                            visitElement_display_name(nodeElement);
0918:                        }
0919:                        if (nodeElement.getTagName().equals(
0920:                                "faces-context-factory")) {
0921:                            visitElement_faces_context_factory(nodeElement);
0922:                        }
0923:                        if (nodeElement.getTagName().equals("from-action")) {
0924:                            visitElement_from_action(nodeElement);
0925:                        }
0926:                        if (nodeElement.getTagName().equals("from-outcome")) {
0927:                            visitElement_from_outcome(nodeElement);
0928:                        }
0929:                        if (nodeElement.getTagName().equals("from-view-id")) {
0930:                            visitElement_from_view_id(nodeElement);
0931:                        }
0932:                        if (nodeElement.getTagName().equals("key")) {
0933:                            visitElement_key(nodeElement);
0934:                        }
0935:                        if (nodeElement.getTagName().equals("key-class")) {
0936:                            visitElement_key_class(nodeElement);
0937:                        }
0938:                        if (nodeElement.getTagName().equals("large-icon")) {
0939:                            visitElement_large_icon(nodeElement);
0940:                        }
0941:                        if (nodeElement.getTagName()
0942:                                .equals("lifecycle-factory")) {
0943:                            visitElement_lifecycle_factory(nodeElement);
0944:                        }
0945:                        if (nodeElement.getTagName().equals(
0946:                                "managed-bean-class")) {
0947:                            visitElement_managed_bean_class(nodeElement);
0948:                        }
0949:                        if (nodeElement.getTagName()
0950:                                .equals("managed-bean-name")) {
0951:                            visitElement_managed_bean_name(nodeElement);
0952:                        }
0953:                        if (nodeElement.getTagName().equals(
0954:                                "managed-bean-scope")) {
0955:                            visitElement_managed_bean_scope(nodeElement);
0956:                        }
0957:                        if (nodeElement.getTagName().equals(
0958:                                "navigation-handler")) {
0959:                            visitElement_navigation_handler(nodeElement);
0960:                        }
0961:                        if (nodeElement.getTagName().equals("phase-listener")) {
0962:                            visitElement_phase_listener(nodeElement);
0963:                        }
0964:                        if (nodeElement.getTagName().equals("redirect")) {
0965:                            visitElement_redirect(nodeElement);
0966:                        }
0967:                        if (nodeElement.getTagName().equals("suggested-value")) {
0968:                            visitElement_suggested_value(nodeElement);
0969:                        }
0970:                        if (nodeElement.getTagName().equals("view-handler")) {
0971:                            visitElement_view_handler(nodeElement);
0972:                        }
0973:                        if (nodeElement.getTagName().equals("state-manager")) {
0974:                            visitElement_state_manager(nodeElement);
0975:                        }
0976:                        if (nodeElement.getTagName().equals("null-value")) {
0977:                            visitElement_null_value(nodeElement);
0978:                        }
0979:                        if (nodeElement.getTagName().equals("property-class")) {
0980:                            visitElement_property_class(nodeElement);
0981:                        }
0982:                        if (nodeElement.getTagName().equals("property-name")) {
0983:                            visitElement_property_name(nodeElement);
0984:                        }
0985:                        if (nodeElement.getTagName()
0986:                                .equals("property-resolver")) {
0987:                            visitElement_property_resolver(nodeElement);
0988:                        }
0989:                        if (nodeElement.getTagName().equals(
0990:                                "referenced-bean-class")) {
0991:                            visitElement_referenced_bean_class(nodeElement);
0992:                        }
0993:                        if (nodeElement.getTagName().equals(
0994:                                "referenced-bean-name")) {
0995:                            visitElement_referenced_bean_name(nodeElement);
0996:                        }
0997:                        if (nodeElement.getTagName().equals("render-kit-id")) {
0998:                            visitElement_render_kit_id(nodeElement);
0999:                        }
1000:                        if (nodeElement.getTagName().equals("render-kit-class")) {
1001:                            visitElement_render_kit_class(nodeElement);
1002:                        }
1003:                        if (nodeElement.getTagName().equals("renderer-class")) {
1004:                            visitElement_renderer_class(nodeElement);
1005:                        }
1006:                        if (nodeElement.getTagName().equals(
1007:                                "render-kit-factory")) {
1008:                            visitElement_render_kit_factory(nodeElement);
1009:                        }
1010:                        if (nodeElement.getTagName().equals("renderer-type")) {
1011:                            visitElement_renderer_type(nodeElement);
1012:                        }
1013:                        if (nodeElement.getTagName().equals("small-icon")) {
1014:                            visitElement_small_icon(nodeElement);
1015:                        }
1016:                        if (nodeElement.getTagName().equals("supported-locale")) {
1017:                            visitElement_supported_locale(nodeElement);
1018:                        }
1019:                        if (nodeElement.getTagName().equals("to-view-id")) {
1020:                            visitElement_to_view_id(nodeElement);
1021:                        }
1022:                        if (nodeElement.getTagName().equals("validator-class")) {
1023:                            visitElement_validator_class(nodeElement);
1024:                        }
1025:                        if (nodeElement.getTagName().equals("validator-id")) {
1026:                            visitElement_validator_id(nodeElement);
1027:                        }
1028:                        if (nodeElement.getTagName().equals("value")) {
1029:                            visitElement_value(nodeElement);
1030:                        }
1031:                        if (nodeElement.getTagName().equals("value-class")) {
1032:                            visitElement_value_class(nodeElement);
1033:                        }
1034:                        if (nodeElement.getTagName()
1035:                                .equals("variable-resolver")) {
1036:                            visitElement_variable_resolver(nodeElement);
1037:                        }
1038:                        break;
1039:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
1040:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
1041:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
1042:                        break;
1043:                    case org.w3c.dom.Node.TEXT_NODE:
1044:                        // ((org.w3c.dom.Text)node).getData();
1045:                        break;
1046:                    }
1047:                }
1048:            }
1049:
1050:            /**
1051:             * Scan through org.w3c.dom.Element named component.
1052:             */
1053:            void visitElement_component(org.w3c.dom.Element element) { // <component>
1054:                // element.getValue();
1055:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
1056:                for (int i = 0; i < attrs.getLength(); i++) {
1057:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
1058:                    if (attr.getName().equals("id")) { // <component id="???">
1059:                        // attr.getValue();
1060:                    }
1061:                }
1062:                org.w3c.dom.NodeList nodes = element.getChildNodes();
1063:                for (int i = 0; i < nodes.getLength(); i++) {
1064:                    org.w3c.dom.Node node = nodes.item(i);
1065:                    switch (node.getNodeType()) {
1066:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
1067:                        // ((org.w3c.dom.CDATASection)node).getData();
1068:                        break;
1069:                    case org.w3c.dom.Node.ELEMENT_NODE:
1070:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
1071:                        if (nodeElement.getTagName().equals("attribute")) {
1072:                            visitElement_attribute(nodeElement);
1073:                        }
1074:                        if (nodeElement.getTagName().equals(
1075:                                "component-extension")) {
1076:                            visitElement_component_extension(nodeElement);
1077:                        }
1078:                        if (nodeElement.getTagName().equals("facet")) {
1079:                            visitElement_facet(nodeElement);
1080:                        }
1081:                        if (nodeElement.getTagName().equals("icon")) {
1082:                            visitElement_icon(nodeElement);
1083:                        }
1084:                        if (nodeElement.getTagName().equals("property")) {
1085:                            visitElement_property(nodeElement);
1086:                        }
1087:                        if (nodeElement.getTagName().equals("component-class")) {
1088:                            visitElement_component_class(nodeElement);
1089:                        }
1090:                        if (nodeElement.getTagName().equals("component-type")) {
1091:                            visitElement_component_type(nodeElement);
1092:                        }
1093:                        if (nodeElement.getTagName().equals("description")) {
1094:                            visitElement_description(nodeElement);
1095:                        }
1096:                        if (nodeElement.getTagName().equals("display-name")) {
1097:                            visitElement_display_name(nodeElement);
1098:                        }
1099:                        break;
1100:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
1101:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
1102:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
1103:                        break;
1104:                    }
1105:                }
1106:            }
1107:
1108:            /**
1109:             * Scan through org.w3c.dom.Element named component-extension.
1110:             */
1111:            void visitElement_component_extension(org.w3c.dom.Element element) { // <component-extension>
1112:                // element.getValue();
1113:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
1114:                for (int i = 0; i < attrs.getLength(); i++) {
1115:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
1116:                    if (attr.getName().equals("id")) { // <component-extension
1117:                        // id="???">
1118:                        // attr.getValue();
1119:                    }
1120:                }
1121:                org.w3c.dom.NodeList nodes = element.getChildNodes();
1122:                for (int i = 0; i < nodes.getLength(); i++) {
1123:                    org.w3c.dom.Node node = nodes.item(i);
1124:                    switch (node.getNodeType()) {
1125:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
1126:                        // ((org.w3c.dom.CDATASection)node).getData();
1127:                        break;
1128:                    case org.w3c.dom.Node.ELEMENT_NODE:
1129:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
1130:                        if (nodeElement.getTagName().equals("faces-config")) {
1131:                            visitElement_faces_config(nodeElement);
1132:                        }
1133:                        if (nodeElement.getTagName().equals("application")) {
1134:                            visitElement_application(nodeElement);
1135:                        }
1136:                        if (nodeElement.getTagName().equals("factory")) {
1137:                            visitElement_factory(nodeElement);
1138:                        }
1139:                        if (nodeElement.getTagName().equals("attribute")) {
1140:                            visitElement_attribute(nodeElement);
1141:                        }
1142:                        if (nodeElement.getTagName().equals(
1143:                                "attribute-extension")) {
1144:                            visitElement_attribute_extension(nodeElement);
1145:                        }
1146:                        if (nodeElement.getTagName().equals("component")) {
1147:                            visitElement_component(nodeElement);
1148:                        }
1149:                        if (nodeElement.getTagName().equals(
1150:                                "component-extension")) {
1151:                            visitElement_component_extension(nodeElement);
1152:                        }
1153:                        if (nodeElement.getTagName().equals("facet")) {
1154:                            visitElement_facet(nodeElement);
1155:                        }
1156:                        if (nodeElement.getTagName().equals("facet-extension")) {
1157:                            visitElement_facet_extension(nodeElement);
1158:                        }
1159:                        if (nodeElement.getTagName().equals("facet-name")) {
1160:                            visitElement_facet_name(nodeElement);
1161:                        }
1162:                        if (nodeElement.getTagName().equals("converter")) {
1163:                            visitElement_converter(nodeElement);
1164:                        }
1165:                        if (nodeElement.getTagName().equals("icon")) {
1166:                            visitElement_icon(nodeElement);
1167:                        }
1168:                        if (nodeElement.getTagName().equals("lifecycle")) {
1169:                            visitElement_lifecycle(nodeElement);
1170:                        }
1171:                        if (nodeElement.getTagName().equals("locale-config")) {
1172:                            visitElement_locale_config(nodeElement);
1173:                        }
1174:                        if (nodeElement.getTagName().equals("managed-bean")) {
1175:                            visitElement_managed_bean(nodeElement);
1176:                        }
1177:                        if (nodeElement.getTagName().equals("managed-property")) {
1178:                            visitElement_managed_property(nodeElement);
1179:                        }
1180:                        if (nodeElement.getTagName().equals("map-entry")) {
1181:                            visitElement_map_entry(nodeElement);
1182:                        }
1183:                        if (nodeElement.getTagName().equals("map-entries")) {
1184:                            visitElement_map_entries(nodeElement);
1185:                        }
1186:                        if (nodeElement.getTagName().equals("message-bundle")) {
1187:                            visitElement_message_bundle(nodeElement);
1188:                        }
1189:                        if (nodeElement.getTagName().equals("navigation-case")) {
1190:                            visitElement_navigation_case(nodeElement);
1191:                        }
1192:                        if (nodeElement.getTagName().equals("navigation-rule")) {
1193:                            visitElement_navigation_rule(nodeElement);
1194:                        }
1195:                        if (nodeElement.getTagName().equals("property")) {
1196:                            visitElement_property(nodeElement);
1197:                        }
1198:                        if (nodeElement.getTagName().equals(
1199:                                "property-extension")) {
1200:                            visitElement_property_extension(nodeElement);
1201:                        }
1202:                        if (nodeElement.getTagName().equals("referenced-bean")) {
1203:                            visitElement_referenced_bean(nodeElement);
1204:                        }
1205:                        if (nodeElement.getTagName().equals("render-kit")) {
1206:                            visitElement_render_kit(nodeElement);
1207:                        }
1208:                        if (nodeElement.getTagName().equals("renderer")) {
1209:                            visitElement_renderer(nodeElement);
1210:                        }
1211:                        if (nodeElement.getTagName().equals(
1212:                                "renderer-extension")) {
1213:                            visitElement_renderer_extension(nodeElement);
1214:                        }
1215:                        if (nodeElement.getTagName().equals("validator")) {
1216:                            visitElement_validator(nodeElement);
1217:                        }
1218:                        if (nodeElement.getTagName().equals("list-entries")) {
1219:                            visitElement_list_entries(nodeElement);
1220:                        }
1221:                        if (nodeElement.getTagName().equals("action-listener")) {
1222:                            visitElement_action_listener(nodeElement);
1223:                        }
1224:                        if (nodeElement.getTagName().equals(
1225:                                "application-factory")) {
1226:                            visitElement_application_factory(nodeElement);
1227:                        }
1228:                        if (nodeElement.getTagName().equals("attribute-class")) {
1229:                            visitElement_attribute_class(nodeElement);
1230:                        }
1231:                        if (nodeElement.getTagName().equals("attribute-name")) {
1232:                            visitElement_attribute_name(nodeElement);
1233:                        }
1234:                        if (nodeElement.getTagName().equals("component-class")) {
1235:                            visitElement_component_class(nodeElement);
1236:                        }
1237:                        if (nodeElement.getTagName().equals("component-family")) {
1238:                            visitElement_component_family(nodeElement);
1239:                        }
1240:                        if (nodeElement.getTagName().equals("component-type")) {
1241:                            visitElement_component_type(nodeElement);
1242:                        }
1243:                        if (nodeElement.getTagName().equals("converter-class")) {
1244:                            visitElement_converter_class(nodeElement);
1245:                        }
1246:                        if (nodeElement.getTagName().equals(
1247:                                "converter-for-class")) {
1248:                            visitElement_converter_for_class(nodeElement);
1249:                        }
1250:                        if (nodeElement.getTagName().equals("converter-id")) {
1251:                            visitElement_converter_id(nodeElement);
1252:                        }
1253:                        if (nodeElement.getTagName().equals(
1254:                                "default-render-kit-id")) {
1255:                            visitElement_default_render_kit_id(nodeElement);
1256:                        }
1257:                        if (nodeElement.getTagName().equals("default-locale")) {
1258:                            visitElement_default_locale(nodeElement);
1259:                        }
1260:                        if (nodeElement.getTagName().equals("default-value")) {
1261:                            visitElement_default_value(nodeElement);
1262:                        }
1263:                        if (nodeElement.getTagName().equals("description")) {
1264:                            visitElement_description(nodeElement);
1265:                        }
1266:                        if (nodeElement.getTagName().equals("display-name")) {
1267:                            visitElement_display_name(nodeElement);
1268:                        }
1269:                        if (nodeElement.getTagName().equals(
1270:                                "faces-context-factory")) {
1271:                            visitElement_faces_context_factory(nodeElement);
1272:                        }
1273:                        if (nodeElement.getTagName().equals("from-action")) {
1274:                            visitElement_from_action(nodeElement);
1275:                        }
1276:                        if (nodeElement.getTagName().equals("from-outcome")) {
1277:                            visitElement_from_outcome(nodeElement);
1278:                        }
1279:                        if (nodeElement.getTagName().equals("from-view-id")) {
1280:                            visitElement_from_view_id(nodeElement);
1281:                        }
1282:                        if (nodeElement.getTagName().equals("key")) {
1283:                            visitElement_key(nodeElement);
1284:                        }
1285:                        if (nodeElement.getTagName().equals("key-class")) {
1286:                            visitElement_key_class(nodeElement);
1287:                        }
1288:                        if (nodeElement.getTagName().equals("large-icon")) {
1289:                            visitElement_large_icon(nodeElement);
1290:                        }
1291:                        if (nodeElement.getTagName()
1292:                                .equals("lifecycle-factory")) {
1293:                            visitElement_lifecycle_factory(nodeElement);
1294:                        }
1295:                        if (nodeElement.getTagName().equals(
1296:                                "managed-bean-class")) {
1297:                            visitElement_managed_bean_class(nodeElement);
1298:                        }
1299:                        if (nodeElement.getTagName()
1300:                                .equals("managed-bean-name")) {
1301:                            visitElement_managed_bean_name(nodeElement);
1302:                        }
1303:                        if (nodeElement.getTagName().equals(
1304:                                "managed-bean-scope")) {
1305:                            visitElement_managed_bean_scope(nodeElement);
1306:                        }
1307:                        if (nodeElement.getTagName().equals(
1308:                                "navigation-handler")) {
1309:                            visitElement_navigation_handler(nodeElement);
1310:                        }
1311:                        if (nodeElement.getTagName().equals("phase-listener")) {
1312:                            visitElement_phase_listener(nodeElement);
1313:                        }
1314:                        if (nodeElement.getTagName().equals("redirect")) {
1315:                            visitElement_redirect(nodeElement);
1316:                        }
1317:                        if (nodeElement.getTagName().equals("suggested-value")) {
1318:                            visitElement_suggested_value(nodeElement);
1319:                        }
1320:                        if (nodeElement.getTagName().equals("view-handler")) {
1321:                            visitElement_view_handler(nodeElement);
1322:                        }
1323:                        if (nodeElement.getTagName().equals("state-manager")) {
1324:                            visitElement_state_manager(nodeElement);
1325:                        }
1326:                        if (nodeElement.getTagName().equals("null-value")) {
1327:                            visitElement_null_value(nodeElement);
1328:                        }
1329:                        if (nodeElement.getTagName().equals("property-class")) {
1330:                            visitElement_property_class(nodeElement);
1331:                        }
1332:                        if (nodeElement.getTagName().equals("property-name")) {
1333:                            visitElement_property_name(nodeElement);
1334:                        }
1335:                        if (nodeElement.getTagName()
1336:                                .equals("property-resolver")) {
1337:                            visitElement_property_resolver(nodeElement);
1338:                        }
1339:                        if (nodeElement.getTagName().equals(
1340:                                "referenced-bean-class")) {
1341:                            visitElement_referenced_bean_class(nodeElement);
1342:                        }
1343:                        if (nodeElement.getTagName().equals(
1344:                                "referenced-bean-name")) {
1345:                            visitElement_referenced_bean_name(nodeElement);
1346:                        }
1347:                        if (nodeElement.getTagName().equals("render-kit-id")) {
1348:                            visitElement_render_kit_id(nodeElement);
1349:                        }
1350:                        if (nodeElement.getTagName().equals("render-kit-class")) {
1351:                            visitElement_render_kit_class(nodeElement);
1352:                        }
1353:                        if (nodeElement.getTagName().equals("renderer-class")) {
1354:                            visitElement_renderer_class(nodeElement);
1355:                        }
1356:                        if (nodeElement.getTagName().equals(
1357:                                "render-kit-factory")) {
1358:                            visitElement_render_kit_factory(nodeElement);
1359:                        }
1360:                        if (nodeElement.getTagName().equals("renderer-type")) {
1361:                            visitElement_renderer_type(nodeElement);
1362:                        }
1363:                        if (nodeElement.getTagName().equals("small-icon")) {
1364:                            visitElement_small_icon(nodeElement);
1365:                        }
1366:                        if (nodeElement.getTagName().equals("supported-locale")) {
1367:                            visitElement_supported_locale(nodeElement);
1368:                        }
1369:                        if (nodeElement.getTagName().equals("to-view-id")) {
1370:                            visitElement_to_view_id(nodeElement);
1371:                        }
1372:                        if (nodeElement.getTagName().equals("validator-class")) {
1373:                            visitElement_validator_class(nodeElement);
1374:                        }
1375:                        if (nodeElement.getTagName().equals("validator-id")) {
1376:                            visitElement_validator_id(nodeElement);
1377:                        }
1378:                        if (nodeElement.getTagName().equals("value")) {
1379:                            visitElement_value(nodeElement);
1380:                        }
1381:                        if (nodeElement.getTagName().equals("value-class")) {
1382:                            visitElement_value_class(nodeElement);
1383:                        }
1384:                        if (nodeElement.getTagName()
1385:                                .equals("variable-resolver")) {
1386:                            visitElement_variable_resolver(nodeElement);
1387:                        }
1388:                        break;
1389:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
1390:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
1391:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
1392:                        break;
1393:                    case org.w3c.dom.Node.TEXT_NODE:
1394:                        // ((org.w3c.dom.Text)node).getData();
1395:                        break;
1396:                    }
1397:                }
1398:            }
1399:
1400:            /**
1401:             * Scan through org.w3c.dom.Element named facet.
1402:             */
1403:            void visitElement_facet(org.w3c.dom.Element element) { // <facet>
1404:                // element.getValue();
1405:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
1406:                for (int i = 0; i < attrs.getLength(); i++) {
1407:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
1408:                    if (attr.getName().equals("id")) { // <facet id="???">
1409:                        // attr.getValue();
1410:                    }
1411:                }
1412:                org.w3c.dom.NodeList nodes = element.getChildNodes();
1413:                for (int i = 0; i < nodes.getLength(); i++) {
1414:                    org.w3c.dom.Node node = nodes.item(i);
1415:                    switch (node.getNodeType()) {
1416:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
1417:                        // ((org.w3c.dom.CDATASection)node).getData();
1418:                        break;
1419:                    case org.w3c.dom.Node.ELEMENT_NODE:
1420:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
1421:                        if (nodeElement.getTagName().equals("facet-extension")) {
1422:                            visitElement_facet_extension(nodeElement);
1423:                        }
1424:                        if (nodeElement.getTagName().equals("facet-name")) {
1425:                            visitElement_facet_name(nodeElement);
1426:                        }
1427:                        if (nodeElement.getTagName().equals("icon")) {
1428:                            visitElement_icon(nodeElement);
1429:                        }
1430:                        if (nodeElement.getTagName().equals("description")) {
1431:                            visitElement_description(nodeElement);
1432:                        }
1433:                        if (nodeElement.getTagName().equals("display-name")) {
1434:                            visitElement_display_name(nodeElement);
1435:                        }
1436:                        break;
1437:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
1438:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
1439:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
1440:                        break;
1441:                    }
1442:                }
1443:            }
1444:
1445:            /**
1446:             * Scan through org.w3c.dom.Element named facet-extension.
1447:             */
1448:            void visitElement_facet_extension(org.w3c.dom.Element element) { // <facet-extension>
1449:                // element.getValue();
1450:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
1451:                for (int i = 0; i < attrs.getLength(); i++) {
1452:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
1453:                    if (attr.getName().equals("id")) { // <facet-extension id="???">
1454:                        // attr.getValue();
1455:                    }
1456:                }
1457:                org.w3c.dom.NodeList nodes = element.getChildNodes();
1458:                for (int i = 0; i < nodes.getLength(); i++) {
1459:                    org.w3c.dom.Node node = nodes.item(i);
1460:                    switch (node.getNodeType()) {
1461:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
1462:                        // ((org.w3c.dom.CDATASection)node).getData();
1463:                        break;
1464:                    case org.w3c.dom.Node.ELEMENT_NODE:
1465:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
1466:                        if (nodeElement.getTagName().equals("faces-config")) {
1467:                            visitElement_faces_config(nodeElement);
1468:                        }
1469:                        if (nodeElement.getTagName().equals("application")) {
1470:                            visitElement_application(nodeElement);
1471:                        }
1472:                        if (nodeElement.getTagName().equals("factory")) {
1473:                            visitElement_factory(nodeElement);
1474:                        }
1475:                        if (nodeElement.getTagName().equals("attribute")) {
1476:                            visitElement_attribute(nodeElement);
1477:                        }
1478:                        if (nodeElement.getTagName().equals(
1479:                                "attribute-extension")) {
1480:                            visitElement_attribute_extension(nodeElement);
1481:                        }
1482:                        if (nodeElement.getTagName().equals("component")) {
1483:                            visitElement_component(nodeElement);
1484:                        }
1485:                        if (nodeElement.getTagName().equals(
1486:                                "component-extension")) {
1487:                            visitElement_component_extension(nodeElement);
1488:                        }
1489:                        if (nodeElement.getTagName().equals("facet")) {
1490:                            visitElement_facet(nodeElement);
1491:                        }
1492:                        if (nodeElement.getTagName().equals("facet-extension")) {
1493:                            visitElement_facet_extension(nodeElement);
1494:                        }
1495:                        if (nodeElement.getTagName().equals("facet-name")) {
1496:                            visitElement_facet_name(nodeElement);
1497:                        }
1498:                        if (nodeElement.getTagName().equals("converter")) {
1499:                            visitElement_converter(nodeElement);
1500:                        }
1501:                        if (nodeElement.getTagName().equals("icon")) {
1502:                            visitElement_icon(nodeElement);
1503:                        }
1504:                        if (nodeElement.getTagName().equals("lifecycle")) {
1505:                            visitElement_lifecycle(nodeElement);
1506:                        }
1507:                        if (nodeElement.getTagName().equals("locale-config")) {
1508:                            visitElement_locale_config(nodeElement);
1509:                        }
1510:                        if (nodeElement.getTagName().equals("managed-bean")) {
1511:                            visitElement_managed_bean(nodeElement);
1512:                        }
1513:                        if (nodeElement.getTagName().equals("managed-property")) {
1514:                            visitElement_managed_property(nodeElement);
1515:                        }
1516:                        if (nodeElement.getTagName().equals("map-entry")) {
1517:                            visitElement_map_entry(nodeElement);
1518:                        }
1519:                        if (nodeElement.getTagName().equals("map-entries")) {
1520:                            visitElement_map_entries(nodeElement);
1521:                        }
1522:                        if (nodeElement.getTagName().equals("message-bundle")) {
1523:                            visitElement_message_bundle(nodeElement);
1524:                        }
1525:                        if (nodeElement.getTagName().equals("navigation-case")) {
1526:                            visitElement_navigation_case(nodeElement);
1527:                        }
1528:                        if (nodeElement.getTagName().equals("navigation-rule")) {
1529:                            visitElement_navigation_rule(nodeElement);
1530:                        }
1531:                        if (nodeElement.getTagName().equals("property")) {
1532:                            visitElement_property(nodeElement);
1533:                        }
1534:                        if (nodeElement.getTagName().equals(
1535:                                "property-extension")) {
1536:                            visitElement_property_extension(nodeElement);
1537:                        }
1538:                        if (nodeElement.getTagName().equals("referenced-bean")) {
1539:                            visitElement_referenced_bean(nodeElement);
1540:                        }
1541:                        if (nodeElement.getTagName().equals("render-kit")) {
1542:                            visitElement_render_kit(nodeElement);
1543:                        }
1544:                        if (nodeElement.getTagName().equals("renderer")) {
1545:                            visitElement_renderer(nodeElement);
1546:                        }
1547:                        if (nodeElement.getTagName().equals(
1548:                                "renderer-extension")) {
1549:                            visitElement_renderer_extension(nodeElement);
1550:                        }
1551:                        if (nodeElement.getTagName().equals("validator")) {
1552:                            visitElement_validator(nodeElement);
1553:                        }
1554:                        if (nodeElement.getTagName().equals("list-entries")) {
1555:                            visitElement_list_entries(nodeElement);
1556:                        }
1557:                        if (nodeElement.getTagName().equals("action-listener")) {
1558:                            visitElement_action_listener(nodeElement);
1559:                        }
1560:                        if (nodeElement.getTagName().equals(
1561:                                "application-factory")) {
1562:                            visitElement_application_factory(nodeElement);
1563:                        }
1564:                        if (nodeElement.getTagName().equals("attribute-class")) {
1565:                            visitElement_attribute_class(nodeElement);
1566:                        }
1567:                        if (nodeElement.getTagName().equals("attribute-name")) {
1568:                            visitElement_attribute_name(nodeElement);
1569:                        }
1570:                        if (nodeElement.getTagName().equals("component-class")) {
1571:                            visitElement_component_class(nodeElement);
1572:                        }
1573:                        if (nodeElement.getTagName().equals("component-family")) {
1574:                            visitElement_component_family(nodeElement);
1575:                        }
1576:                        if (nodeElement.getTagName().equals("component-type")) {
1577:                            visitElement_component_type(nodeElement);
1578:                        }
1579:                        if (nodeElement.getTagName().equals("converter-class")) {
1580:                            visitElement_converter_class(nodeElement);
1581:                        }
1582:                        if (nodeElement.getTagName().equals(
1583:                                "converter-for-class")) {
1584:                            visitElement_converter_for_class(nodeElement);
1585:                        }
1586:                        if (nodeElement.getTagName().equals("converter-id")) {
1587:                            visitElement_converter_id(nodeElement);
1588:                        }
1589:                        if (nodeElement.getTagName().equals(
1590:                                "default-render-kit-id")) {
1591:                            visitElement_default_render_kit_id(nodeElement);
1592:                        }
1593:                        if (nodeElement.getTagName().equals("default-locale")) {
1594:                            visitElement_default_locale(nodeElement);
1595:                        }
1596:                        if (nodeElement.getTagName().equals("default-value")) {
1597:                            visitElement_default_value(nodeElement);
1598:                        }
1599:                        if (nodeElement.getTagName().equals("description")) {
1600:                            visitElement_description(nodeElement);
1601:                        }
1602:                        if (nodeElement.getTagName().equals("display-name")) {
1603:                            visitElement_display_name(nodeElement);
1604:                        }
1605:                        if (nodeElement.getTagName().equals(
1606:                                "faces-context-factory")) {
1607:                            visitElement_faces_context_factory(nodeElement);
1608:                        }
1609:                        if (nodeElement.getTagName().equals("from-action")) {
1610:                            visitElement_from_action(nodeElement);
1611:                        }
1612:                        if (nodeElement.getTagName().equals("from-outcome")) {
1613:                            visitElement_from_outcome(nodeElement);
1614:                        }
1615:                        if (nodeElement.getTagName().equals("from-view-id")) {
1616:                            visitElement_from_view_id(nodeElement);
1617:                        }
1618:                        if (nodeElement.getTagName().equals("key")) {
1619:                            visitElement_key(nodeElement);
1620:                        }
1621:                        if (nodeElement.getTagName().equals("key-class")) {
1622:                            visitElement_key_class(nodeElement);
1623:                        }
1624:                        if (nodeElement.getTagName().equals("large-icon")) {
1625:                            visitElement_large_icon(nodeElement);
1626:                        }
1627:                        if (nodeElement.getTagName()
1628:                                .equals("lifecycle-factory")) {
1629:                            visitElement_lifecycle_factory(nodeElement);
1630:                        }
1631:                        if (nodeElement.getTagName().equals(
1632:                                "managed-bean-class")) {
1633:                            visitElement_managed_bean_class(nodeElement);
1634:                        }
1635:                        if (nodeElement.getTagName()
1636:                                .equals("managed-bean-name")) {
1637:                            visitElement_managed_bean_name(nodeElement);
1638:                        }
1639:                        if (nodeElement.getTagName().equals(
1640:                                "managed-bean-scope")) {
1641:                            visitElement_managed_bean_scope(nodeElement);
1642:                        }
1643:                        if (nodeElement.getTagName().equals(
1644:                                "navigation-handler")) {
1645:                            visitElement_navigation_handler(nodeElement);
1646:                        }
1647:                        if (nodeElement.getTagName().equals("phase-listener")) {
1648:                            visitElement_phase_listener(nodeElement);
1649:                        }
1650:                        if (nodeElement.getTagName().equals("redirect")) {
1651:                            visitElement_redirect(nodeElement);
1652:                        }
1653:                        if (nodeElement.getTagName().equals("suggested-value")) {
1654:                            visitElement_suggested_value(nodeElement);
1655:                        }
1656:                        if (nodeElement.getTagName().equals("view-handler")) {
1657:                            visitElement_view_handler(nodeElement);
1658:                        }
1659:                        if (nodeElement.getTagName().equals("state-manager")) {
1660:                            visitElement_state_manager(nodeElement);
1661:                        }
1662:                        if (nodeElement.getTagName().equals("null-value")) {
1663:                            visitElement_null_value(nodeElement);
1664:                        }
1665:                        if (nodeElement.getTagName().equals("property-class")) {
1666:                            visitElement_property_class(nodeElement);
1667:                        }
1668:                        if (nodeElement.getTagName().equals("property-name")) {
1669:                            visitElement_property_name(nodeElement);
1670:                        }
1671:                        if (nodeElement.getTagName()
1672:                                .equals("property-resolver")) {
1673:                            visitElement_property_resolver(nodeElement);
1674:                        }
1675:                        if (nodeElement.getTagName().equals(
1676:                                "referenced-bean-class")) {
1677:                            visitElement_referenced_bean_class(nodeElement);
1678:                        }
1679:                        if (nodeElement.getTagName().equals(
1680:                                "referenced-bean-name")) {
1681:                            visitElement_referenced_bean_name(nodeElement);
1682:                        }
1683:                        if (nodeElement.getTagName().equals("render-kit-id")) {
1684:                            visitElement_render_kit_id(nodeElement);
1685:                        }
1686:                        if (nodeElement.getTagName().equals("render-kit-class")) {
1687:                            visitElement_render_kit_class(nodeElement);
1688:                        }
1689:                        if (nodeElement.getTagName().equals("renderer-class")) {
1690:                            visitElement_renderer_class(nodeElement);
1691:                        }
1692:                        if (nodeElement.getTagName().equals(
1693:                                "render-kit-factory")) {
1694:                            visitElement_render_kit_factory(nodeElement);
1695:                        }
1696:                        if (nodeElement.getTagName().equals("renderer-type")) {
1697:                            visitElement_renderer_type(nodeElement);
1698:                        }
1699:                        if (nodeElement.getTagName().equals("small-icon")) {
1700:                            visitElement_small_icon(nodeElement);
1701:                        }
1702:                        if (nodeElement.getTagName().equals("supported-locale")) {
1703:                            visitElement_supported_locale(nodeElement);
1704:                        }
1705:                        if (nodeElement.getTagName().equals("to-view-id")) {
1706:                            visitElement_to_view_id(nodeElement);
1707:                        }
1708:                        if (nodeElement.getTagName().equals("validator-class")) {
1709:                            visitElement_validator_class(nodeElement);
1710:                        }
1711:                        if (nodeElement.getTagName().equals("validator-id")) {
1712:                            visitElement_validator_id(nodeElement);
1713:                        }
1714:                        if (nodeElement.getTagName().equals("value")) {
1715:                            visitElement_value(nodeElement);
1716:                        }
1717:                        if (nodeElement.getTagName().equals("value-class")) {
1718:                            visitElement_value_class(nodeElement);
1719:                        }
1720:                        if (nodeElement.getTagName()
1721:                                .equals("variable-resolver")) {
1722:                            visitElement_variable_resolver(nodeElement);
1723:                        }
1724:                        break;
1725:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
1726:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
1727:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
1728:                        break;
1729:                    case org.w3c.dom.Node.TEXT_NODE:
1730:                        // ((org.w3c.dom.Text)node).getData();
1731:                        break;
1732:                    }
1733:                }
1734:            }
1735:
1736:            /**
1737:             * Scan through org.w3c.dom.Element named facet-name.
1738:             */
1739:            void visitElement_facet_name(org.w3c.dom.Element element) { // <facet-name>
1740:                // element.getValue();
1741:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
1742:                for (int i = 0; i < attrs.getLength(); i++) {
1743:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
1744:                    if (attr.getName().equals("id")) { // <facet-name id="???">
1745:                        // attr.getValue();
1746:                    }
1747:                }
1748:                org.w3c.dom.NodeList nodes = element.getChildNodes();
1749:                for (int i = 0; i < nodes.getLength(); i++) {
1750:                    org.w3c.dom.Node node = nodes.item(i);
1751:                    switch (node.getNodeType()) {
1752:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
1753:                        // ((org.w3c.dom.CDATASection)node).getData();
1754:                        break;
1755:                    case org.w3c.dom.Node.ELEMENT_NODE:
1756:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
1757:                        break;
1758:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
1759:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
1760:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
1761:                        break;
1762:                    case org.w3c.dom.Node.TEXT_NODE:
1763:                        // ((org.w3c.dom.Text)node).getData();
1764:                        break;
1765:                    }
1766:                }
1767:            }
1768:
1769:            /**
1770:             * Scan through org.w3c.dom.Element named converter.
1771:             */
1772:            void visitElement_converter(org.w3c.dom.Element element) { // <converter>
1773:                // element.getValue();
1774:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
1775:                for (int i = 0; i < attrs.getLength(); i++) {
1776:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
1777:                    if (attr.getName().equals("id")) { // <converter id="???">
1778:                        // attr.getValue();
1779:                    }
1780:                }
1781:                org.w3c.dom.NodeList nodes = element.getChildNodes();
1782:                for (int i = 0; i < nodes.getLength(); i++) {
1783:                    org.w3c.dom.Node node = nodes.item(i);
1784:                    switch (node.getNodeType()) {
1785:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
1786:                        // ((org.w3c.dom.CDATASection)node).getData();
1787:                        break;
1788:                    case org.w3c.dom.Node.ELEMENT_NODE:
1789:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
1790:                        if (nodeElement.getTagName().equals("attribute")) {
1791:                            visitElement_attribute(nodeElement);
1792:                        }
1793:                        if (nodeElement.getTagName().equals("icon")) {
1794:                            visitElement_icon(nodeElement);
1795:                        }
1796:                        if (nodeElement.getTagName().equals("property")) {
1797:                            visitElement_property(nodeElement);
1798:                        }
1799:                        if (nodeElement.getTagName().equals("converter-class")) {
1800:                            visitElement_converter_class(nodeElement);
1801:                        }
1802:                        if (nodeElement.getTagName().equals(
1803:                                "converter-for-class")) {
1804:                            visitElement_converter_for_class(nodeElement);
1805:                        }
1806:                        if (nodeElement.getTagName().equals("converter-id")) {
1807:                            visitElement_converter_id(nodeElement);
1808:                        }
1809:                        if (nodeElement.getTagName().equals("description")) {
1810:                            visitElement_description(nodeElement);
1811:                        }
1812:                        if (nodeElement.getTagName().equals("display-name")) {
1813:                            visitElement_display_name(nodeElement);
1814:                        }
1815:                        break;
1816:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
1817:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
1818:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
1819:                        break;
1820:                    }
1821:                }
1822:            }
1823:
1824:            /**
1825:             * Scan through org.w3c.dom.Element named icon.
1826:             */
1827:            void visitElement_icon(org.w3c.dom.Element element) { // <icon>
1828:                // element.getValue();
1829:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
1830:                for (int i = 0; i < attrs.getLength(); i++) {
1831:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
1832:                    if (attr.getName().equals("xml:lang")) { // <icon xml:lang="???">
1833:                        // attr.getValue();
1834:                    }
1835:                    if (attr.getName().equals("id")) { // <icon id="???">
1836:                        // attr.getValue();
1837:                    }
1838:                }
1839:                org.w3c.dom.NodeList nodes = element.getChildNodes();
1840:                for (int i = 0; i < nodes.getLength(); i++) {
1841:                    org.w3c.dom.Node node = nodes.item(i);
1842:                    switch (node.getNodeType()) {
1843:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
1844:                        // ((org.w3c.dom.CDATASection)node).getData();
1845:                        break;
1846:                    case org.w3c.dom.Node.ELEMENT_NODE:
1847:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
1848:                        if (nodeElement.getTagName().equals("large-icon")) {
1849:                            visitElement_large_icon(nodeElement);
1850:                        }
1851:                        if (nodeElement.getTagName().equals("small-icon")) {
1852:                            visitElement_small_icon(nodeElement);
1853:                        }
1854:                        break;
1855:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
1856:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
1857:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
1858:                        break;
1859:                    }
1860:                }
1861:            }
1862:
1863:            /**
1864:             * Scan through org.w3c.dom.Element named lifecycle.
1865:             */
1866:            void visitElement_lifecycle(org.w3c.dom.Element element) { // <lifecycle>
1867:                // element.getValue();
1868:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
1869:                for (int i = 0; i < attrs.getLength(); i++) {
1870:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
1871:                    if (attr.getName().equals("id")) { // <lifecycle id="???">
1872:                        // attr.getValue();
1873:                    }
1874:                }
1875:                org.w3c.dom.NodeList nodes = element.getChildNodes();
1876:                for (int i = 0; i < nodes.getLength(); i++) {
1877:                    org.w3c.dom.Node node = nodes.item(i);
1878:                    switch (node.getNodeType()) {
1879:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
1880:                        // ((org.w3c.dom.CDATASection)node).getData();
1881:                        break;
1882:                    case org.w3c.dom.Node.ELEMENT_NODE:
1883:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
1884:                        if (nodeElement.getTagName().equals("phase-listener")) {
1885:                            visitElement_phase_listener(nodeElement);
1886:                        }
1887:                        break;
1888:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
1889:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
1890:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
1891:                        break;
1892:                    }
1893:                }
1894:            }
1895:
1896:            /**
1897:             * Scan through org.w3c.dom.Element named locale-config.
1898:             */
1899:            void visitElement_locale_config(org.w3c.dom.Element element) { // <locale-config>
1900:                // element.getValue();
1901:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
1902:                for (int i = 0; i < attrs.getLength(); i++) {
1903:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
1904:                    if (attr.getName().equals("id")) { // <locale-config id="???">
1905:                        // attr.getValue();
1906:                    }
1907:                }
1908:                org.w3c.dom.NodeList nodes = element.getChildNodes();
1909:                for (int i = 0; i < nodes.getLength(); i++) {
1910:                    org.w3c.dom.Node node = nodes.item(i);
1911:                    switch (node.getNodeType()) {
1912:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
1913:                        // ((org.w3c.dom.CDATASection)node).getData();
1914:                        break;
1915:                    case org.w3c.dom.Node.ELEMENT_NODE:
1916:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
1917:                        if (nodeElement.getTagName().equals("default-locale")) {
1918:                            visitElement_default_locale(nodeElement);
1919:                        }
1920:                        if (nodeElement.getTagName().equals("supported-locale")) {
1921:                            visitElement_supported_locale(nodeElement);
1922:                        }
1923:                        break;
1924:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
1925:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
1926:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
1927:                        break;
1928:                    }
1929:                }
1930:            }
1931:
1932:            /**
1933:             * Scan through org.w3c.dom.Element named managed-bean.
1934:             */
1935:            void visitElement_managed_bean(org.w3c.dom.Element element) { // <managed-bean>
1936:                // element.getValue();
1937:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
1938:                for (int i = 0; i < attrs.getLength(); i++) {
1939:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
1940:                    if (attr.getName().equals("id")) { // <managed-bean id="???">
1941:                        // attr.getValue();
1942:                    }
1943:                }
1944:                org.w3c.dom.NodeList nodes = element.getChildNodes();
1945:                for (int i = 0; i < nodes.getLength(); i++) {
1946:                    org.w3c.dom.Node node = nodes.item(i);
1947:                    switch (node.getNodeType()) {
1948:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
1949:                        // ((org.w3c.dom.CDATASection)node).getData();
1950:                        break;
1951:                    case org.w3c.dom.Node.ELEMENT_NODE:
1952:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
1953:                        if (nodeElement.getTagName().equals("icon")) {
1954:                            visitElement_icon(nodeElement);
1955:                        }
1956:                        if (nodeElement.getTagName().equals("managed-property")) {
1957:                            visitElement_managed_property(nodeElement);
1958:                        }
1959:                        if (nodeElement.getTagName().equals("map-entries")) {
1960:                            visitElement_map_entries(nodeElement);
1961:                        }
1962:                        if (nodeElement.getTagName().equals("list-entries")) {
1963:                            visitElement_list_entries(nodeElement);
1964:                        }
1965:                        if (nodeElement.getTagName().equals("description")) {
1966:                            visitElement_description(nodeElement);
1967:                        }
1968:                        if (nodeElement.getTagName().equals("display-name")) {
1969:                            visitElement_display_name(nodeElement);
1970:                        }
1971:                        if (nodeElement.getTagName().equals(
1972:                                "managed-bean-class")) {
1973:                            visitElement_managed_bean_class(nodeElement);
1974:                        }
1975:                        if (nodeElement.getTagName()
1976:                                .equals("managed-bean-name")) {
1977:                            visitElement_managed_bean_name(nodeElement);
1978:                        }
1979:                        if (nodeElement.getTagName().equals(
1980:                                "managed-bean-scope")) {
1981:                            visitElement_managed_bean_scope(nodeElement);
1982:                        }
1983:                        break;
1984:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
1985:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
1986:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
1987:                        break;
1988:                    }
1989:                }
1990:            }
1991:
1992:            /**
1993:             * Scan through org.w3c.dom.Element named managed-property.
1994:             */
1995:            void visitElement_managed_property(org.w3c.dom.Element element) { // <managed-property>
1996:                // element.getValue();
1997:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
1998:                for (int i = 0; i < attrs.getLength(); i++) {
1999:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
2000:                    if (attr.getName().equals("id")) { // <managed-property id="???">
2001:                        // attr.getValue();
2002:                    }
2003:                }
2004:                org.w3c.dom.NodeList nodes = element.getChildNodes();
2005:                for (int i = 0; i < nodes.getLength(); i++) {
2006:                    org.w3c.dom.Node node = nodes.item(i);
2007:                    switch (node.getNodeType()) {
2008:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
2009:                        // ((org.w3c.dom.CDATASection)node).getData();
2010:                        break;
2011:                    case org.w3c.dom.Node.ELEMENT_NODE:
2012:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
2013:                        if (nodeElement.getTagName().equals("icon")) {
2014:                            visitElement_icon(nodeElement);
2015:                        }
2016:                        if (nodeElement.getTagName().equals("map-entries")) {
2017:                            visitElement_map_entries(nodeElement);
2018:                        }
2019:                        if (nodeElement.getTagName().equals("list-entries")) {
2020:                            visitElement_list_entries(nodeElement);
2021:                        }
2022:                        if (nodeElement.getTagName().equals("description")) {
2023:                            visitElement_description(nodeElement);
2024:                        }
2025:                        if (nodeElement.getTagName().equals("display-name")) {
2026:                            visitElement_display_name(nodeElement);
2027:                        }
2028:                        if (nodeElement.getTagName().equals("null-value")) {
2029:                            visitElement_null_value(nodeElement);
2030:                        }
2031:                        if (nodeElement.getTagName().equals("property-class")) {
2032:                            visitElement_property_class(nodeElement);
2033:                        }
2034:                        if (nodeElement.getTagName().equals("property-name")) {
2035:                            visitElement_property_name(nodeElement);
2036:                        }
2037:                        if (nodeElement.getTagName().equals("value")) {
2038:                            visitElement_value(nodeElement);
2039:                        }
2040:                        break;
2041:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
2042:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
2043:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
2044:                        break;
2045:                    }
2046:                }
2047:            }
2048:
2049:            /**
2050:             * Scan through org.w3c.dom.Element named map-entry.
2051:             */
2052:            void visitElement_map_entry(org.w3c.dom.Element element) { // <map-entry>
2053:                // element.getValue();
2054:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
2055:                for (int i = 0; i < attrs.getLength(); i++) {
2056:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
2057:                    if (attr.getName().equals("id")) { // <map-entry id="???">
2058:                        // attr.getValue();
2059:                    }
2060:                }
2061:                org.w3c.dom.NodeList nodes = element.getChildNodes();
2062:                for (int i = 0; i < nodes.getLength(); i++) {
2063:                    org.w3c.dom.Node node = nodes.item(i);
2064:                    switch (node.getNodeType()) {
2065:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
2066:                        // ((org.w3c.dom.CDATASection)node).getData();
2067:                        break;
2068:                    case org.w3c.dom.Node.ELEMENT_NODE:
2069:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
2070:                        if (nodeElement.getTagName().equals("key")) {
2071:                            visitElement_key(nodeElement);
2072:                        }
2073:                        if (nodeElement.getTagName().equals("null-value")) {
2074:                            visitElement_null_value(nodeElement);
2075:                        }
2076:                        if (nodeElement.getTagName().equals("value")) {
2077:                            visitElement_value(nodeElement);
2078:                        }
2079:                        break;
2080:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
2081:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
2082:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
2083:                        break;
2084:                    }
2085:                }
2086:            }
2087:
2088:            /**
2089:             * Scan through org.w3c.dom.Element named map-entries.
2090:             */
2091:            void visitElement_map_entries(org.w3c.dom.Element element) { // <map-entries>
2092:                // element.getValue();
2093:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
2094:                for (int i = 0; i < attrs.getLength(); i++) {
2095:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
2096:                    if (attr.getName().equals("id")) { // <map-entries id="???">
2097:                        // attr.getValue();
2098:                    }
2099:                }
2100:                org.w3c.dom.NodeList nodes = element.getChildNodes();
2101:                for (int i = 0; i < nodes.getLength(); i++) {
2102:                    org.w3c.dom.Node node = nodes.item(i);
2103:                    switch (node.getNodeType()) {
2104:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
2105:                        // ((org.w3c.dom.CDATASection)node).getData();
2106:                        break;
2107:                    case org.w3c.dom.Node.ELEMENT_NODE:
2108:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
2109:                        if (nodeElement.getTagName().equals("map-entry")) {
2110:                            visitElement_map_entry(nodeElement);
2111:                        }
2112:                        if (nodeElement.getTagName().equals("key-class")) {
2113:                            visitElement_key_class(nodeElement);
2114:                        }
2115:                        if (nodeElement.getTagName().equals("value-class")) {
2116:                            visitElement_value_class(nodeElement);
2117:                        }
2118:                        break;
2119:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
2120:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
2121:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
2122:                        break;
2123:                    }
2124:                }
2125:            }
2126:
2127:            /**
2128:             * Scan through org.w3c.dom.Element named message-bundle.
2129:             */
2130:            void visitElement_message_bundle(org.w3c.dom.Element element) { // <message-bundle>
2131:                // element.getValue();
2132:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
2133:                for (int i = 0; i < attrs.getLength(); i++) {
2134:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
2135:                    if (attr.getName().equals("id")) { // <message-bundle id="???">
2136:                        // attr.getValue();
2137:                    }
2138:                }
2139:                org.w3c.dom.NodeList nodes = element.getChildNodes();
2140:                for (int i = 0; i < nodes.getLength(); i++) {
2141:                    org.w3c.dom.Node node = nodes.item(i);
2142:                    switch (node.getNodeType()) {
2143:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
2144:                        // ((org.w3c.dom.CDATASection)node).getData();
2145:                        break;
2146:                    case org.w3c.dom.Node.ELEMENT_NODE:
2147:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
2148:                        break;
2149:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
2150:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
2151:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
2152:                        break;
2153:                    case org.w3c.dom.Node.TEXT_NODE:
2154:                        // ((org.w3c.dom.Text)node).getData();
2155:                        break;
2156:                    }
2157:                }
2158:            }
2159:
2160:            /**
2161:             * Scan through org.w3c.dom.Element named navigation-case.
2162:             */
2163:            void visitElement_navigation_case(org.w3c.dom.Element element) { // <navigation-case>
2164:                // element.getValue();
2165:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
2166:                for (int i = 0; i < attrs.getLength(); i++) {
2167:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
2168:                    if (attr.getName().equals("id")) { // <navigation-case id="???">
2169:                        // attr.getValue();
2170:                    }
2171:                }
2172:                org.w3c.dom.NodeList nodes = element.getChildNodes();
2173:                for (int i = 0; i < nodes.getLength(); i++) {
2174:                    org.w3c.dom.Node node = nodes.item(i);
2175:                    switch (node.getNodeType()) {
2176:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
2177:                        // ((org.w3c.dom.CDATASection)node).getData();
2178:                        break;
2179:                    case org.w3c.dom.Node.ELEMENT_NODE:
2180:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
2181:                        if (nodeElement.getTagName().equals("icon")) {
2182:                            visitElement_icon(nodeElement);
2183:                        }
2184:                        if (nodeElement.getTagName().equals("description")) {
2185:                            visitElement_description(nodeElement);
2186:                        }
2187:                        if (nodeElement.getTagName().equals("display-name")) {
2188:                            visitElement_display_name(nodeElement);
2189:                        }
2190:                        if (nodeElement.getTagName().equals("from-action")) {
2191:                            visitElement_from_action(nodeElement);
2192:                        }
2193:                        if (nodeElement.getTagName().equals("from-outcome")) {
2194:                            visitElement_from_outcome(nodeElement);
2195:                        }
2196:                        if (nodeElement.getTagName().equals("redirect")) {
2197:                            visitElement_redirect(nodeElement);
2198:                        }
2199:                        if (nodeElement.getTagName().equals("to-view-id")) {
2200:                            visitElement_to_view_id(nodeElement);
2201:                        }
2202:                        break;
2203:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
2204:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
2205:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
2206:                        break;
2207:                    }
2208:                }
2209:            }
2210:
2211:            /**
2212:             * Scan through org.w3c.dom.Element named navigation-rule.
2213:             */
2214:            void visitElement_navigation_rule(org.w3c.dom.Element element) { // <navigation-rule>
2215:                // element.getValue();
2216:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
2217:                for (int i = 0; i < attrs.getLength(); i++) {
2218:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
2219:                    if (attr.getName().equals("id")) { // <navigation-rule id="???">
2220:                        // attr.getValue();
2221:                    }
2222:                }
2223:                org.w3c.dom.NodeList nodes = element.getChildNodes();
2224:                for (int i = 0; i < nodes.getLength(); i++) {
2225:                    org.w3c.dom.Node node = nodes.item(i);
2226:                    switch (node.getNodeType()) {
2227:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
2228:                        // ((org.w3c.dom.CDATASection)node).getData();
2229:                        break;
2230:                    case org.w3c.dom.Node.ELEMENT_NODE:
2231:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
2232:                        if (nodeElement.getTagName().equals("icon")) {
2233:                            visitElement_icon(nodeElement);
2234:                        }
2235:                        if (nodeElement.getTagName().equals("navigation-case")) {
2236:                            visitElement_navigation_case(nodeElement);
2237:                        }
2238:                        if (nodeElement.getTagName().equals("description")) {
2239:                            visitElement_description(nodeElement);
2240:                        }
2241:                        if (nodeElement.getTagName().equals("display-name")) {
2242:                            visitElement_display_name(nodeElement);
2243:                        }
2244:                        if (nodeElement.getTagName().equals("from-view-id")) {
2245:                            visitElement_from_view_id(nodeElement);
2246:                        }
2247:                        break;
2248:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
2249:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
2250:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
2251:                        break;
2252:                    }
2253:                }
2254:            }
2255:
2256:            /**
2257:             * Scan through org.w3c.dom.Element named property.
2258:             */
2259:            void visitElement_property(org.w3c.dom.Element element) { // <property>
2260:                // element.getValue();
2261:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
2262:                for (int i = 0; i < attrs.getLength(); i++) {
2263:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
2264:                    if (attr.getName().equals("id")) { // <property id="???">
2265:                        // attr.getValue();
2266:                    }
2267:                }
2268:                org.w3c.dom.NodeList nodes = element.getChildNodes();
2269:                for (int i = 0; i < nodes.getLength(); i++) {
2270:                    org.w3c.dom.Node node = nodes.item(i);
2271:                    switch (node.getNodeType()) {
2272:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
2273:                        // ((org.w3c.dom.CDATASection)node).getData();
2274:                        break;
2275:                    case org.w3c.dom.Node.ELEMENT_NODE:
2276:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
2277:                        if (nodeElement.getTagName().equals("icon")) {
2278:                            visitElement_icon(nodeElement);
2279:                        }
2280:                        if (nodeElement.getTagName().equals(
2281:                                "property-extension")) {
2282:                            visitElement_property_extension(nodeElement);
2283:                        }
2284:                        if (nodeElement.getTagName().equals("default-value")) {
2285:                            visitElement_default_value(nodeElement);
2286:                        }
2287:                        if (nodeElement.getTagName().equals("description")) {
2288:                            visitElement_description(nodeElement);
2289:                        }
2290:                        if (nodeElement.getTagName().equals("display-name")) {
2291:                            visitElement_display_name(nodeElement);
2292:                        }
2293:                        if (nodeElement.getTagName().equals("suggested-value")) {
2294:                            visitElement_suggested_value(nodeElement);
2295:                        }
2296:                        if (nodeElement.getTagName().equals("property-class")) {
2297:                            visitElement_property_class(nodeElement);
2298:                        }
2299:                        if (nodeElement.getTagName().equals("property-name")) {
2300:                            visitElement_property_name(nodeElement);
2301:                        }
2302:                        break;
2303:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
2304:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
2305:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
2306:                        break;
2307:                    }
2308:                }
2309:            }
2310:
2311:            /**
2312:             * Scan through org.w3c.dom.Element named property-extension.
2313:             */
2314:            void visitElement_property_extension(org.w3c.dom.Element element) { // <property-extension>
2315:                // element.getValue();
2316:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
2317:                for (int i = 0; i < attrs.getLength(); i++) {
2318:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
2319:                    if (attr.getName().equals("id")) { // <property-extension id="???">
2320:                        // attr.getValue();
2321:                    }
2322:                }
2323:                org.w3c.dom.NodeList nodes = element.getChildNodes();
2324:                for (int i = 0; i < nodes.getLength(); i++) {
2325:                    org.w3c.dom.Node node = nodes.item(i);
2326:                    switch (node.getNodeType()) {
2327:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
2328:                        // ((org.w3c.dom.CDATASection)node).getData();
2329:                        break;
2330:                    case org.w3c.dom.Node.ELEMENT_NODE:
2331:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
2332:                        if (nodeElement.getTagName().equals("faces-config")) {
2333:                            visitElement_faces_config(nodeElement);
2334:                        }
2335:                        if (nodeElement.getTagName().equals("application")) {
2336:                            visitElement_application(nodeElement);
2337:                        }
2338:                        if (nodeElement.getTagName().equals("factory")) {
2339:                            visitElement_factory(nodeElement);
2340:                        }
2341:                        if (nodeElement.getTagName().equals("attribute")) {
2342:                            visitElement_attribute(nodeElement);
2343:                        }
2344:                        if (nodeElement.getTagName().equals(
2345:                                "attribute-extension")) {
2346:                            visitElement_attribute_extension(nodeElement);
2347:                        }
2348:                        if (nodeElement.getTagName().equals("component")) {
2349:                            visitElement_component(nodeElement);
2350:                        }
2351:                        if (nodeElement.getTagName().equals(
2352:                                "component-extension")) {
2353:                            visitElement_component_extension(nodeElement);
2354:                        }
2355:                        if (nodeElement.getTagName().equals("facet")) {
2356:                            visitElement_facet(nodeElement);
2357:                        }
2358:                        if (nodeElement.getTagName().equals("facet-extension")) {
2359:                            visitElement_facet_extension(nodeElement);
2360:                        }
2361:                        if (nodeElement.getTagName().equals("facet-name")) {
2362:                            visitElement_facet_name(nodeElement);
2363:                        }
2364:                        if (nodeElement.getTagName().equals("converter")) {
2365:                            visitElement_converter(nodeElement);
2366:                        }
2367:                        if (nodeElement.getTagName().equals("icon")) {
2368:                            visitElement_icon(nodeElement);
2369:                        }
2370:                        if (nodeElement.getTagName().equals("lifecycle")) {
2371:                            visitElement_lifecycle(nodeElement);
2372:                        }
2373:                        if (nodeElement.getTagName().equals("locale-config")) {
2374:                            visitElement_locale_config(nodeElement);
2375:                        }
2376:                        if (nodeElement.getTagName().equals("managed-bean")) {
2377:                            visitElement_managed_bean(nodeElement);
2378:                        }
2379:                        if (nodeElement.getTagName().equals("managed-property")) {
2380:                            visitElement_managed_property(nodeElement);
2381:                        }
2382:                        if (nodeElement.getTagName().equals("map-entry")) {
2383:                            visitElement_map_entry(nodeElement);
2384:                        }
2385:                        if (nodeElement.getTagName().equals("map-entries")) {
2386:                            visitElement_map_entries(nodeElement);
2387:                        }
2388:                        if (nodeElement.getTagName().equals("message-bundle")) {
2389:                            visitElement_message_bundle(nodeElement);
2390:                        }
2391:                        if (nodeElement.getTagName().equals("navigation-case")) {
2392:                            visitElement_navigation_case(nodeElement);
2393:                        }
2394:                        if (nodeElement.getTagName().equals("navigation-rule")) {
2395:                            visitElement_navigation_rule(nodeElement);
2396:                        }
2397:                        if (nodeElement.getTagName().equals("property")) {
2398:                            visitElement_property(nodeElement);
2399:                        }
2400:                        if (nodeElement.getTagName().equals(
2401:                                "property-extension")) {
2402:                            visitElement_property_extension(nodeElement);
2403:                        }
2404:                        if (nodeElement.getTagName().equals("referenced-bean")) {
2405:                            visitElement_referenced_bean(nodeElement);
2406:                        }
2407:                        if (nodeElement.getTagName().equals("render-kit")) {
2408:                            visitElement_render_kit(nodeElement);
2409:                        }
2410:                        if (nodeElement.getTagName().equals("renderer")) {
2411:                            visitElement_renderer(nodeElement);
2412:                        }
2413:                        if (nodeElement.getTagName().equals(
2414:                                "renderer-extension")) {
2415:                            visitElement_renderer_extension(nodeElement);
2416:                        }
2417:                        if (nodeElement.getTagName().equals("validator")) {
2418:                            visitElement_validator(nodeElement);
2419:                        }
2420:                        if (nodeElement.getTagName().equals("list-entries")) {
2421:                            visitElement_list_entries(nodeElement);
2422:                        }
2423:                        if (nodeElement.getTagName().equals("action-listener")) {
2424:                            visitElement_action_listener(nodeElement);
2425:                        }
2426:                        if (nodeElement.getTagName().equals(
2427:                                "application-factory")) {
2428:                            visitElement_application_factory(nodeElement);
2429:                        }
2430:                        if (nodeElement.getTagName().equals("attribute-class")) {
2431:                            visitElement_attribute_class(nodeElement);
2432:                        }
2433:                        if (nodeElement.getTagName().equals("attribute-name")) {
2434:                            visitElement_attribute_name(nodeElement);
2435:                        }
2436:                        if (nodeElement.getTagName().equals("component-class")) {
2437:                            visitElement_component_class(nodeElement);
2438:                        }
2439:                        if (nodeElement.getTagName().equals("component-family")) {
2440:                            visitElement_component_family(nodeElement);
2441:                        }
2442:                        if (nodeElement.getTagName().equals("component-type")) {
2443:                            visitElement_component_type(nodeElement);
2444:                        }
2445:                        if (nodeElement.getTagName().equals("converter-class")) {
2446:                            visitElement_converter_class(nodeElement);
2447:                        }
2448:                        if (nodeElement.getTagName().equals(
2449:                                "converter-for-class")) {
2450:                            visitElement_converter_for_class(nodeElement);
2451:                        }
2452:                        if (nodeElement.getTagName().equals("converter-id")) {
2453:                            visitElement_converter_id(nodeElement);
2454:                        }
2455:                        if (nodeElement.getTagName().equals(
2456:                                "default-render-kit-id")) {
2457:                            visitElement_default_render_kit_id(nodeElement);
2458:                        }
2459:                        if (nodeElement.getTagName().equals("default-locale")) {
2460:                            visitElement_default_locale(nodeElement);
2461:                        }
2462:                        if (nodeElement.getTagName().equals("default-value")) {
2463:                            visitElement_default_value(nodeElement);
2464:                        }
2465:                        if (nodeElement.getTagName().equals("description")) {
2466:                            visitElement_description(nodeElement);
2467:                        }
2468:                        if (nodeElement.getTagName().equals("display-name")) {
2469:                            visitElement_display_name(nodeElement);
2470:                        }
2471:                        if (nodeElement.getTagName().equals(
2472:                                "faces-context-factory")) {
2473:                            visitElement_faces_context_factory(nodeElement);
2474:                        }
2475:                        if (nodeElement.getTagName().equals("from-action")) {
2476:                            visitElement_from_action(nodeElement);
2477:                        }
2478:                        if (nodeElement.getTagName().equals("from-outcome")) {
2479:                            visitElement_from_outcome(nodeElement);
2480:                        }
2481:                        if (nodeElement.getTagName().equals("from-view-id")) {
2482:                            visitElement_from_view_id(nodeElement);
2483:                        }
2484:                        if (nodeElement.getTagName().equals("key")) {
2485:                            visitElement_key(nodeElement);
2486:                        }
2487:                        if (nodeElement.getTagName().equals("key-class")) {
2488:                            visitElement_key_class(nodeElement);
2489:                        }
2490:                        if (nodeElement.getTagName().equals("large-icon")) {
2491:                            visitElement_large_icon(nodeElement);
2492:                        }
2493:                        if (nodeElement.getTagName()
2494:                                .equals("lifecycle-factory")) {
2495:                            visitElement_lifecycle_factory(nodeElement);
2496:                        }
2497:                        if (nodeElement.getTagName().equals(
2498:                                "managed-bean-class")) {
2499:                            visitElement_managed_bean_class(nodeElement);
2500:                        }
2501:                        if (nodeElement.getTagName()
2502:                                .equals("managed-bean-name")) {
2503:                            visitElement_managed_bean_name(nodeElement);
2504:                        }
2505:                        if (nodeElement.getTagName().equals(
2506:                                "managed-bean-scope")) {
2507:                            visitElement_managed_bean_scope(nodeElement);
2508:                        }
2509:                        if (nodeElement.getTagName().equals(
2510:                                "navigation-handler")) {
2511:                            visitElement_navigation_handler(nodeElement);
2512:                        }
2513:                        if (nodeElement.getTagName().equals("phase-listener")) {
2514:                            visitElement_phase_listener(nodeElement);
2515:                        }
2516:                        if (nodeElement.getTagName().equals("redirect")) {
2517:                            visitElement_redirect(nodeElement);
2518:                        }
2519:                        if (nodeElement.getTagName().equals("suggested-value")) {
2520:                            visitElement_suggested_value(nodeElement);
2521:                        }
2522:                        if (nodeElement.getTagName().equals("view-handler")) {
2523:                            visitElement_view_handler(nodeElement);
2524:                        }
2525:                        if (nodeElement.getTagName().equals("state-manager")) {
2526:                            visitElement_state_manager(nodeElement);
2527:                        }
2528:                        if (nodeElement.getTagName().equals("null-value")) {
2529:                            visitElement_null_value(nodeElement);
2530:                        }
2531:                        if (nodeElement.getTagName().equals("property-class")) {
2532:                            visitElement_property_class(nodeElement);
2533:                        }
2534:                        if (nodeElement.getTagName().equals("property-name")) {
2535:                            visitElement_property_name(nodeElement);
2536:                        }
2537:                        if (nodeElement.getTagName()
2538:                                .equals("property-resolver")) {
2539:                            visitElement_property_resolver(nodeElement);
2540:                        }
2541:                        if (nodeElement.getTagName().equals(
2542:                                "referenced-bean-class")) {
2543:                            visitElement_referenced_bean_class(nodeElement);
2544:                        }
2545:                        if (nodeElement.getTagName().equals(
2546:                                "referenced-bean-name")) {
2547:                            visitElement_referenced_bean_name(nodeElement);
2548:                        }
2549:                        if (nodeElement.getTagName().equals("render-kit-id")) {
2550:                            visitElement_render_kit_id(nodeElement);
2551:                        }
2552:                        if (nodeElement.getTagName().equals("render-kit-class")) {
2553:                            visitElement_render_kit_class(nodeElement);
2554:                        }
2555:                        if (nodeElement.getTagName().equals("renderer-class")) {
2556:                            visitElement_renderer_class(nodeElement);
2557:                        }
2558:                        if (nodeElement.getTagName().equals(
2559:                                "render-kit-factory")) {
2560:                            visitElement_render_kit_factory(nodeElement);
2561:                        }
2562:                        if (nodeElement.getTagName().equals("renderer-type")) {
2563:                            visitElement_renderer_type(nodeElement);
2564:                        }
2565:                        if (nodeElement.getTagName().equals("small-icon")) {
2566:                            visitElement_small_icon(nodeElement);
2567:                        }
2568:                        if (nodeElement.getTagName().equals("supported-locale")) {
2569:                            visitElement_supported_locale(nodeElement);
2570:                        }
2571:                        if (nodeElement.getTagName().equals("to-view-id")) {
2572:                            visitElement_to_view_id(nodeElement);
2573:                        }
2574:                        if (nodeElement.getTagName().equals("validator-class")) {
2575:                            visitElement_validator_class(nodeElement);
2576:                        }
2577:                        if (nodeElement.getTagName().equals("validator-id")) {
2578:                            visitElement_validator_id(nodeElement);
2579:                        }
2580:                        if (nodeElement.getTagName().equals("value")) {
2581:                            visitElement_value(nodeElement);
2582:                        }
2583:                        if (nodeElement.getTagName().equals("value-class")) {
2584:                            visitElement_value_class(nodeElement);
2585:                        }
2586:                        if (nodeElement.getTagName()
2587:                                .equals("variable-resolver")) {
2588:                            visitElement_variable_resolver(nodeElement);
2589:                        }
2590:                        break;
2591:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
2592:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
2593:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
2594:                        break;
2595:                    case org.w3c.dom.Node.TEXT_NODE:
2596:                        // ((org.w3c.dom.Text)node).getData();
2597:                        break;
2598:                    }
2599:                }
2600:            }
2601:
2602:            /**
2603:             * Scan through org.w3c.dom.Element named referenced-bean.
2604:             */
2605:            void visitElement_referenced_bean(org.w3c.dom.Element element) { // <referenced-bean>
2606:                // element.getValue();
2607:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
2608:                for (int i = 0; i < attrs.getLength(); i++) {
2609:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
2610:                    if (attr.getName().equals("id")) { // <referenced-bean id="???">
2611:                        // attr.getValue();
2612:                    }
2613:                }
2614:                org.w3c.dom.NodeList nodes = element.getChildNodes();
2615:                for (int i = 0; i < nodes.getLength(); i++) {
2616:                    org.w3c.dom.Node node = nodes.item(i);
2617:                    switch (node.getNodeType()) {
2618:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
2619:                        // ((org.w3c.dom.CDATASection)node).getData();
2620:                        break;
2621:                    case org.w3c.dom.Node.ELEMENT_NODE:
2622:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
2623:                        if (nodeElement.getTagName().equals("icon")) {
2624:                            visitElement_icon(nodeElement);
2625:                        }
2626:                        if (nodeElement.getTagName().equals("description")) {
2627:                            visitElement_description(nodeElement);
2628:                        }
2629:                        if (nodeElement.getTagName().equals("display-name")) {
2630:                            visitElement_display_name(nodeElement);
2631:                        }
2632:                        if (nodeElement.getTagName().equals(
2633:                                "referenced-bean-class")) {
2634:                            visitElement_referenced_bean_class(nodeElement);
2635:                        }
2636:                        if (nodeElement.getTagName().equals(
2637:                                "referenced-bean-name")) {
2638:                            visitElement_referenced_bean_name(nodeElement);
2639:                        }
2640:                        break;
2641:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
2642:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
2643:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
2644:                        break;
2645:                    }
2646:                }
2647:            }
2648:
2649:            private void initDom(Element render_kit_element) {
2650:
2651:                if (visitedElement_render_kit) {
2652:                    return;
2653:                }
2654:
2655:                FacesConfigParserHelper facesConfigParserHelper = new FacesConfigParserHelper(
2656:                        addonXmlFile);
2657:                RendererBean[] rendererBeans = facesConfigParserHelper
2658:                        .getRendererBeans();
2659:
2660:                Document document = render_kit_element.getOwnerDocument();
2661:                for (int i = 0; i < rendererBeans.length; i++) {
2662:                    // component element
2663:                    Element rdElement = document.createElement("renderer");
2664:                    render_kit_element.appendChild(document
2665:                            .createTextNode("\n"));
2666:                    render_kit_element.appendChild(rdElement);
2667:                    // closing component
2668:                    rdElement.appendChild(document.createTextNode("\n\t"));
2669:
2670:                    Element cfElement = document
2671:                            .createElement("component-family");
2672:                    cfElement.appendChild(document
2673:                            .createTextNode(rendererBeans[i]
2674:                                    .getComponentFamily()));
2675:                    rdElement.appendChild(cfElement);
2676:                    cfElement.appendChild(document.createTextNode("\n\t"));
2677:
2678:                    rdElement.appendChild(document.createTextNode("\n\t"));
2679:                    Element rtElement = document.createElement("renderer-type");
2680:                    rtElement
2681:                            .appendChild(document
2682:                                    .createTextNode(rendererBeans[i]
2683:                                            .getRendererType()));
2684:                    rtElement.appendChild(document.createTextNode("\n\t"));
2685:                    rdElement.appendChild(rtElement);
2686:
2687:                    rdElement.appendChild(document.createTextNode("\n\t"));
2688:                    Element rcElement = document
2689:                            .createElement("renderer-class");
2690:                    rcElement
2691:                            .appendChild(document
2692:                                    .createTextNode(rendererBeans[i]
2693:                                            .getRendererClass()));
2694:                    rdElement.appendChild(rcElement);
2695:                    rcElement.appendChild(document.createTextNode("\n\t"));
2696:                    rdElement.appendChild(document.createTextNode("\n"));
2697:                }
2698:
2699:                visitedElement_render_kit = true;
2700:
2701:            }
2702:
2703:            private boolean visitedElement_render_kit = false;
2704:
2705:            /**
2706:             * Scan through org.w3c.dom.Element named render-kit.
2707:             */
2708:            void visitElement_render_kit(org.w3c.dom.Element element) { // <render-kit>
2709:                // element.getValue();
2710:
2711:                //add web ui custom renderer 
2712:                initDom(element);
2713:
2714:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
2715:                for (int i = 0; i < attrs.getLength(); i++) {
2716:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
2717:                    if (attr.getName().equals("id")) { // <render-kit id="???">
2718:                        // attr.getValue();
2719:                    }
2720:                }
2721:                org.w3c.dom.NodeList nodes = element.getChildNodes();
2722:                for (int i = 0; i < nodes.getLength(); i++) {
2723:                    org.w3c.dom.Node node = nodes.item(i);
2724:                    switch (node.getNodeType()) {
2725:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
2726:                        // ((org.w3c.dom.CDATASection)node).getData();
2727:                        break;
2728:                    case org.w3c.dom.Node.ELEMENT_NODE:
2729:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
2730:                        if (nodeElement.getTagName().equals("icon")) {
2731:                            visitElement_icon(nodeElement);
2732:                        }
2733:                        if (nodeElement.getTagName().equals("renderer")) {
2734:                            visitElement_renderer(nodeElement);
2735:                        }
2736:                        if (nodeElement.getTagName().equals("description")) {
2737:                            visitElement_description(nodeElement);
2738:                        }
2739:                        if (nodeElement.getTagName().equals("display-name")) {
2740:                            visitElement_display_name(nodeElement);
2741:                        }
2742:                        if (nodeElement.getTagName().equals("render-kit-id")) {
2743:                            visitElement_render_kit_id(nodeElement);
2744:                        }
2745:                        if (nodeElement.getTagName().equals("render-kit-class")) {
2746:                            visitElement_render_kit_class(nodeElement);
2747:                        }
2748:                        break;
2749:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
2750:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
2751:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
2752:                        break;
2753:                    }
2754:                }
2755:            }
2756:
2757:            /**
2758:             * Scan through org.w3c.dom.Element named renderer.
2759:             */
2760:            void visitElement_renderer(org.w3c.dom.Element element) { // <renderer>
2761:                // element.getValue();
2762:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
2763:                for (int i = 0; i < attrs.getLength(); i++) {
2764:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
2765:                    if (attr.getName().equals("id")) { // <renderer id="???">
2766:                        // attr.getValue();
2767:                    }
2768:                }
2769:                org.w3c.dom.NodeList nodes = element.getChildNodes();
2770:                for (int i = 0; i < nodes.getLength(); i++) {
2771:                    org.w3c.dom.Node node = nodes.item(i);
2772:                    switch (node.getNodeType()) {
2773:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
2774:                        // ((org.w3c.dom.CDATASection)node).getData();
2775:                        break;
2776:                    case org.w3c.dom.Node.ELEMENT_NODE:
2777:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
2778:                        if (nodeElement.getTagName().equals("attribute")) {
2779:                            visitElement_attribute(nodeElement);
2780:                        }
2781:                        if (nodeElement.getTagName().equals("facet")) {
2782:                            visitElement_facet(nodeElement);
2783:                        }
2784:                        if (nodeElement.getTagName().equals("icon")) {
2785:                            visitElement_icon(nodeElement);
2786:                        }
2787:                        if (nodeElement.getTagName().equals(
2788:                                "renderer-extension")) {
2789:                            visitElement_renderer_extension(nodeElement);
2790:                        }
2791:                        if (nodeElement.getTagName().equals("component-family")) {
2792:                            visitElement_component_family(nodeElement);
2793:                        }
2794:                        if (nodeElement.getTagName().equals("description")) {
2795:                            visitElement_description(nodeElement);
2796:                        }
2797:                        if (nodeElement.getTagName().equals("display-name")) {
2798:                            visitElement_display_name(nodeElement);
2799:                        }
2800:                        if (nodeElement.getTagName().equals("renderer-class")) {
2801:                            visitElement_renderer_class(nodeElement);
2802:                        }
2803:                        if (nodeElement.getTagName().equals("renderer-type")) {
2804:                            visitElement_renderer_type(nodeElement);
2805:                        }
2806:                        break;
2807:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
2808:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
2809:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
2810:                        break;
2811:                    }
2812:                }
2813:            }
2814:
2815:            /**
2816:             * Scan through org.w3c.dom.Element named renderer-extension.
2817:             */
2818:            void visitElement_renderer_extension(org.w3c.dom.Element element) { // <renderer-extension>
2819:                // element.getValue();
2820:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
2821:                for (int i = 0; i < attrs.getLength(); i++) {
2822:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
2823:                    if (attr.getName().equals("id")) { // <renderer-extension id="???">
2824:                        // attr.getValue();
2825:                    }
2826:                }
2827:                org.w3c.dom.NodeList nodes = element.getChildNodes();
2828:                for (int i = 0; i < nodes.getLength(); i++) {
2829:                    org.w3c.dom.Node node = nodes.item(i);
2830:                    switch (node.getNodeType()) {
2831:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
2832:                        // ((org.w3c.dom.CDATASection)node).getData();
2833:                        break;
2834:                    case org.w3c.dom.Node.ELEMENT_NODE:
2835:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
2836:                        if (nodeElement.getTagName().equals("faces-config")) {
2837:                            visitElement_faces_config(nodeElement);
2838:                        }
2839:                        if (nodeElement.getTagName().equals("application")) {
2840:                            visitElement_application(nodeElement);
2841:                        }
2842:                        if (nodeElement.getTagName().equals("factory")) {
2843:                            visitElement_factory(nodeElement);
2844:                        }
2845:                        if (nodeElement.getTagName().equals("attribute")) {
2846:                            visitElement_attribute(nodeElement);
2847:                        }
2848:                        if (nodeElement.getTagName().equals(
2849:                                "attribute-extension")) {
2850:                            visitElement_attribute_extension(nodeElement);
2851:                        }
2852:                        if (nodeElement.getTagName().equals("component")) {
2853:                            visitElement_component(nodeElement);
2854:                        }
2855:                        if (nodeElement.getTagName().equals(
2856:                                "component-extension")) {
2857:                            visitElement_component_extension(nodeElement);
2858:                        }
2859:                        if (nodeElement.getTagName().equals("facet")) {
2860:                            visitElement_facet(nodeElement);
2861:                        }
2862:                        if (nodeElement.getTagName().equals("facet-extension")) {
2863:                            visitElement_facet_extension(nodeElement);
2864:                        }
2865:                        if (nodeElement.getTagName().equals("facet-name")) {
2866:                            visitElement_facet_name(nodeElement);
2867:                        }
2868:                        if (nodeElement.getTagName().equals("converter")) {
2869:                            visitElement_converter(nodeElement);
2870:                        }
2871:                        if (nodeElement.getTagName().equals("icon")) {
2872:                            visitElement_icon(nodeElement);
2873:                        }
2874:                        if (nodeElement.getTagName().equals("lifecycle")) {
2875:                            visitElement_lifecycle(nodeElement);
2876:                        }
2877:                        if (nodeElement.getTagName().equals("locale-config")) {
2878:                            visitElement_locale_config(nodeElement);
2879:                        }
2880:                        if (nodeElement.getTagName().equals("managed-bean")) {
2881:                            visitElement_managed_bean(nodeElement);
2882:                        }
2883:                        if (nodeElement.getTagName().equals("managed-property")) {
2884:                            visitElement_managed_property(nodeElement);
2885:                        }
2886:                        if (nodeElement.getTagName().equals("map-entry")) {
2887:                            visitElement_map_entry(nodeElement);
2888:                        }
2889:                        if (nodeElement.getTagName().equals("map-entries")) {
2890:                            visitElement_map_entries(nodeElement);
2891:                        }
2892:                        if (nodeElement.getTagName().equals("message-bundle")) {
2893:                            visitElement_message_bundle(nodeElement);
2894:                        }
2895:                        if (nodeElement.getTagName().equals("navigation-case")) {
2896:                            visitElement_navigation_case(nodeElement);
2897:                        }
2898:                        if (nodeElement.getTagName().equals("navigation-rule")) {
2899:                            visitElement_navigation_rule(nodeElement);
2900:                        }
2901:                        if (nodeElement.getTagName().equals("property")) {
2902:                            visitElement_property(nodeElement);
2903:                        }
2904:                        if (nodeElement.getTagName().equals(
2905:                                "property-extension")) {
2906:                            visitElement_property_extension(nodeElement);
2907:                        }
2908:                        if (nodeElement.getTagName().equals("referenced-bean")) {
2909:                            visitElement_referenced_bean(nodeElement);
2910:                        }
2911:                        if (nodeElement.getTagName().equals("render-kit")) {
2912:                            visitElement_render_kit(nodeElement);
2913:                        }
2914:                        if (nodeElement.getTagName().equals("renderer")) {
2915:                            visitElement_renderer(nodeElement);
2916:                        }
2917:                        if (nodeElement.getTagName().equals(
2918:                                "renderer-extension")) {
2919:                            visitElement_renderer_extension(nodeElement);
2920:                        }
2921:                        if (nodeElement.getTagName().equals("validator")) {
2922:                            visitElement_validator(nodeElement);
2923:                        }
2924:                        if (nodeElement.getTagName().equals("list-entries")) {
2925:                            visitElement_list_entries(nodeElement);
2926:                        }
2927:                        if (nodeElement.getTagName().equals("action-listener")) {
2928:                            visitElement_action_listener(nodeElement);
2929:                        }
2930:                        if (nodeElement.getTagName().equals(
2931:                                "application-factory")) {
2932:                            visitElement_application_factory(nodeElement);
2933:                        }
2934:                        if (nodeElement.getTagName().equals("attribute-class")) {
2935:                            visitElement_attribute_class(nodeElement);
2936:                        }
2937:                        if (nodeElement.getTagName().equals("attribute-name")) {
2938:                            visitElement_attribute_name(nodeElement);
2939:                        }
2940:                        if (nodeElement.getTagName().equals("component-class")) {
2941:                            visitElement_component_class(nodeElement);
2942:                        }
2943:                        if (nodeElement.getTagName().equals("component-family")) {
2944:                            visitElement_component_family(nodeElement);
2945:                        }
2946:                        if (nodeElement.getTagName().equals("component-type")) {
2947:                            visitElement_component_type(nodeElement);
2948:                        }
2949:                        if (nodeElement.getTagName().equals("converter-class")) {
2950:                            visitElement_converter_class(nodeElement);
2951:                        }
2952:                        if (nodeElement.getTagName().equals(
2953:                                "converter-for-class")) {
2954:                            visitElement_converter_for_class(nodeElement);
2955:                        }
2956:                        if (nodeElement.getTagName().equals("converter-id")) {
2957:                            visitElement_converter_id(nodeElement);
2958:                        }
2959:                        if (nodeElement.getTagName().equals(
2960:                                "default-render-kit-id")) {
2961:                            visitElement_default_render_kit_id(nodeElement);
2962:                        }
2963:                        if (nodeElement.getTagName().equals("default-locale")) {
2964:                            visitElement_default_locale(nodeElement);
2965:                        }
2966:                        if (nodeElement.getTagName().equals("default-value")) {
2967:                            visitElement_default_value(nodeElement);
2968:                        }
2969:                        if (nodeElement.getTagName().equals("description")) {
2970:                            visitElement_description(nodeElement);
2971:                        }
2972:                        if (nodeElement.getTagName().equals("display-name")) {
2973:                            visitElement_display_name(nodeElement);
2974:                        }
2975:                        if (nodeElement.getTagName().equals(
2976:                                "faces-context-factory")) {
2977:                            visitElement_faces_context_factory(nodeElement);
2978:                        }
2979:                        if (nodeElement.getTagName().equals("from-action")) {
2980:                            visitElement_from_action(nodeElement);
2981:                        }
2982:                        if (nodeElement.getTagName().equals("from-outcome")) {
2983:                            visitElement_from_outcome(nodeElement);
2984:                        }
2985:                        if (nodeElement.getTagName().equals("from-view-id")) {
2986:                            visitElement_from_view_id(nodeElement);
2987:                        }
2988:                        if (nodeElement.getTagName().equals("key")) {
2989:                            visitElement_key(nodeElement);
2990:                        }
2991:                        if (nodeElement.getTagName().equals("key-class")) {
2992:                            visitElement_key_class(nodeElement);
2993:                        }
2994:                        if (nodeElement.getTagName().equals("large-icon")) {
2995:                            visitElement_large_icon(nodeElement);
2996:                        }
2997:                        if (nodeElement.getTagName()
2998:                                .equals("lifecycle-factory")) {
2999:                            visitElement_lifecycle_factory(nodeElement);
3000:                        }
3001:                        if (nodeElement.getTagName().equals(
3002:                                "managed-bean-class")) {
3003:                            visitElement_managed_bean_class(nodeElement);
3004:                        }
3005:                        if (nodeElement.getTagName()
3006:                                .equals("managed-bean-name")) {
3007:                            visitElement_managed_bean_name(nodeElement);
3008:                        }
3009:                        if (nodeElement.getTagName().equals(
3010:                                "managed-bean-scope")) {
3011:                            visitElement_managed_bean_scope(nodeElement);
3012:                        }
3013:                        if (nodeElement.getTagName().equals(
3014:                                "navigation-handler")) {
3015:                            visitElement_navigation_handler(nodeElement);
3016:                        }
3017:                        if (nodeElement.getTagName().equals("phase-listener")) {
3018:                            visitElement_phase_listener(nodeElement);
3019:                        }
3020:                        if (nodeElement.getTagName().equals("redirect")) {
3021:                            visitElement_redirect(nodeElement);
3022:                        }
3023:                        if (nodeElement.getTagName().equals("suggested-value")) {
3024:                            visitElement_suggested_value(nodeElement);
3025:                        }
3026:                        if (nodeElement.getTagName().equals("view-handler")) {
3027:                            visitElement_view_handler(nodeElement);
3028:                        }
3029:                        if (nodeElement.getTagName().equals("state-manager")) {
3030:                            visitElement_state_manager(nodeElement);
3031:                        }
3032:                        if (nodeElement.getTagName().equals("null-value")) {
3033:                            visitElement_null_value(nodeElement);
3034:                        }
3035:                        if (nodeElement.getTagName().equals("property-class")) {
3036:                            visitElement_property_class(nodeElement);
3037:                        }
3038:                        if (nodeElement.getTagName().equals("property-name")) {
3039:                            visitElement_property_name(nodeElement);
3040:                        }
3041:                        if (nodeElement.getTagName()
3042:                                .equals("property-resolver")) {
3043:                            visitElement_property_resolver(nodeElement);
3044:                        }
3045:                        if (nodeElement.getTagName().equals(
3046:                                "referenced-bean-class")) {
3047:                            visitElement_referenced_bean_class(nodeElement);
3048:                        }
3049:                        if (nodeElement.getTagName().equals(
3050:                                "referenced-bean-name")) {
3051:                            visitElement_referenced_bean_name(nodeElement);
3052:                        }
3053:                        if (nodeElement.getTagName().equals("render-kit-id")) {
3054:                            visitElement_render_kit_id(nodeElement);
3055:                        }
3056:                        if (nodeElement.getTagName().equals("render-kit-class")) {
3057:                            visitElement_render_kit_class(nodeElement);
3058:                        }
3059:                        if (nodeElement.getTagName().equals("renderer-class")) {
3060:                            visitElement_renderer_class(nodeElement);
3061:                        }
3062:                        if (nodeElement.getTagName().equals(
3063:                                "render-kit-factory")) {
3064:                            visitElement_render_kit_factory(nodeElement);
3065:                        }
3066:                        if (nodeElement.getTagName().equals("renderer-type")) {
3067:                            visitElement_renderer_type(nodeElement);
3068:                        }
3069:                        if (nodeElement.getTagName().equals("small-icon")) {
3070:                            visitElement_small_icon(nodeElement);
3071:                        }
3072:                        if (nodeElement.getTagName().equals("supported-locale")) {
3073:                            visitElement_supported_locale(nodeElement);
3074:                        }
3075:                        if (nodeElement.getTagName().equals("to-view-id")) {
3076:                            visitElement_to_view_id(nodeElement);
3077:                        }
3078:                        if (nodeElement.getTagName().equals("validator-class")) {
3079:                            visitElement_validator_class(nodeElement);
3080:                        }
3081:                        if (nodeElement.getTagName().equals("validator-id")) {
3082:                            visitElement_validator_id(nodeElement);
3083:                        }
3084:                        if (nodeElement.getTagName().equals("value")) {
3085:                            visitElement_value(nodeElement);
3086:                        }
3087:                        if (nodeElement.getTagName().equals("value-class")) {
3088:                            visitElement_value_class(nodeElement);
3089:                        }
3090:                        if (nodeElement.getTagName()
3091:                                .equals("variable-resolver")) {
3092:                            visitElement_variable_resolver(nodeElement);
3093:                        }
3094:                        break;
3095:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3096:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3097:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3098:                        break;
3099:                    case org.w3c.dom.Node.TEXT_NODE:
3100:                        // ((org.w3c.dom.Text)node).getData();
3101:                        break;
3102:                    }
3103:                }
3104:            }
3105:
3106:            /**
3107:             * Scan through org.w3c.dom.Element named validator.
3108:             */
3109:            void visitElement_validator(org.w3c.dom.Element element) { // <validator>
3110:                // element.getValue();
3111:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3112:                for (int i = 0; i < attrs.getLength(); i++) {
3113:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3114:                    if (attr.getName().equals("id")) { // <validator id="???">
3115:                        // attr.getValue();
3116:                    }
3117:                }
3118:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3119:                for (int i = 0; i < nodes.getLength(); i++) {
3120:                    org.w3c.dom.Node node = nodes.item(i);
3121:                    switch (node.getNodeType()) {
3122:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3123:                        // ((org.w3c.dom.CDATASection)node).getData();
3124:                        break;
3125:                    case org.w3c.dom.Node.ELEMENT_NODE:
3126:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3127:                        if (nodeElement.getTagName().equals("attribute")) {
3128:                            visitElement_attribute(nodeElement);
3129:                        }
3130:                        if (nodeElement.getTagName().equals("icon")) {
3131:                            visitElement_icon(nodeElement);
3132:                        }
3133:                        if (nodeElement.getTagName().equals("property")) {
3134:                            visitElement_property(nodeElement);
3135:                        }
3136:                        if (nodeElement.getTagName().equals("description")) {
3137:                            visitElement_description(nodeElement);
3138:                        }
3139:                        if (nodeElement.getTagName().equals("display-name")) {
3140:                            visitElement_display_name(nodeElement);
3141:                        }
3142:                        if (nodeElement.getTagName().equals("validator-class")) {
3143:                            visitElement_validator_class(nodeElement);
3144:                        }
3145:                        if (nodeElement.getTagName().equals("validator-id")) {
3146:                            visitElement_validator_id(nodeElement);
3147:                        }
3148:                        break;
3149:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3150:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3151:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3152:                        break;
3153:                    }
3154:                }
3155:            }
3156:
3157:            /**
3158:             * Scan through org.w3c.dom.Element named list-entries.
3159:             */
3160:            void visitElement_list_entries(org.w3c.dom.Element element) { // <list-entries>
3161:                // element.getValue();
3162:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3163:                for (int i = 0; i < attrs.getLength(); i++) {
3164:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3165:                    if (attr.getName().equals("id")) { // <list-entries id="???">
3166:                        // attr.getValue();
3167:                    }
3168:                }
3169:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3170:                for (int i = 0; i < nodes.getLength(); i++) {
3171:                    org.w3c.dom.Node node = nodes.item(i);
3172:                    switch (node.getNodeType()) {
3173:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3174:                        // ((org.w3c.dom.CDATASection)node).getData();
3175:                        break;
3176:                    case org.w3c.dom.Node.ELEMENT_NODE:
3177:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3178:                        if (nodeElement.getTagName().equals("null-value")) {
3179:                            visitElement_null_value(nodeElement);
3180:                        }
3181:                        if (nodeElement.getTagName().equals("value")) {
3182:                            visitElement_value(nodeElement);
3183:                        }
3184:                        if (nodeElement.getTagName().equals("value-class")) {
3185:                            visitElement_value_class(nodeElement);
3186:                        }
3187:                        break;
3188:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3189:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3190:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3191:                        break;
3192:                    }
3193:                }
3194:            }
3195:
3196:            /**
3197:             * Scan through org.w3c.dom.Element named action-listener.
3198:             */
3199:            void visitElement_action_listener(org.w3c.dom.Element element) { // <action-listener>
3200:                // element.getValue();
3201:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3202:                for (int i = 0; i < attrs.getLength(); i++) {
3203:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3204:                    if (attr.getName().equals("id")) { // <action-listener id="???">
3205:                        // attr.getValue();
3206:                    }
3207:                }
3208:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3209:                for (int i = 0; i < nodes.getLength(); i++) {
3210:                    org.w3c.dom.Node node = nodes.item(i);
3211:                    switch (node.getNodeType()) {
3212:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3213:                        // ((org.w3c.dom.CDATASection)node).getData();
3214:                        break;
3215:                    case org.w3c.dom.Node.ELEMENT_NODE:
3216:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3217:                        break;
3218:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3219:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3220:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3221:                        break;
3222:                    case org.w3c.dom.Node.TEXT_NODE:
3223:                        // ((org.w3c.dom.Text)node).getData();
3224:                        break;
3225:                    }
3226:                }
3227:            }
3228:
3229:            /**
3230:             * Scan through org.w3c.dom.Element named application-factory.
3231:             */
3232:            void visitElement_application_factory(org.w3c.dom.Element element) { // <application-factory>
3233:                // element.getValue();
3234:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3235:                for (int i = 0; i < attrs.getLength(); i++) {
3236:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3237:                    if (attr.getName().equals("id")) { // <application-factory
3238:                        // id="???">
3239:                        // attr.getValue();
3240:                    }
3241:                }
3242:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3243:                for (int i = 0; i < nodes.getLength(); i++) {
3244:                    org.w3c.dom.Node node = nodes.item(i);
3245:                    switch (node.getNodeType()) {
3246:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3247:                        // ((org.w3c.dom.CDATASection)node).getData();
3248:                        break;
3249:                    case org.w3c.dom.Node.ELEMENT_NODE:
3250:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3251:                        break;
3252:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3253:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3254:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3255:                        break;
3256:                    case org.w3c.dom.Node.TEXT_NODE:
3257:                        // ((org.w3c.dom.Text)node).getData();
3258:                        break;
3259:                    }
3260:                }
3261:            }
3262:
3263:            /**
3264:             * Scan through org.w3c.dom.Element named attribute-class.
3265:             */
3266:            void visitElement_attribute_class(org.w3c.dom.Element element) { // <attribute-class>
3267:                // element.getValue();
3268:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3269:                for (int i = 0; i < attrs.getLength(); i++) {
3270:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3271:                    if (attr.getName().equals("id")) { // <attribute-class id="???">
3272:                        // attr.getValue();
3273:                    }
3274:                }
3275:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3276:                for (int i = 0; i < nodes.getLength(); i++) {
3277:                    org.w3c.dom.Node node = nodes.item(i);
3278:                    switch (node.getNodeType()) {
3279:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3280:                        // ((org.w3c.dom.CDATASection)node).getData();
3281:                        break;
3282:                    case org.w3c.dom.Node.ELEMENT_NODE:
3283:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3284:                        break;
3285:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3286:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3287:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3288:                        break;
3289:                    case org.w3c.dom.Node.TEXT_NODE:
3290:                        // ((org.w3c.dom.Text)node).getData();
3291:                        break;
3292:                    }
3293:                }
3294:            }
3295:
3296:            /**
3297:             * Scan through org.w3c.dom.Element named attribute-name.
3298:             */
3299:            void visitElement_attribute_name(org.w3c.dom.Element element) { // <attribute-name>
3300:                // element.getValue();
3301:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3302:                for (int i = 0; i < attrs.getLength(); i++) {
3303:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3304:                    if (attr.getName().equals("id")) { // <attribute-name id="???">
3305:                        // attr.getValue();
3306:                    }
3307:                }
3308:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3309:                for (int i = 0; i < nodes.getLength(); i++) {
3310:                    org.w3c.dom.Node node = nodes.item(i);
3311:                    switch (node.getNodeType()) {
3312:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3313:                        // ((org.w3c.dom.CDATASection)node).getData();
3314:                        break;
3315:                    case org.w3c.dom.Node.ELEMENT_NODE:
3316:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3317:                        break;
3318:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3319:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3320:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3321:                        break;
3322:                    case org.w3c.dom.Node.TEXT_NODE:
3323:                        // ((org.w3c.dom.Text)node).getData();
3324:                        break;
3325:                    }
3326:                }
3327:            }
3328:
3329:            /**
3330:             * Scan through org.w3c.dom.Element named component-class.
3331:             */
3332:            void visitElement_component_class(org.w3c.dom.Element element) { // <component-class>
3333:                // element.getValue();
3334:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3335:                for (int i = 0; i < attrs.getLength(); i++) {
3336:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3337:                    if (attr.getName().equals("id")) { // <component-class id="???">
3338:                        // attr.getValue();
3339:                    }
3340:                }
3341:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3342:                for (int i = 0; i < nodes.getLength(); i++) {
3343:                    org.w3c.dom.Node node = nodes.item(i);
3344:                    switch (node.getNodeType()) {
3345:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3346:                        // ((org.w3c.dom.CDATASection)node).getData();
3347:                        break;
3348:                    case org.w3c.dom.Node.ELEMENT_NODE:
3349:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3350:                        break;
3351:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3352:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3353:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3354:                        break;
3355:                    case org.w3c.dom.Node.TEXT_NODE:
3356:                        // ((org.w3c.dom.Text)node).getData();
3357:                        break;
3358:                    }
3359:                }
3360:            }
3361:
3362:            /**
3363:             * Scan through org.w3c.dom.Element named component-family.
3364:             */
3365:            void visitElement_component_family(org.w3c.dom.Element element) { // <component-family>
3366:                // element.getValue();
3367:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3368:                for (int i = 0; i < attrs.getLength(); i++) {
3369:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3370:                    if (attr.getName().equals("id")) { // <component-family id="???">
3371:                        // attr.getValue();
3372:                    }
3373:                }
3374:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3375:                for (int i = 0; i < nodes.getLength(); i++) {
3376:                    org.w3c.dom.Node node = nodes.item(i);
3377:                    switch (node.getNodeType()) {
3378:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3379:                        // ((org.w3c.dom.CDATASection)node).getData();
3380:                        break;
3381:                    case org.w3c.dom.Node.ELEMENT_NODE:
3382:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3383:                        break;
3384:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3385:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3386:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3387:                        break;
3388:                    case org.w3c.dom.Node.TEXT_NODE:
3389:                        // ((org.w3c.dom.Text)node).getData();
3390:                        break;
3391:                    }
3392:                }
3393:            }
3394:
3395:            /**
3396:             * Scan through org.w3c.dom.Element named component-type.
3397:             */
3398:            void visitElement_component_type(org.w3c.dom.Element element) { // <component-type>
3399:                // element.getValue();
3400:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3401:                for (int i = 0; i < attrs.getLength(); i++) {
3402:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3403:                    if (attr.getName().equals("id")) { // <component-type id="???">
3404:                        // attr.getValue();
3405:                    }
3406:                }
3407:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3408:                for (int i = 0; i < nodes.getLength(); i++) {
3409:                    org.w3c.dom.Node node = nodes.item(i);
3410:                    switch (node.getNodeType()) {
3411:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3412:                        // ((org.w3c.dom.CDATASection)node).getData();
3413:                        break;
3414:                    case org.w3c.dom.Node.ELEMENT_NODE:
3415:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3416:                        break;
3417:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3418:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3419:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3420:                        break;
3421:                    case org.w3c.dom.Node.TEXT_NODE:
3422:                        // ((org.w3c.dom.Text)node).getData();
3423:                        break;
3424:                    }
3425:                }
3426:            }
3427:
3428:            /**
3429:             * Scan through org.w3c.dom.Element named converter-class.
3430:             */
3431:            void visitElement_converter_class(org.w3c.dom.Element element) { // <converter-class>
3432:                // element.getValue();
3433:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3434:                for (int i = 0; i < attrs.getLength(); i++) {
3435:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3436:                    if (attr.getName().equals("id")) { // <converter-class id="???">
3437:                        // attr.getValue();
3438:                    }
3439:                }
3440:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3441:                for (int i = 0; i < nodes.getLength(); i++) {
3442:                    org.w3c.dom.Node node = nodes.item(i);
3443:                    switch (node.getNodeType()) {
3444:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3445:                        // ((org.w3c.dom.CDATASection)node).getData();
3446:                        break;
3447:                    case org.w3c.dom.Node.ELEMENT_NODE:
3448:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3449:                        break;
3450:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3451:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3452:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3453:                        break;
3454:                    case org.w3c.dom.Node.TEXT_NODE:
3455:                        // ((org.w3c.dom.Text)node).getData();
3456:                        break;
3457:                    }
3458:                }
3459:            }
3460:
3461:            /**
3462:             * Scan through org.w3c.dom.Element named converter-for-class.
3463:             */
3464:            void visitElement_converter_for_class(org.w3c.dom.Element element) { // <converter-for-class>
3465:                // element.getValue();
3466:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3467:                for (int i = 0; i < attrs.getLength(); i++) {
3468:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3469:                    if (attr.getName().equals("id")) { // <converter-for-class
3470:                        // id="???">
3471:                        // attr.getValue();
3472:                    }
3473:                }
3474:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3475:                for (int i = 0; i < nodes.getLength(); i++) {
3476:                    org.w3c.dom.Node node = nodes.item(i);
3477:                    switch (node.getNodeType()) {
3478:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3479:                        // ((org.w3c.dom.CDATASection)node).getData();
3480:                        break;
3481:                    case org.w3c.dom.Node.ELEMENT_NODE:
3482:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3483:                        break;
3484:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3485:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3486:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3487:                        break;
3488:                    case org.w3c.dom.Node.TEXT_NODE:
3489:                        // ((org.w3c.dom.Text)node).getData();
3490:                        break;
3491:                    }
3492:                }
3493:            }
3494:
3495:            /**
3496:             * Scan through org.w3c.dom.Element named converter-id.
3497:             */
3498:            void visitElement_converter_id(org.w3c.dom.Element element) { // <converter-id>
3499:                // element.getValue();
3500:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3501:                for (int i = 0; i < attrs.getLength(); i++) {
3502:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3503:                    if (attr.getName().equals("id")) { // <converter-id id="???">
3504:                        // attr.getValue();
3505:                    }
3506:                }
3507:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3508:                for (int i = 0; i < nodes.getLength(); i++) {
3509:                    org.w3c.dom.Node node = nodes.item(i);
3510:                    switch (node.getNodeType()) {
3511:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3512:                        // ((org.w3c.dom.CDATASection)node).getData();
3513:                        break;
3514:                    case org.w3c.dom.Node.ELEMENT_NODE:
3515:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3516:                        break;
3517:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3518:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3519:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3520:                        break;
3521:                    case org.w3c.dom.Node.TEXT_NODE:
3522:                        // ((org.w3c.dom.Text)node).getData();
3523:                        break;
3524:                    }
3525:                }
3526:            }
3527:
3528:            /**
3529:             * Scan through org.w3c.dom.Element named default-render-kit-id.
3530:             */
3531:            void visitElement_default_render_kit_id(org.w3c.dom.Element element) { // <default-render-kit-id>
3532:                // element.getValue();
3533:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3534:                for (int i = 0; i < attrs.getLength(); i++) {
3535:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3536:                    if (attr.getName().equals("id")) { // <default-render-kit-id
3537:                        // id="???">
3538:                        // attr.getValue();
3539:                    }
3540:                }
3541:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3542:                for (int i = 0; i < nodes.getLength(); i++) {
3543:                    org.w3c.dom.Node node = nodes.item(i);
3544:                    switch (node.getNodeType()) {
3545:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3546:                        // ((org.w3c.dom.CDATASection)node).getData();
3547:                        break;
3548:                    case org.w3c.dom.Node.ELEMENT_NODE:
3549:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3550:                        break;
3551:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3552:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3553:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3554:                        break;
3555:                    case org.w3c.dom.Node.TEXT_NODE:
3556:                        // ((org.w3c.dom.Text)node).getData();
3557:                        break;
3558:                    }
3559:                }
3560:            }
3561:
3562:            /**
3563:             * Scan through org.w3c.dom.Element named default-locale.
3564:             */
3565:            void visitElement_default_locale(org.w3c.dom.Element element) { // <default-locale>
3566:                // element.getValue();
3567:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3568:                for (int i = 0; i < attrs.getLength(); i++) {
3569:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3570:                    if (attr.getName().equals("id")) { // <default-locale id="???">
3571:                        // attr.getValue();
3572:                    }
3573:                }
3574:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3575:                for (int i = 0; i < nodes.getLength(); i++) {
3576:                    org.w3c.dom.Node node = nodes.item(i);
3577:                    switch (node.getNodeType()) {
3578:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3579:                        // ((org.w3c.dom.CDATASection)node).getData();
3580:                        break;
3581:                    case org.w3c.dom.Node.ELEMENT_NODE:
3582:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3583:                        break;
3584:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3585:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3586:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3587:                        break;
3588:                    case org.w3c.dom.Node.TEXT_NODE:
3589:                        // ((org.w3c.dom.Text)node).getData();
3590:                        break;
3591:                    }
3592:                }
3593:            }
3594:
3595:            /**
3596:             * Scan through org.w3c.dom.Element named default-value.
3597:             */
3598:            void visitElement_default_value(org.w3c.dom.Element element) { // <default-value>
3599:                // element.getValue();
3600:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3601:                for (int i = 0; i < attrs.getLength(); i++) {
3602:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3603:                    if (attr.getName().equals("id")) { // <default-value id="???">
3604:                        // attr.getValue();
3605:                    }
3606:                }
3607:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3608:                for (int i = 0; i < nodes.getLength(); i++) {
3609:                    org.w3c.dom.Node node = nodes.item(i);
3610:                    switch (node.getNodeType()) {
3611:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3612:                        // ((org.w3c.dom.CDATASection)node).getData();
3613:                        break;
3614:                    case org.w3c.dom.Node.ELEMENT_NODE:
3615:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3616:                        break;
3617:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3618:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3619:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3620:                        break;
3621:                    case org.w3c.dom.Node.TEXT_NODE:
3622:                        // ((org.w3c.dom.Text)node).getData();
3623:                        break;
3624:                    }
3625:                }
3626:            }
3627:
3628:            /**
3629:             * Scan through org.w3c.dom.Element named description.
3630:             */
3631:            void visitElement_description(org.w3c.dom.Element element) { // <description>
3632:                // element.getValue();
3633:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3634:                for (int i = 0; i < attrs.getLength(); i++) {
3635:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3636:                    if (attr.getName().equals("xml:lang")) { // <description
3637:                        // xml:lang="???">
3638:                        // attr.getValue();
3639:                    }
3640:                    if (attr.getName().equals("id")) { // <description id="???">
3641:                        // attr.getValue();
3642:                    }
3643:                }
3644:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3645:                for (int i = 0; i < nodes.getLength(); i++) {
3646:                    org.w3c.dom.Node node = nodes.item(i);
3647:                    switch (node.getNodeType()) {
3648:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3649:                        // ((org.w3c.dom.CDATASection)node).getData();
3650:                        break;
3651:                    case org.w3c.dom.Node.ELEMENT_NODE:
3652:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3653:                        if (nodeElement.getTagName().equals("faces-config")) {
3654:                            visitElement_faces_config(nodeElement);
3655:                        }
3656:                        if (nodeElement.getTagName().equals("application")) {
3657:                            visitElement_application(nodeElement);
3658:                        }
3659:                        if (nodeElement.getTagName().equals("factory")) {
3660:                            visitElement_factory(nodeElement);
3661:                        }
3662:                        if (nodeElement.getTagName().equals("attribute")) {
3663:                            visitElement_attribute(nodeElement);
3664:                        }
3665:                        if (nodeElement.getTagName().equals(
3666:                                "attribute-extension")) {
3667:                            visitElement_attribute_extension(nodeElement);
3668:                        }
3669:                        if (nodeElement.getTagName().equals("component")) {
3670:                            visitElement_component(nodeElement);
3671:                        }
3672:                        if (nodeElement.getTagName().equals(
3673:                                "component-extension")) {
3674:                            visitElement_component_extension(nodeElement);
3675:                        }
3676:                        if (nodeElement.getTagName().equals("facet")) {
3677:                            visitElement_facet(nodeElement);
3678:                        }
3679:                        if (nodeElement.getTagName().equals("facet-extension")) {
3680:                            visitElement_facet_extension(nodeElement);
3681:                        }
3682:                        if (nodeElement.getTagName().equals("facet-name")) {
3683:                            visitElement_facet_name(nodeElement);
3684:                        }
3685:                        if (nodeElement.getTagName().equals("converter")) {
3686:                            visitElement_converter(nodeElement);
3687:                        }
3688:                        if (nodeElement.getTagName().equals("icon")) {
3689:                            visitElement_icon(nodeElement);
3690:                        }
3691:                        if (nodeElement.getTagName().equals("lifecycle")) {
3692:                            visitElement_lifecycle(nodeElement);
3693:                        }
3694:                        if (nodeElement.getTagName().equals("locale-config")) {
3695:                            visitElement_locale_config(nodeElement);
3696:                        }
3697:                        if (nodeElement.getTagName().equals("managed-bean")) {
3698:                            visitElement_managed_bean(nodeElement);
3699:                        }
3700:                        if (nodeElement.getTagName().equals("managed-property")) {
3701:                            visitElement_managed_property(nodeElement);
3702:                        }
3703:                        if (nodeElement.getTagName().equals("map-entry")) {
3704:                            visitElement_map_entry(nodeElement);
3705:                        }
3706:                        if (nodeElement.getTagName().equals("map-entries")) {
3707:                            visitElement_map_entries(nodeElement);
3708:                        }
3709:                        if (nodeElement.getTagName().equals("message-bundle")) {
3710:                            visitElement_message_bundle(nodeElement);
3711:                        }
3712:                        if (nodeElement.getTagName().equals("navigation-case")) {
3713:                            visitElement_navigation_case(nodeElement);
3714:                        }
3715:                        if (nodeElement.getTagName().equals("navigation-rule")) {
3716:                            visitElement_navigation_rule(nodeElement);
3717:                        }
3718:                        if (nodeElement.getTagName().equals("property")) {
3719:                            visitElement_property(nodeElement);
3720:                        }
3721:                        if (nodeElement.getTagName().equals(
3722:                                "property-extension")) {
3723:                            visitElement_property_extension(nodeElement);
3724:                        }
3725:                        if (nodeElement.getTagName().equals("referenced-bean")) {
3726:                            visitElement_referenced_bean(nodeElement);
3727:                        }
3728:                        if (nodeElement.getTagName().equals("render-kit")) {
3729:                            visitElement_render_kit(nodeElement);
3730:                        }
3731:                        if (nodeElement.getTagName().equals("renderer")) {
3732:                            visitElement_renderer(nodeElement);
3733:                        }
3734:                        if (nodeElement.getTagName().equals(
3735:                                "renderer-extension")) {
3736:                            visitElement_renderer_extension(nodeElement);
3737:                        }
3738:                        if (nodeElement.getTagName().equals("validator")) {
3739:                            visitElement_validator(nodeElement);
3740:                        }
3741:                        if (nodeElement.getTagName().equals("list-entries")) {
3742:                            visitElement_list_entries(nodeElement);
3743:                        }
3744:                        if (nodeElement.getTagName().equals("action-listener")) {
3745:                            visitElement_action_listener(nodeElement);
3746:                        }
3747:                        if (nodeElement.getTagName().equals(
3748:                                "application-factory")) {
3749:                            visitElement_application_factory(nodeElement);
3750:                        }
3751:                        if (nodeElement.getTagName().equals("attribute-class")) {
3752:                            visitElement_attribute_class(nodeElement);
3753:                        }
3754:                        if (nodeElement.getTagName().equals("attribute-name")) {
3755:                            visitElement_attribute_name(nodeElement);
3756:                        }
3757:                        if (nodeElement.getTagName().equals("component-class")) {
3758:                            visitElement_component_class(nodeElement);
3759:                        }
3760:                        if (nodeElement.getTagName().equals("component-family")) {
3761:                            visitElement_component_family(nodeElement);
3762:                        }
3763:                        if (nodeElement.getTagName().equals("component-type")) {
3764:                            visitElement_component_type(nodeElement);
3765:                        }
3766:                        if (nodeElement.getTagName().equals("converter-class")) {
3767:                            visitElement_converter_class(nodeElement);
3768:                        }
3769:                        if (nodeElement.getTagName().equals(
3770:                                "converter-for-class")) {
3771:                            visitElement_converter_for_class(nodeElement);
3772:                        }
3773:                        if (nodeElement.getTagName().equals("converter-id")) {
3774:                            visitElement_converter_id(nodeElement);
3775:                        }
3776:                        if (nodeElement.getTagName().equals(
3777:                                "default-render-kit-id")) {
3778:                            visitElement_default_render_kit_id(nodeElement);
3779:                        }
3780:                        if (nodeElement.getTagName().equals("default-locale")) {
3781:                            visitElement_default_locale(nodeElement);
3782:                        }
3783:                        if (nodeElement.getTagName().equals("default-value")) {
3784:                            visitElement_default_value(nodeElement);
3785:                        }
3786:                        if (nodeElement.getTagName().equals("description")) {
3787:                            visitElement_description(nodeElement);
3788:                        }
3789:                        if (nodeElement.getTagName().equals("display-name")) {
3790:                            visitElement_display_name(nodeElement);
3791:                        }
3792:                        if (nodeElement.getTagName().equals(
3793:                                "faces-context-factory")) {
3794:                            visitElement_faces_context_factory(nodeElement);
3795:                        }
3796:                        if (nodeElement.getTagName().equals("from-action")) {
3797:                            visitElement_from_action(nodeElement);
3798:                        }
3799:                        if (nodeElement.getTagName().equals("from-outcome")) {
3800:                            visitElement_from_outcome(nodeElement);
3801:                        }
3802:                        if (nodeElement.getTagName().equals("from-view-id")) {
3803:                            visitElement_from_view_id(nodeElement);
3804:                        }
3805:                        if (nodeElement.getTagName().equals("key")) {
3806:                            visitElement_key(nodeElement);
3807:                        }
3808:                        if (nodeElement.getTagName().equals("key-class")) {
3809:                            visitElement_key_class(nodeElement);
3810:                        }
3811:                        if (nodeElement.getTagName().equals("large-icon")) {
3812:                            visitElement_large_icon(nodeElement);
3813:                        }
3814:                        if (nodeElement.getTagName()
3815:                                .equals("lifecycle-factory")) {
3816:                            visitElement_lifecycle_factory(nodeElement);
3817:                        }
3818:                        if (nodeElement.getTagName().equals(
3819:                                "managed-bean-class")) {
3820:                            visitElement_managed_bean_class(nodeElement);
3821:                        }
3822:                        if (nodeElement.getTagName()
3823:                                .equals("managed-bean-name")) {
3824:                            visitElement_managed_bean_name(nodeElement);
3825:                        }
3826:                        if (nodeElement.getTagName().equals(
3827:                                "managed-bean-scope")) {
3828:                            visitElement_managed_bean_scope(nodeElement);
3829:                        }
3830:                        if (nodeElement.getTagName().equals(
3831:                                "navigation-handler")) {
3832:                            visitElement_navigation_handler(nodeElement);
3833:                        }
3834:                        if (nodeElement.getTagName().equals("phase-listener")) {
3835:                            visitElement_phase_listener(nodeElement);
3836:                        }
3837:                        if (nodeElement.getTagName().equals("redirect")) {
3838:                            visitElement_redirect(nodeElement);
3839:                        }
3840:                        if (nodeElement.getTagName().equals("suggested-value")) {
3841:                            visitElement_suggested_value(nodeElement);
3842:                        }
3843:                        if (nodeElement.getTagName().equals("view-handler")) {
3844:                            visitElement_view_handler(nodeElement);
3845:                        }
3846:                        if (nodeElement.getTagName().equals("state-manager")) {
3847:                            visitElement_state_manager(nodeElement);
3848:                        }
3849:                        if (nodeElement.getTagName().equals("null-value")) {
3850:                            visitElement_null_value(nodeElement);
3851:                        }
3852:                        if (nodeElement.getTagName().equals("property-class")) {
3853:                            visitElement_property_class(nodeElement);
3854:                        }
3855:                        if (nodeElement.getTagName().equals("property-name")) {
3856:                            visitElement_property_name(nodeElement);
3857:                        }
3858:                        if (nodeElement.getTagName()
3859:                                .equals("property-resolver")) {
3860:                            visitElement_property_resolver(nodeElement);
3861:                        }
3862:                        if (nodeElement.getTagName().equals(
3863:                                "referenced-bean-class")) {
3864:                            visitElement_referenced_bean_class(nodeElement);
3865:                        }
3866:                        if (nodeElement.getTagName().equals(
3867:                                "referenced-bean-name")) {
3868:                            visitElement_referenced_bean_name(nodeElement);
3869:                        }
3870:                        if (nodeElement.getTagName().equals("render-kit-id")) {
3871:                            visitElement_render_kit_id(nodeElement);
3872:                        }
3873:                        if (nodeElement.getTagName().equals("render-kit-class")) {
3874:                            visitElement_render_kit_class(nodeElement);
3875:                        }
3876:                        if (nodeElement.getTagName().equals("renderer-class")) {
3877:                            visitElement_renderer_class(nodeElement);
3878:                        }
3879:                        if (nodeElement.getTagName().equals(
3880:                                "render-kit-factory")) {
3881:                            visitElement_render_kit_factory(nodeElement);
3882:                        }
3883:                        if (nodeElement.getTagName().equals("renderer-type")) {
3884:                            visitElement_renderer_type(nodeElement);
3885:                        }
3886:                        if (nodeElement.getTagName().equals("small-icon")) {
3887:                            visitElement_small_icon(nodeElement);
3888:                        }
3889:                        if (nodeElement.getTagName().equals("supported-locale")) {
3890:                            visitElement_supported_locale(nodeElement);
3891:                        }
3892:                        if (nodeElement.getTagName().equals("to-view-id")) {
3893:                            visitElement_to_view_id(nodeElement);
3894:                        }
3895:                        if (nodeElement.getTagName().equals("validator-class")) {
3896:                            visitElement_validator_class(nodeElement);
3897:                        }
3898:                        if (nodeElement.getTagName().equals("validator-id")) {
3899:                            visitElement_validator_id(nodeElement);
3900:                        }
3901:                        if (nodeElement.getTagName().equals("value")) {
3902:                            visitElement_value(nodeElement);
3903:                        }
3904:                        if (nodeElement.getTagName().equals("value-class")) {
3905:                            visitElement_value_class(nodeElement);
3906:                        }
3907:                        if (nodeElement.getTagName()
3908:                                .equals("variable-resolver")) {
3909:                            visitElement_variable_resolver(nodeElement);
3910:                        }
3911:                        break;
3912:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3913:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3914:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3915:                        break;
3916:                    case org.w3c.dom.Node.TEXT_NODE:
3917:                        // ((org.w3c.dom.Text)node).getData();
3918:                        break;
3919:                    }
3920:                }
3921:            }
3922:
3923:            /**
3924:             * Scan through org.w3c.dom.Element named display-name.
3925:             */
3926:            void visitElement_display_name(org.w3c.dom.Element element) { // <display-name>
3927:                // element.getValue();
3928:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3929:                for (int i = 0; i < attrs.getLength(); i++) {
3930:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3931:                    if (attr.getName().equals("xml:lang")) { // <display-name
3932:                        // xml:lang="???">
3933:                        // attr.getValue();
3934:                    }
3935:                    if (attr.getName().equals("id")) { // <display-name id="???">
3936:                        // attr.getValue();
3937:                    }
3938:                }
3939:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3940:                for (int i = 0; i < nodes.getLength(); i++) {
3941:                    org.w3c.dom.Node node = nodes.item(i);
3942:                    switch (node.getNodeType()) {
3943:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3944:                        // ((org.w3c.dom.CDATASection)node).getData();
3945:                        break;
3946:                    case org.w3c.dom.Node.ELEMENT_NODE:
3947:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3948:                        break;
3949:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3950:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3951:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3952:                        break;
3953:                    case org.w3c.dom.Node.TEXT_NODE:
3954:                        // ((org.w3c.dom.Text)node).getData();
3955:                        break;
3956:                    }
3957:                }
3958:            }
3959:
3960:            /**
3961:             * Scan through org.w3c.dom.Element named faces-context-factory.
3962:             */
3963:            void visitElement_faces_context_factory(org.w3c.dom.Element element) { // <faces-context-factory>
3964:                // element.getValue();
3965:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
3966:                for (int i = 0; i < attrs.getLength(); i++) {
3967:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
3968:                    if (attr.getName().equals("id")) { // <faces-context-factory
3969:                        // id="???">
3970:                        // attr.getValue();
3971:                    }
3972:                }
3973:                org.w3c.dom.NodeList nodes = element.getChildNodes();
3974:                for (int i = 0; i < nodes.getLength(); i++) {
3975:                    org.w3c.dom.Node node = nodes.item(i);
3976:                    switch (node.getNodeType()) {
3977:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
3978:                        // ((org.w3c.dom.CDATASection)node).getData();
3979:                        break;
3980:                    case org.w3c.dom.Node.ELEMENT_NODE:
3981:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
3982:                        break;
3983:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
3984:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
3985:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
3986:                        break;
3987:                    case org.w3c.dom.Node.TEXT_NODE:
3988:                        // ((org.w3c.dom.Text)node).getData();
3989:                        break;
3990:                    }
3991:                }
3992:            }
3993:
3994:            /**
3995:             * Scan through org.w3c.dom.Element named from-action.
3996:             */
3997:            void visitElement_from_action(org.w3c.dom.Element element) { // <from-action>
3998:                // element.getValue();
3999:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4000:                for (int i = 0; i < attrs.getLength(); i++) {
4001:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4002:                    if (attr.getName().equals("id")) { // <from-action id="???">
4003:                        // attr.getValue();
4004:                    }
4005:                }
4006:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4007:                for (int i = 0; i < nodes.getLength(); i++) {
4008:                    org.w3c.dom.Node node = nodes.item(i);
4009:                    switch (node.getNodeType()) {
4010:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4011:                        // ((org.w3c.dom.CDATASection)node).getData();
4012:                        break;
4013:                    case org.w3c.dom.Node.ELEMENT_NODE:
4014:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4015:                        break;
4016:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4017:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4018:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4019:                        break;
4020:                    case org.w3c.dom.Node.TEXT_NODE:
4021:                        // ((org.w3c.dom.Text)node).getData();
4022:                        break;
4023:                    }
4024:                }
4025:            }
4026:
4027:            /**
4028:             * Scan through org.w3c.dom.Element named from-outcome.
4029:             */
4030:            void visitElement_from_outcome(org.w3c.dom.Element element) { // <from-outcome>
4031:                // element.getValue();
4032:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4033:                for (int i = 0; i < attrs.getLength(); i++) {
4034:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4035:                    if (attr.getName().equals("id")) { // <from-outcome id="???">
4036:                        // attr.getValue();
4037:                    }
4038:                }
4039:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4040:                for (int i = 0; i < nodes.getLength(); i++) {
4041:                    org.w3c.dom.Node node = nodes.item(i);
4042:                    switch (node.getNodeType()) {
4043:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4044:                        // ((org.w3c.dom.CDATASection)node).getData();
4045:                        break;
4046:                    case org.w3c.dom.Node.ELEMENT_NODE:
4047:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4048:                        break;
4049:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4050:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4051:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4052:                        break;
4053:                    case org.w3c.dom.Node.TEXT_NODE:
4054:                        // ((org.w3c.dom.Text)node).getData();
4055:                        break;
4056:                    }
4057:                }
4058:            }
4059:
4060:            /**
4061:             * Scan through org.w3c.dom.Element named from-view-id.
4062:             */
4063:            void visitElement_from_view_id(org.w3c.dom.Element element) { // <from-view-id>
4064:                // element.getValue();
4065:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4066:                for (int i = 0; i < attrs.getLength(); i++) {
4067:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4068:                    if (attr.getName().equals("id")) { // <from-view-id id="???">
4069:                        // attr.getValue();
4070:                    }
4071:                }
4072:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4073:                for (int i = 0; i < nodes.getLength(); i++) {
4074:                    org.w3c.dom.Node node = nodes.item(i);
4075:                    switch (node.getNodeType()) {
4076:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4077:                        // ((org.w3c.dom.CDATASection)node).getData();
4078:                        break;
4079:                    case org.w3c.dom.Node.ELEMENT_NODE:
4080:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4081:                        break;
4082:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4083:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4084:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4085:                        break;
4086:                    case org.w3c.dom.Node.TEXT_NODE:
4087:                        // ((org.w3c.dom.Text)node).getData();
4088:                        break;
4089:                    }
4090:                }
4091:            }
4092:
4093:            /**
4094:             * Scan through org.w3c.dom.Element named key.
4095:             */
4096:            void visitElement_key(org.w3c.dom.Element element) { // <key>
4097:                // element.getValue();
4098:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4099:                for (int i = 0; i < attrs.getLength(); i++) {
4100:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4101:                    if (attr.getName().equals("id")) { // <key id="???">
4102:                        // attr.getValue();
4103:                    }
4104:                }
4105:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4106:                for (int i = 0; i < nodes.getLength(); i++) {
4107:                    org.w3c.dom.Node node = nodes.item(i);
4108:                    switch (node.getNodeType()) {
4109:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4110:                        // ((org.w3c.dom.CDATASection)node).getData();
4111:                        break;
4112:                    case org.w3c.dom.Node.ELEMENT_NODE:
4113:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4114:                        break;
4115:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4116:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4117:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4118:                        break;
4119:                    case org.w3c.dom.Node.TEXT_NODE:
4120:                        // ((org.w3c.dom.Text)node).getData();
4121:                        break;
4122:                    }
4123:                }
4124:            }
4125:
4126:            /**
4127:             * Scan through org.w3c.dom.Element named key-class.
4128:             */
4129:            void visitElement_key_class(org.w3c.dom.Element element) { // <key-class>
4130:                // element.getValue();
4131:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4132:                for (int i = 0; i < attrs.getLength(); i++) {
4133:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4134:                    if (attr.getName().equals("id")) { // <key-class id="???">
4135:                        // attr.getValue();
4136:                    }
4137:                }
4138:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4139:                for (int i = 0; i < nodes.getLength(); i++) {
4140:                    org.w3c.dom.Node node = nodes.item(i);
4141:                    switch (node.getNodeType()) {
4142:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4143:                        // ((org.w3c.dom.CDATASection)node).getData();
4144:                        break;
4145:                    case org.w3c.dom.Node.ELEMENT_NODE:
4146:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4147:                        break;
4148:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4149:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4150:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4151:                        break;
4152:                    case org.w3c.dom.Node.TEXT_NODE:
4153:                        // ((org.w3c.dom.Text)node).getData();
4154:                        break;
4155:                    }
4156:                }
4157:            }
4158:
4159:            /**
4160:             * Scan through org.w3c.dom.Element named large-icon.
4161:             */
4162:            void visitElement_large_icon(org.w3c.dom.Element element) { // <large-icon>
4163:                // element.getValue();
4164:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4165:                for (int i = 0; i < attrs.getLength(); i++) {
4166:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4167:                    if (attr.getName().equals("id")) { // <large-icon id="???">
4168:                        // attr.getValue();
4169:                    }
4170:                }
4171:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4172:                for (int i = 0; i < nodes.getLength(); i++) {
4173:                    org.w3c.dom.Node node = nodes.item(i);
4174:                    switch (node.getNodeType()) {
4175:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4176:                        // ((org.w3c.dom.CDATASection)node).getData();
4177:                        break;
4178:                    case org.w3c.dom.Node.ELEMENT_NODE:
4179:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4180:                        break;
4181:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4182:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4183:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4184:                        break;
4185:                    case org.w3c.dom.Node.TEXT_NODE:
4186:                        // ((org.w3c.dom.Text)node).getData();
4187:                        break;
4188:                    }
4189:                }
4190:            }
4191:
4192:            /**
4193:             * Scan through org.w3c.dom.Element named lifecycle-factory.
4194:             */
4195:            void visitElement_lifecycle_factory(org.w3c.dom.Element element) { // <lifecycle-factory>
4196:                // element.getValue();
4197:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4198:                for (int i = 0; i < attrs.getLength(); i++) {
4199:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4200:                    if (attr.getName().equals("id")) { // <lifecycle-factory id="???">
4201:                        // attr.getValue();
4202:                    }
4203:                }
4204:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4205:                for (int i = 0; i < nodes.getLength(); i++) {
4206:                    org.w3c.dom.Node node = nodes.item(i);
4207:                    switch (node.getNodeType()) {
4208:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4209:                        // ((org.w3c.dom.CDATASection)node).getData();
4210:                        break;
4211:                    case org.w3c.dom.Node.ELEMENT_NODE:
4212:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4213:                        break;
4214:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4215:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4216:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4217:                        break;
4218:                    case org.w3c.dom.Node.TEXT_NODE:
4219:                        // ((org.w3c.dom.Text)node).getData();
4220:                        break;
4221:                    }
4222:                }
4223:            }
4224:
4225:            /**
4226:             * Scan through org.w3c.dom.Element named managed-bean-class.
4227:             */
4228:            void visitElement_managed_bean_class(org.w3c.dom.Element element) { // <managed-bean-class>
4229:                // element.getValue();
4230:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4231:                for (int i = 0; i < attrs.getLength(); i++) {
4232:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4233:                    if (attr.getName().equals("id")) { // <managed-bean-class id="???">
4234:                        // attr.getValue();
4235:                    }
4236:                }
4237:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4238:                for (int i = 0; i < nodes.getLength(); i++) {
4239:                    org.w3c.dom.Node node = nodes.item(i);
4240:                    switch (node.getNodeType()) {
4241:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4242:                        // ((org.w3c.dom.CDATASection)node).getData();
4243:                        break;
4244:                    case org.w3c.dom.Node.ELEMENT_NODE:
4245:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4246:                        break;
4247:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4248:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4249:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4250:                        break;
4251:                    case org.w3c.dom.Node.TEXT_NODE:
4252:                        // ((org.w3c.dom.Text)node).getData();
4253:                        break;
4254:                    }
4255:                }
4256:            }
4257:
4258:            /**
4259:             * Scan through org.w3c.dom.Element named managed-bean-name.
4260:             */
4261:            void visitElement_managed_bean_name(org.w3c.dom.Element element) { // <managed-bean-name>
4262:                // element.getValue();
4263:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4264:                for (int i = 0; i < attrs.getLength(); i++) {
4265:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4266:                    if (attr.getName().equals("id")) { // <managed-bean-name id="???">
4267:                        // attr.getValue();
4268:                    }
4269:                }
4270:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4271:                for (int i = 0; i < nodes.getLength(); i++) {
4272:                    org.w3c.dom.Node node = nodes.item(i);
4273:                    switch (node.getNodeType()) {
4274:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4275:                        // ((org.w3c.dom.CDATASection)node).getData();
4276:                        break;
4277:                    case org.w3c.dom.Node.ELEMENT_NODE:
4278:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4279:                        break;
4280:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4281:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4282:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4283:                        break;
4284:                    case org.w3c.dom.Node.TEXT_NODE:
4285:                        // ((org.w3c.dom.Text)node).getData();
4286:                        break;
4287:                    }
4288:                }
4289:            }
4290:
4291:            /**
4292:             * Scan through org.w3c.dom.Element named managed-bean-scope.
4293:             */
4294:            void visitElement_managed_bean_scope(org.w3c.dom.Element element) { // <managed-bean-scope>
4295:                // element.getValue();
4296:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4297:                for (int i = 0; i < attrs.getLength(); i++) {
4298:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4299:                    if (attr.getName().equals("id")) { // <managed-bean-scope id="???">
4300:                        // attr.getValue();
4301:                    }
4302:                }
4303:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4304:                for (int i = 0; i < nodes.getLength(); i++) {
4305:                    org.w3c.dom.Node node = nodes.item(i);
4306:                    switch (node.getNodeType()) {
4307:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4308:                        // ((org.w3c.dom.CDATASection)node).getData();
4309:                        break;
4310:                    case org.w3c.dom.Node.ELEMENT_NODE:
4311:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4312:                        break;
4313:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4314:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4315:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4316:                        break;
4317:                    case org.w3c.dom.Node.TEXT_NODE:
4318:                        // ((org.w3c.dom.Text)node).getData();
4319:                        break;
4320:                    }
4321:                }
4322:            }
4323:
4324:            /**
4325:             * Scan through org.w3c.dom.Element named navigation-handler.
4326:             */
4327:            void visitElement_navigation_handler(org.w3c.dom.Element element) { // <navigation-handler>
4328:                // element.getValue();
4329:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4330:                for (int i = 0; i < attrs.getLength(); i++) {
4331:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4332:                    if (attr.getName().equals("id")) { // <navigation-handler id="???">
4333:                        // attr.getValue();
4334:                    }
4335:                }
4336:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4337:                for (int i = 0; i < nodes.getLength(); i++) {
4338:                    org.w3c.dom.Node node = nodes.item(i);
4339:                    switch (node.getNodeType()) {
4340:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4341:                        // ((org.w3c.dom.CDATASection)node).getData();
4342:                        break;
4343:                    case org.w3c.dom.Node.ELEMENT_NODE:
4344:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4345:                        break;
4346:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4347:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4348:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4349:                        break;
4350:                    case org.w3c.dom.Node.TEXT_NODE:
4351:                        // ((org.w3c.dom.Text)node).getData();
4352:                        break;
4353:                    }
4354:                }
4355:            }
4356:
4357:            /**
4358:             * Scan through org.w3c.dom.Element named phase-listener.
4359:             */
4360:            void visitElement_phase_listener(org.w3c.dom.Element element) { // <phase-listener>
4361:                // element.getValue();
4362:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4363:                for (int i = 0; i < attrs.getLength(); i++) {
4364:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4365:                    if (attr.getName().equals("id")) { // <phase-listener id="???">
4366:                        // attr.getValue();
4367:                    }
4368:                }
4369:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4370:                for (int i = 0; i < nodes.getLength(); i++) {
4371:                    org.w3c.dom.Node node = nodes.item(i);
4372:                    switch (node.getNodeType()) {
4373:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4374:                        // ((org.w3c.dom.CDATASection)node).getData();
4375:                        break;
4376:                    case org.w3c.dom.Node.ELEMENT_NODE:
4377:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4378:                        break;
4379:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4380:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4381:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4382:                        break;
4383:                    case org.w3c.dom.Node.TEXT_NODE:
4384:                        // ((org.w3c.dom.Text)node).getData();
4385:                        break;
4386:                    }
4387:                }
4388:            }
4389:
4390:            /**
4391:             * Scan through org.w3c.dom.Element named redirect.
4392:             */
4393:            void visitElement_redirect(org.w3c.dom.Element element) { // <redirect>
4394:                // element.getValue();
4395:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4396:                for (int i = 0; i < attrs.getLength(); i++) {
4397:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4398:                    if (attr.getName().equals("id")) { // <redirect id="???">
4399:                        // attr.getValue();
4400:                    }
4401:                }
4402:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4403:                for (int i = 0; i < nodes.getLength(); i++) {
4404:                    org.w3c.dom.Node node = nodes.item(i);
4405:                    switch (node.getNodeType()) {
4406:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4407:                        // ((org.w3c.dom.CDATASection)node).getData();
4408:                        break;
4409:                    case org.w3c.dom.Node.ELEMENT_NODE:
4410:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4411:                        break;
4412:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4413:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4414:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4415:                        break;
4416:                    }
4417:                }
4418:            }
4419:
4420:            /**
4421:             * Scan through org.w3c.dom.Element named suggested-value.
4422:             */
4423:            void visitElement_suggested_value(org.w3c.dom.Element element) { // <suggested-value>
4424:                // element.getValue();
4425:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4426:                for (int i = 0; i < attrs.getLength(); i++) {
4427:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4428:                    if (attr.getName().equals("id")) { // <suggested-value id="???">
4429:                        // attr.getValue();
4430:                    }
4431:                }
4432:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4433:                for (int i = 0; i < nodes.getLength(); i++) {
4434:                    org.w3c.dom.Node node = nodes.item(i);
4435:                    switch (node.getNodeType()) {
4436:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4437:                        // ((org.w3c.dom.CDATASection)node).getData();
4438:                        break;
4439:                    case org.w3c.dom.Node.ELEMENT_NODE:
4440:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4441:                        break;
4442:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4443:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4444:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4445:                        break;
4446:                    case org.w3c.dom.Node.TEXT_NODE:
4447:                        // ((org.w3c.dom.Text)node).getData();
4448:                        break;
4449:                    }
4450:                }
4451:            }
4452:
4453:            /**
4454:             * Scan through org.w3c.dom.Element named view-handler.
4455:             */
4456:            void visitElement_view_handler(org.w3c.dom.Element element) { // <view-handler>
4457:                // element.getValue();
4458:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4459:                for (int i = 0; i < attrs.getLength(); i++) {
4460:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4461:                    if (attr.getName().equals("id")) { // <view-handler id="???">
4462:                        // attr.getValue();
4463:                    }
4464:                }
4465:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4466:                for (int i = 0; i < nodes.getLength(); i++) {
4467:                    org.w3c.dom.Node node = nodes.item(i);
4468:                    switch (node.getNodeType()) {
4469:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4470:                        // ((org.w3c.dom.CDATASection)node).getData();
4471:                        break;
4472:                    case org.w3c.dom.Node.ELEMENT_NODE:
4473:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4474:                        break;
4475:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4476:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4477:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4478:                        break;
4479:                    case org.w3c.dom.Node.TEXT_NODE:
4480:                        // ((org.w3c.dom.Text)node).getData();
4481:                        break;
4482:                    }
4483:                }
4484:            }
4485:
4486:            /**
4487:             * Scan through org.w3c.dom.Element named state-manager.
4488:             */
4489:            void visitElement_state_manager(org.w3c.dom.Element element) { // <state-manager>
4490:                // element.getValue();
4491:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4492:                for (int i = 0; i < attrs.getLength(); i++) {
4493:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4494:                    if (attr.getName().equals("id")) { // <state-manager id="???">
4495:                        // attr.getValue();
4496:                    }
4497:                }
4498:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4499:                for (int i = 0; i < nodes.getLength(); i++) {
4500:                    org.w3c.dom.Node node = nodes.item(i);
4501:                    switch (node.getNodeType()) {
4502:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4503:                        // ((org.w3c.dom.CDATASection)node).getData();
4504:                        break;
4505:                    case org.w3c.dom.Node.ELEMENT_NODE:
4506:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4507:                        break;
4508:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4509:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4510:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4511:                        break;
4512:                    case org.w3c.dom.Node.TEXT_NODE:
4513:                        // ((org.w3c.dom.Text)node).getData();
4514:                        break;
4515:                    }
4516:                }
4517:            }
4518:
4519:            /**
4520:             * Scan through org.w3c.dom.Element named null-value.
4521:             */
4522:            void visitElement_null_value(org.w3c.dom.Element element) { // <null-value>
4523:                // element.getValue();
4524:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4525:                for (int i = 0; i < attrs.getLength(); i++) {
4526:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4527:                    if (attr.getName().equals("id")) { // <null-value id="???">
4528:                        // attr.getValue();
4529:                    }
4530:                }
4531:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4532:                for (int i = 0; i < nodes.getLength(); i++) {
4533:                    org.w3c.dom.Node node = nodes.item(i);
4534:                    switch (node.getNodeType()) {
4535:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4536:                        // ((org.w3c.dom.CDATASection)node).getData();
4537:                        break;
4538:                    case org.w3c.dom.Node.ELEMENT_NODE:
4539:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4540:                        break;
4541:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4542:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4543:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4544:                        break;
4545:                    }
4546:                }
4547:            }
4548:
4549:            /**
4550:             * Scan through org.w3c.dom.Element named property-class.
4551:             */
4552:            void visitElement_property_class(org.w3c.dom.Element element) { // <property-class>
4553:                // element.getValue();
4554:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4555:                for (int i = 0; i < attrs.getLength(); i++) {
4556:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4557:                    if (attr.getName().equals("id")) { // <property-class id="???">
4558:                        // attr.getValue();
4559:                    }
4560:                }
4561:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4562:                for (int i = 0; i < nodes.getLength(); i++) {
4563:                    org.w3c.dom.Node node = nodes.item(i);
4564:                    switch (node.getNodeType()) {
4565:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4566:                        // ((org.w3c.dom.CDATASection)node).getData();
4567:                        break;
4568:                    case org.w3c.dom.Node.ELEMENT_NODE:
4569:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4570:                        break;
4571:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4572:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4573:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4574:                        break;
4575:                    case org.w3c.dom.Node.TEXT_NODE:
4576:                        // ((org.w3c.dom.Text)node).getData();
4577:                        break;
4578:                    }
4579:                }
4580:            }
4581:
4582:            /**
4583:             * Scan through org.w3c.dom.Element named property-name.
4584:             */
4585:            void visitElement_property_name(org.w3c.dom.Element element) { // <property-name>
4586:                // element.getValue();
4587:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4588:                for (int i = 0; i < attrs.getLength(); i++) {
4589:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4590:                    if (attr.getName().equals("id")) { // <property-name id="???">
4591:                        // attr.getValue();
4592:                    }
4593:                }
4594:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4595:                for (int i = 0; i < nodes.getLength(); i++) {
4596:                    org.w3c.dom.Node node = nodes.item(i);
4597:                    switch (node.getNodeType()) {
4598:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4599:                        // ((org.w3c.dom.CDATASection)node).getData();
4600:                        break;
4601:                    case org.w3c.dom.Node.ELEMENT_NODE:
4602:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4603:                        break;
4604:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4605:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4606:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4607:                        break;
4608:                    case org.w3c.dom.Node.TEXT_NODE:
4609:                        // ((org.w3c.dom.Text)node).getData();
4610:                        break;
4611:                    }
4612:                }
4613:            }
4614:
4615:            /**
4616:             * Scan through org.w3c.dom.Element named property-resolver.
4617:             */
4618:            void visitElement_property_resolver(org.w3c.dom.Element element) { // <property-resolver>
4619:                // element.getValue();
4620:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4621:                for (int i = 0; i < attrs.getLength(); i++) {
4622:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4623:                    if (attr.getName().equals("id")) { // <property-resolver id="???">
4624:                        // attr.getValue();
4625:                    }
4626:                }
4627:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4628:                for (int i = 0; i < nodes.getLength(); i++) {
4629:                    org.w3c.dom.Node node = nodes.item(i);
4630:                    switch (node.getNodeType()) {
4631:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4632:                        // ((org.w3c.dom.CDATASection)node).getData();
4633:                        break;
4634:                    case org.w3c.dom.Node.ELEMENT_NODE:
4635:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4636:                        break;
4637:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4638:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4639:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4640:                        break;
4641:                    case org.w3c.dom.Node.TEXT_NODE:
4642:                        // ((org.w3c.dom.Text)node).getData();
4643:                        break;
4644:                    }
4645:                }
4646:            }
4647:
4648:            /**
4649:             * Scan through org.w3c.dom.Element named referenced-bean-class.
4650:             */
4651:            void visitElement_referenced_bean_class(org.w3c.dom.Element element) { // <referenced-bean-class>
4652:                // element.getValue();
4653:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4654:                for (int i = 0; i < attrs.getLength(); i++) {
4655:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4656:                    if (attr.getName().equals("id")) { // <referenced-bean-class
4657:                        // id="???">
4658:                        // attr.getValue();
4659:                    }
4660:                }
4661:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4662:                for (int i = 0; i < nodes.getLength(); i++) {
4663:                    org.w3c.dom.Node node = nodes.item(i);
4664:                    switch (node.getNodeType()) {
4665:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4666:                        // ((org.w3c.dom.CDATASection)node).getData();
4667:                        break;
4668:                    case org.w3c.dom.Node.ELEMENT_NODE:
4669:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4670:                        break;
4671:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4672:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4673:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4674:                        break;
4675:                    case org.w3c.dom.Node.TEXT_NODE:
4676:                        // ((org.w3c.dom.Text)node).getData();
4677:                        break;
4678:                    }
4679:                }
4680:            }
4681:
4682:            /**
4683:             * Scan through org.w3c.dom.Element named referenced-bean-name.
4684:             */
4685:            void visitElement_referenced_bean_name(org.w3c.dom.Element element) { // <referenced-bean-name>
4686:                // element.getValue();
4687:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4688:                for (int i = 0; i < attrs.getLength(); i++) {
4689:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4690:                    if (attr.getName().equals("id")) { // <referenced-bean-name
4691:                        // id="???">
4692:                        // attr.getValue();
4693:                    }
4694:                }
4695:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4696:                for (int i = 0; i < nodes.getLength(); i++) {
4697:                    org.w3c.dom.Node node = nodes.item(i);
4698:                    switch (node.getNodeType()) {
4699:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4700:                        // ((org.w3c.dom.CDATASection)node).getData();
4701:                        break;
4702:                    case org.w3c.dom.Node.ELEMENT_NODE:
4703:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4704:                        break;
4705:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4706:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4707:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4708:                        break;
4709:                    case org.w3c.dom.Node.TEXT_NODE:
4710:                        // ((org.w3c.dom.Text)node).getData();
4711:                        break;
4712:                    }
4713:                }
4714:            }
4715:
4716:            /**
4717:             * Scan through org.w3c.dom.Element named render-kit-id.
4718:             */
4719:            void visitElement_render_kit_id(org.w3c.dom.Element element) { // <render-kit-id>
4720:                // element.getValue();
4721:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4722:                for (int i = 0; i < attrs.getLength(); i++) {
4723:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4724:                    if (attr.getName().equals("id")) { // <render-kit-id id="???">
4725:                        // attr.getValue();
4726:                    }
4727:                }
4728:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4729:                for (int i = 0; i < nodes.getLength(); i++) {
4730:                    org.w3c.dom.Node node = nodes.item(i);
4731:                    switch (node.getNodeType()) {
4732:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4733:                        // ((org.w3c.dom.CDATASection)node).getData();
4734:                        break;
4735:                    case org.w3c.dom.Node.ELEMENT_NODE:
4736:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4737:                        break;
4738:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4739:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4740:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4741:                        break;
4742:                    case org.w3c.dom.Node.TEXT_NODE:
4743:                        // ((org.w3c.dom.Text)node).getData();
4744:                        break;
4745:                    }
4746:                }
4747:            }
4748:
4749:            /**
4750:             * Scan through org.w3c.dom.Element named render-kit-class.
4751:             */
4752:            void visitElement_render_kit_class(org.w3c.dom.Element element) { // <render-kit-class>
4753:                // element.getValue();
4754:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4755:                for (int i = 0; i < attrs.getLength(); i++) {
4756:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4757:                    if (attr.getName().equals("id")) { // <render-kit-class id="???">
4758:                        // attr.getValue();
4759:                    }
4760:                }
4761:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4762:                for (int i = 0; i < nodes.getLength(); i++) {
4763:                    org.w3c.dom.Node node = nodes.item(i);
4764:                    switch (node.getNodeType()) {
4765:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4766:                        // ((org.w3c.dom.CDATASection)node).getData();
4767:                        break;
4768:                    case org.w3c.dom.Node.ELEMENT_NODE:
4769:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4770:                        break;
4771:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4772:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4773:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4774:                        break;
4775:                    case org.w3c.dom.Node.TEXT_NODE:
4776:                        // ((org.w3c.dom.Text)node).getData();
4777:                        break;
4778:                    }
4779:                }
4780:            }
4781:
4782:            /**
4783:             * Scan through org.w3c.dom.Element named renderer-class.
4784:             */
4785:            void visitElement_renderer_class(org.w3c.dom.Element element) { // <renderer-class>
4786:                // element.getValue();
4787:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4788:                for (int i = 0; i < attrs.getLength(); i++) {
4789:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4790:                    if (attr.getName().equals("id")) { // <renderer-class id="???">
4791:                        // attr.getValue();
4792:                    }
4793:                }
4794:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4795:                for (int i = 0; i < nodes.getLength(); i++) {
4796:                    org.w3c.dom.Node node = nodes.item(i);
4797:                    switch (node.getNodeType()) {
4798:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4799:                        // ((org.w3c.dom.CDATASection)node).getData();
4800:                        break;
4801:                    case org.w3c.dom.Node.ELEMENT_NODE:
4802:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4803:                        break;
4804:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4805:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4806:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4807:                        break;
4808:                    case org.w3c.dom.Node.TEXT_NODE:
4809:                        // ((org.w3c.dom.Text)node).getData();
4810:                        break;
4811:                    }
4812:                }
4813:            }
4814:
4815:            /**
4816:             * Scan through org.w3c.dom.Element named render-kit-factory.
4817:             */
4818:            void visitElement_render_kit_factory(org.w3c.dom.Element element) { // <render-kit-factory>
4819:                // element.getValue();
4820:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4821:                for (int i = 0; i < attrs.getLength(); i++) {
4822:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4823:                    if (attr.getName().equals("id")) { // <render-kit-factory id="???">
4824:                        // attr.getValue();
4825:                    }
4826:                }
4827:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4828:                for (int i = 0; i < nodes.getLength(); i++) {
4829:                    org.w3c.dom.Node node = nodes.item(i);
4830:                    switch (node.getNodeType()) {
4831:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4832:                        // ((org.w3c.dom.CDATASection)node).getData();
4833:                        break;
4834:                    case org.w3c.dom.Node.ELEMENT_NODE:
4835:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4836:                        break;
4837:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4838:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4839:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4840:                        break;
4841:                    case org.w3c.dom.Node.TEXT_NODE:
4842:                        // ((org.w3c.dom.Text)node).getData();
4843:                        break;
4844:                    }
4845:                }
4846:            }
4847:
4848:            /**
4849:             * Scan through org.w3c.dom.Element named renderer-type.
4850:             */
4851:            void visitElement_renderer_type(org.w3c.dom.Element element) { // <renderer-type>
4852:                // element.getValue();
4853:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4854:                for (int i = 0; i < attrs.getLength(); i++) {
4855:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4856:                    if (attr.getName().equals("id")) { // <renderer-type id="???">
4857:                        // attr.getValue();
4858:                    }
4859:                }
4860:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4861:                for (int i = 0; i < nodes.getLength(); i++) {
4862:                    org.w3c.dom.Node node = nodes.item(i);
4863:                    switch (node.getNodeType()) {
4864:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4865:                        // ((org.w3c.dom.CDATASection)node).getData();
4866:                        break;
4867:                    case org.w3c.dom.Node.ELEMENT_NODE:
4868:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4869:                        break;
4870:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4871:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4872:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4873:                        break;
4874:                    case org.w3c.dom.Node.TEXT_NODE:
4875:                        // ((org.w3c.dom.Text)node).getData();
4876:                        break;
4877:                    }
4878:                }
4879:            }
4880:
4881:            /**
4882:             * Scan through org.w3c.dom.Element named small-icon.
4883:             */
4884:            void visitElement_small_icon(org.w3c.dom.Element element) { // <small-icon>
4885:                // element.getValue();
4886:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4887:                for (int i = 0; i < attrs.getLength(); i++) {
4888:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4889:                    if (attr.getName().equals("id")) { // <small-icon id="???">
4890:                        // attr.getValue();
4891:                    }
4892:                }
4893:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4894:                for (int i = 0; i < nodes.getLength(); i++) {
4895:                    org.w3c.dom.Node node = nodes.item(i);
4896:                    switch (node.getNodeType()) {
4897:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4898:                        // ((org.w3c.dom.CDATASection)node).getData();
4899:                        break;
4900:                    case org.w3c.dom.Node.ELEMENT_NODE:
4901:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4902:                        break;
4903:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4904:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4905:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4906:                        break;
4907:                    case org.w3c.dom.Node.TEXT_NODE:
4908:                        // ((org.w3c.dom.Text)node).getData();
4909:                        break;
4910:                    }
4911:                }
4912:            }
4913:
4914:            /**
4915:             * Scan through org.w3c.dom.Element named supported-locale.
4916:             */
4917:            void visitElement_supported_locale(org.w3c.dom.Element element) { // <supported-locale>
4918:                // element.getValue();
4919:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4920:                for (int i = 0; i < attrs.getLength(); i++) {
4921:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4922:                    if (attr.getName().equals("id")) { // <supported-locale id="???">
4923:                        // attr.getValue();
4924:                    }
4925:                }
4926:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4927:                for (int i = 0; i < nodes.getLength(); i++) {
4928:                    org.w3c.dom.Node node = nodes.item(i);
4929:                    switch (node.getNodeType()) {
4930:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4931:                        // ((org.w3c.dom.CDATASection)node).getData();
4932:                        break;
4933:                    case org.w3c.dom.Node.ELEMENT_NODE:
4934:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4935:                        break;
4936:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4937:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4938:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4939:                        break;
4940:                    case org.w3c.dom.Node.TEXT_NODE:
4941:                        // ((org.w3c.dom.Text)node).getData();
4942:                        break;
4943:                    }
4944:                }
4945:            }
4946:
4947:            /**
4948:             * Scan through org.w3c.dom.Element named to-view-id.
4949:             */
4950:            void visitElement_to_view_id(org.w3c.dom.Element element) { // <to-view-id>
4951:                // element.getValue();
4952:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4953:                for (int i = 0; i < attrs.getLength(); i++) {
4954:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4955:                    if (attr.getName().equals("id")) { // <to-view-id id="???">
4956:                        // attr.getValue();
4957:                    }
4958:                }
4959:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4960:                for (int i = 0; i < nodes.getLength(); i++) {
4961:                    org.w3c.dom.Node node = nodes.item(i);
4962:                    switch (node.getNodeType()) {
4963:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4964:                        // ((org.w3c.dom.CDATASection)node).getData();
4965:                        break;
4966:                    case org.w3c.dom.Node.ELEMENT_NODE:
4967:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
4968:                        break;
4969:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
4970:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
4971:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
4972:                        break;
4973:                    case org.w3c.dom.Node.TEXT_NODE:
4974:                        // ((org.w3c.dom.Text)node).getData();
4975:                        break;
4976:                    }
4977:                }
4978:            }
4979:
4980:            /**
4981:             * Scan through org.w3c.dom.Element named validator-class.
4982:             */
4983:            void visitElement_validator_class(org.w3c.dom.Element element) { // <validator-class>
4984:                // element.getValue();
4985:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
4986:                for (int i = 0; i < attrs.getLength(); i++) {
4987:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
4988:                    if (attr.getName().equals("id")) { // <validator-class id="???">
4989:                        // attr.getValue();
4990:                    }
4991:                }
4992:                org.w3c.dom.NodeList nodes = element.getChildNodes();
4993:                for (int i = 0; i < nodes.getLength(); i++) {
4994:                    org.w3c.dom.Node node = nodes.item(i);
4995:                    switch (node.getNodeType()) {
4996:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
4997:                        // ((org.w3c.dom.CDATASection)node).getData();
4998:                        break;
4999:                    case org.w3c.dom.Node.ELEMENT_NODE:
5000:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
5001:                        break;
5002:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
5003:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
5004:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
5005:                        break;
5006:                    case org.w3c.dom.Node.TEXT_NODE:
5007:                        // ((org.w3c.dom.Text)node).getData();
5008:                        break;
5009:                    }
5010:                }
5011:            }
5012:
5013:            /**
5014:             * Scan through org.w3c.dom.Element named validator-id.
5015:             */
5016:            void visitElement_validator_id(org.w3c.dom.Element element) { // <validator-id>
5017:                // element.getValue();
5018:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
5019:                for (int i = 0; i < attrs.getLength(); i++) {
5020:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
5021:                    if (attr.getName().equals("id")) { // <validator-id id="???">
5022:                        // attr.getValue();
5023:                    }
5024:                }
5025:                org.w3c.dom.NodeList nodes = element.getChildNodes();
5026:                for (int i = 0; i < nodes.getLength(); i++) {
5027:                    org.w3c.dom.Node node = nodes.item(i);
5028:                    switch (node.getNodeType()) {
5029:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
5030:                        // ((org.w3c.dom.CDATASection)node).getData();
5031:                        break;
5032:                    case org.w3c.dom.Node.ELEMENT_NODE:
5033:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
5034:                        break;
5035:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
5036:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
5037:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
5038:                        break;
5039:                    case org.w3c.dom.Node.TEXT_NODE:
5040:                        // ((org.w3c.dom.Text)node).getData();
5041:                        break;
5042:                    }
5043:                }
5044:            }
5045:
5046:            /**
5047:             * Scan through org.w3c.dom.Element named value.
5048:             */
5049:            void visitElement_value(org.w3c.dom.Element element) { // <value>
5050:                // element.getValue();
5051:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
5052:                for (int i = 0; i < attrs.getLength(); i++) {
5053:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
5054:                    if (attr.getName().equals("id")) { // <value id="???">
5055:                        // attr.getValue();
5056:                    }
5057:                }
5058:                org.w3c.dom.NodeList nodes = element.getChildNodes();
5059:                for (int i = 0; i < nodes.getLength(); i++) {
5060:                    org.w3c.dom.Node node = nodes.item(i);
5061:                    switch (node.getNodeType()) {
5062:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
5063:                        // ((org.w3c.dom.CDATASection)node).getData();
5064:                        break;
5065:                    case org.w3c.dom.Node.ELEMENT_NODE:
5066:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
5067:                        break;
5068:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
5069:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
5070:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
5071:                        break;
5072:                    case org.w3c.dom.Node.TEXT_NODE:
5073:                        // ((org.w3c.dom.Text)node).getData();
5074:                        break;
5075:                    }
5076:                }
5077:            }
5078:
5079:            /**
5080:             * Scan through org.w3c.dom.Element named value-class.
5081:             */
5082:            void visitElement_value_class(org.w3c.dom.Element element) { // <value-class>
5083:                // element.getValue();
5084:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
5085:                for (int i = 0; i < attrs.getLength(); i++) {
5086:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
5087:                    if (attr.getName().equals("id")) { // <value-class id="???">
5088:                        // attr.getValue();
5089:                    }
5090:                }
5091:                org.w3c.dom.NodeList nodes = element.getChildNodes();
5092:                for (int i = 0; i < nodes.getLength(); i++) {
5093:                    org.w3c.dom.Node node = nodes.item(i);
5094:                    switch (node.getNodeType()) {
5095:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
5096:                        // ((org.w3c.dom.CDATASection)node).getData();
5097:                        break;
5098:                    case org.w3c.dom.Node.ELEMENT_NODE:
5099:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
5100:                        break;
5101:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
5102:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
5103:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
5104:                        break;
5105:                    case org.w3c.dom.Node.TEXT_NODE:
5106:                        // ((org.w3c.dom.Text)node).getData();
5107:                        break;
5108:                    }
5109:                }
5110:            }
5111:
5112:            /**
5113:             * Scan through org.w3c.dom.Element named variable-resolver.
5114:             */
5115:            void visitElement_variable_resolver(org.w3c.dom.Element element) { // <variable-resolver>
5116:                // element.getValue();
5117:                org.w3c.dom.NamedNodeMap attrs = element.getAttributes();
5118:                for (int i = 0; i < attrs.getLength(); i++) {
5119:                    org.w3c.dom.Attr attr = (org.w3c.dom.Attr) attrs.item(i);
5120:                    if (attr.getName().equals("id")) { // <variable-resolver id="???">
5121:                        // attr.getValue();
5122:                    }
5123:                }
5124:                org.w3c.dom.NodeList nodes = element.getChildNodes();
5125:                for (int i = 0; i < nodes.getLength(); i++) {
5126:                    org.w3c.dom.Node node = nodes.item(i);
5127:                    switch (node.getNodeType()) {
5128:                    case org.w3c.dom.Node.CDATA_SECTION_NODE:
5129:                        // ((org.w3c.dom.CDATASection)node).getData();
5130:                        break;
5131:                    case org.w3c.dom.Node.ELEMENT_NODE:
5132:                        org.w3c.dom.Element nodeElement = (org.w3c.dom.Element) node;
5133:                        break;
5134:                    case org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE:
5135:                        // ((org.w3c.dom.ProcessingInstruction)node).getTarget();
5136:                        // ((org.w3c.dom.ProcessingInstruction)node).getData();
5137:                        break;
5138:                    case org.w3c.dom.Node.TEXT_NODE:
5139:                        // ((org.w3c.dom.Text)node).getData();
5140:                        break;
5141:                    }
5142:                }
5143:            }
5144:
5145:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.