/** * Populate the symbol table with all of the MessageEntry's from the Definition. * * @param def * @throws IOException */ private void populateMessages(Definition def) throws IOException { Iterator i = def.getMessages().values().iterator(); while (i.hasNext()) { Message message = (Message) i.next(); MessageEntry mEntry = new MessageEntry(message); symbolTablePut(mEntry); } } // populateMessages
/** * Populate the symbol table with all of the MessageEntry's from the Definition. * * @param def * @throws IOException */ private void populateMessages(Definition def) throws IOException { Iterator i = def.getMessages().values().iterator(); while (i.hasNext()) { Message message = (Message) i.next(); MessageEntry mEntry = new MessageEntry(message); symbolTablePut(mEntry); } } // populateMessages
/** * Populate the symbol table with all of the MessageEntry's from the Definition. * * @param def * @throws IOException */ private void populateMessages(Definition def) throws IOException { Iterator i = def.getMessages().values().iterator(); while (i.hasNext()) { Message message = (Message) i.next(); MessageEntry mEntry = new MessageEntry(message); symbolTablePut(mEntry); } } // populateMessages
/** * Populate the symbol table with all of the PortTypeEntry's from the Definition. * * @param def * @throws IOException */ private void populatePortTypes(Definition def) throws IOException { Iterator i = def.getPortTypes().values().iterator(); while (i.hasNext()) { PortType portType = (PortType) i.next(); // If the portType is undefined, then we're parsing a Definition // that didn't contain a portType, merely a binding that referred // to a non-existent port type. Don't bother with it. if (!portType.isUndefined()) { ensureOperationsOfPortTypeValid(portType); PortTypeEntry ptEntry = new PortTypeEntry(portType); symbolTablePut(ptEntry); } } } // populatePortTypes
/** * Populate the symbol table with all of the PortTypeEntry's from the Definition. * * @param def * @throws IOException */ private void populatePortTypes(Definition def) throws IOException { Iterator i = def.getPortTypes().values().iterator(); while (i.hasNext()) { PortType portType = (PortType) i.next(); // If the portType is undefined, then we're parsing a Definition // that didn't contain a portType, merely a binding that referred // to a non-existent port type. Don't bother with it. if (!portType.isUndefined()) { ensureOperationsOfPortTypeValid(portType); PortTypeEntry ptEntry = new PortTypeEntry(portType); symbolTablePut(ptEntry); } } } // populatePortTypes
/** * Populate the symbol table with all of the PortTypeEntry's from the Definition. * * @param def * @throws IOException */ private void populatePortTypes(Definition def) throws IOException { Iterator i = def.getPortTypes().values().iterator(); while (i.hasNext()) { PortType portType = (PortType) i.next(); // If the portType is undefined, then we're parsing a Definition // that didn't contain a portType, merely a binding that referred // to a non-existent port type. Don't bother with it. if (!portType.isUndefined()) { ensureOperationsOfPortTypeValid(portType); PortTypeEntry ptEntry = new PortTypeEntry(portType); symbolTablePut(ptEntry); } } } // populatePortTypes
symbolTablePut(containedTE); symbolTablePut(new CollectionType(qName, containedTE, node, "[]", wrapped)); } else { symbolTablePut(containedTE); symbolTablePut(new CollectionElement(qName, containedTE, node, "[]")); symbolTablePut(new BaseType(qName)); symbolTablePut(new BaseType(qName)); symbolTablePut(new BaseType(Constants.XSD_ID)); symbolTablePut(new BaseType(Constants.XSD_ANYURI)); symbolTablePut(new BaseType(qName)); symbolTablePut(new BaseType(Constants.XSD_ID)); symbolTablePut(new BaseType(qName)); symbolTablePut(new BaseType(Constants.XSD_STRING)); symbolTablePut(new BaseType(qName));
symbolTablePut(containedTE); symbolTablePut(new CollectionType(qName, containedTE, node, "[]", wrapped)); } else { symbolTablePut(containedTE); symbolTablePut(new CollectionElement(qName, containedTE, node, "[]")); symbolTablePut(new BaseType(qName)); symbolTablePut(new BaseType(qName)); symbolTablePut(new BaseType(Constants.XSD_ID)); symbolTablePut(new BaseType(Constants.XSD_ANYURI)); symbolTablePut(new BaseType(qName)); symbolTablePut(new BaseType(Constants.XSD_ID)); symbolTablePut(new BaseType(qName)); symbolTablePut(new BaseType(Constants.XSD_STRING)); symbolTablePut(new BaseType(qName));
symbolTablePut(portEntry);
symbolTablePut(portEntry);
/** * Populate the symbol table with all of the ServiceEntry's from the Definition. * * @param def * @throws IOException */ private void populateServices(Definition def) throws IOException { String originalName = null; Iterator i = def.getServices().values().iterator(); while (i.hasNext()) { Service service = (Service) i.next(); originalName = service.getQName().getLocalPart(); // do a bit of name validation if ((service.getQName() == null) || (service.getQName().getLocalPart() == null) || service.getQName().getLocalPart().equals("")) { throw new IOException(Messages.getMessage("BadServiceName00")); } // behave as though backslashes were never there service.setQName(BackslashUtil.getQNameWithBackslashlessLocal(service.getQName())); ServiceEntry sEntry = new ServiceEntry(service); // we'll need this later when it is time print a backslash escaped service name sEntry.setOriginalServiceName(originalName); symbolTablePut(sEntry); populatePorts(service.getPorts()); } } // populateServices
symbolTablePut(containedTE); symbolTablePut(new CollectionType(qName, containedTE, node, "[]", wrapped)); } else { symbolTablePut(containedTE); symbolTablePut(new CollectionElement(qName, containedTE, node, "[]")); symbolTablePut(new BaseType(qName)); symbolTablePut(new BaseType(qName)); symbolTablePut(new BaseType(Constants.XSD_ID)); symbolTablePut(new BaseType(Constants.XSD_ANYURI)); symbolTablePut(new BaseType(qName)); symbolTablePut(new BaseType(Constants.XSD_ID)); symbolTablePut(new BaseType(qName)); symbolTablePut(new BaseType(Constants.XSD_STRING)); symbolTablePut(new BaseType(qName));
/** * Populate the symbol table with all of the ServiceEntry's from the Definition. * * @param def * @throws IOException */ private void populateServices(Definition def) throws IOException { String originalName = null; Iterator i = def.getServices().values().iterator(); while (i.hasNext()) { Service service = (Service) i.next(); originalName = service.getQName().getLocalPart(); // do a bit of name validation if ((service.getQName() == null) || (service.getQName().getLocalPart() == null) || service.getQName().getLocalPart().equals("")) { throw new IOException(Messages.getMessage("BadServiceName00")); } // behave as though backslashes were never there service.setQName(BackslashUtil.getQNameWithBackslashlessLocal(service.getQName())); ServiceEntry sEntry = new ServiceEntry(service); // we'll need this later when it is time print a backslash escaped service name sEntry.setOriginalServiceName(originalName); symbolTablePut(sEntry); populatePorts(service.getPorts()); } } // populateServices
/** * Populate the symbol table with all of the ServiceEntry's from the Definition. * * @param def * @throws IOException */ private void populateServices(Definition def) throws IOException { String originalName = null; Iterator i = def.getServices().values().iterator(); while (i.hasNext()) { Service service = (Service) i.next(); originalName = service.getQName().getLocalPart(); // do a bit of name validation if ((service.getQName() == null) || (service.getQName().getLocalPart() == null) || service.getQName().getLocalPart().equals("")) { throw new IOException(Messages.getMessage("BadServiceName00")); } // behave as though backslashes were never there service.setQName(BackslashUtil.getQNameWithBackslashlessLocal(service.getQName())); ServiceEntry sEntry = new ServiceEntry(service); // we'll need this later when it is time print a backslash escaped service name sEntry.setOriginalServiceName(originalName); symbolTablePut(sEntry); populatePorts(service.getPorts()); } } // populateServices
BindingEntry bEntry = new BindingEntry(binding); symbolTablePut(bEntry);
BindingEntry bEntry = new BindingEntry(binding); symbolTablePut(bEntry);
BindingEntry bEntry = new BindingEntry(binding); symbolTablePut(bEntry);
symbolTablePut(new DefinedElement(qName, refType, node, "")); symbolTablePut(refType); symbolTablePut(defType); symbolTablePut(new BaseType(qName)); } else { te.setSimpleType(true); te = (TypeEntry)symbolTablePut(te);
symbolTablePut(new DefinedElement(qName, refType, node, "")); symbolTablePut(refType); symbolTablePut(defType); symbolTablePut(new BaseType(qName)); } else { te.setSimpleType(true); te = (TypeEntry)symbolTablePut(te);