/** * Slave method for getQNameWithBackslashedLocal() */ public static String applyBackslashes(String string) { return transformBackslashes(string, false); }
/** * Returns "implements <SEI> ". * * @return */ protected String getImplementsText() { return "implements " + bEntry.getDynamicVar(JavaBindingWriter.INTERFACE_NAME) + " "; } // getImplementsText
/** * Get the ServiceEntry with the given QName. If it doesn't exist, return null. * * @param qname * @return */ public ServiceEntry getServiceEntry(QName qname) { return (ServiceEntry) get(qname, ServiceEntry.class); } // getServiceEntry
public static QName getItemQName(TypeEntry te) { if (te instanceof DefinedElement) { te = te.getRefType(); } return te.getItemQName(); }
/** * Method run */ public void run() { try { symbolTable.populate(wsdlURI, username, password); generate(symbolTable); } catch (Exception e) { failure = e; } } // run
/** * Return the current definition. The current definition is * null until run is called. * * @return */ public Definition getCurrentDefinition() { return (symbolTable == null) ? null : symbolTable.getDefinition(); } // getCurrentDefinition
/** * Is this part an output header part?. * * @param operationName * @param partName * @return */ public boolean isOutHeaderPart(String operationName, String partName) { return (headerPart(operationName, partName) & OUT_HEADER) > 0; } // isInHeaderPart
/** * Collate the info in this object in string form. * * @return */ public String toString() { return toString(""); } // toString
/** * Construct a referenced (but as of yet undefined) type * * @param pqName */ public UndefinedType(QName pqName) { super(pqName, null); undefined = true; delegate = new UndefinedDelegate(this); }
/** * Call update with the actual TypeEntry. This updates all of the * referrant TypeEntry's that were registered. * * @param def * @throws IOException */ public void update(TypeEntry def) throws IOException { delegate.update(def); } }
/** * Returns whether the specified node represents a <xsd:simpleType> * with a nested <xsd:list itemType="...">. * @param node * @return */ public static boolean isListWithItemType(Node node) { return getListItemType(node) != null; }
/** * Get the current WSDL URI. The WSDL URI is null until * run is called. * * @return */ public String getWSDLURI() { return (symbolTable == null) ? null : symbolTable.getWSDLURI(); } // getWSDLURI
/** * Slave method for getQNameWithBackslashlessLocal */ public static String stripBackslashes(String string) { return transformBackslashes(string, true); }
/** * Returns the appropriate implements text * * @return " implements <classes>" */ protected String getImplementsText() { String portTypeName = (String) bEntry.getDynamicVar(JavaBindingWriter.INTERFACE_NAME); String implementsText = "implements " + portTypeName; return implementsText; }
/** * Get the ServiceEntry with the given QName. If it doesn't exist, return null. * * @param qname * @return */ public ServiceEntry getServiceEntry(QName qname) { return (ServiceEntry) get(qname, ServiceEntry.class); } // getServiceEntry
/** * Is this part an output header part?. * * @param operationName * @param partName * @return */ public boolean isOutHeaderPart(String operationName, String partName) { return (headerPart(operationName, partName) & OUT_HEADER) > 0; } // isInHeaderPart
/** * Slave method for getQNameWithBackslashedLocal() */ public static String applyBackslashes(String string) { return transformBackslashes(string, false); }
/** * Get the MessageEntry with the given QName. If it doesn't exist, return null. * * @param qname * @return */ public MessageEntry getMessageEntry(QName qname) { return (MessageEntry) get(qname, MessageEntry.class); } // getMessageEntry
/** * Is this part an input header part?. * * @param operationName * @param partName * @return */ public boolean isInHeaderPart(String operationName, String partName) { return (headerPart(operationName, partName) & IN_HEADER) > 0; } // isInHeaderPart
/** * Slave method for getQNameWithBackslashlessLocal */ public static String stripBackslashes(String string) { return transformBackslashes(string, true); }