|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkaos.tools.webServiceTool.ParseWithDOM
public class ParseWithDOM
Date: May 21, 2010 Time: 3:46:41 PM
| Field Summary | |
|---|---|
protected static java.lang.String |
_configPath
|
protected java.util.Map<java.lang.String,java.util.Map> |
_fileInfo
|
protected java.util.Map<java.lang.String,java.util.Vector> |
_wsdlFileInfo
|
protected java.lang.String |
_wsdlURL
|
| Constructor Summary | |
|---|---|
ParseWithDOM()
|
|
| Method Summary | |
|---|---|
protected java.lang.StringBuffer |
getFileBufStream(java.io.File file)
Reads the information from the wsdl file contained in the file system into a string buffer. |
java.util.Map |
getFileInfo()
Returns a map of the wsdl file read. |
java.lang.StringBuffer |
getStreamByURL(java.lang.String wsdlURL)
Reads the information from a wsdl URL from a website into a string buffer. |
void |
init(java.lang.String str)
Reads the wsdl file and store the information in a hashtable which the key is the name of the operation and the value is a map of attributes. |
void |
init2(java.lang.String str)
|
static void |
main(java.lang.String[] args)
|
void |
writeAnnotations(java.lang.String str,
java.lang.String serviceType,
java.lang.String serviceFileName,
java.lang.String filePath)
Add anotations to the node elements in the wsdl files that represent the operations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.lang.String _configPath
protected java.lang.String _wsdlURL
protected java.util.Map<java.lang.String,java.util.Vector> _wsdlFileInfo
protected java.util.Map<java.lang.String,java.util.Map> _fileInfo
| Constructor Detail |
|---|
public ParseWithDOM()
| Method Detail |
|---|
public void init(java.lang.String str)
str: - wsdl file path.public void init2(java.lang.String str)
public void writeAnnotations(java.lang.String str,
java.lang.String serviceType,
java.lang.String serviceFileName,
java.lang.String filePath)
throws java.lang.Exception
str - serviceType - serviceFileName - filePath -
java.lang.Exceptionpublic java.util.Map getFileInfo()
public java.lang.StringBuffer getStreamByURL(java.lang.String wsdlURL)
wsdlURL -
protected java.lang.StringBuffer getFileBufStream(java.io.File file)
file - the wsdl file
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||