org.apache.tools.ant.taskdefs.optional.dotnet
public static class WsdlToDotnet.Schema extends Object
Field Summary | |
---|---|
static String | ERROR_BOTH_DECLARED Only one of file or url |
static String | ERROR_FILE_IS_DIR File is a directory |
static String | ERROR_FILE_NOT_FOUND Not found |
static String | ERROR_NONE_DECLARED One of file or url must be set |
static String | ERROR_NO_URL_CONVERT Could not URL convert |
Method Summary | |
---|---|
String | evaluate()
Validate our settings. |
File | getFile()
Get the file. |
long | getTimestamp()
Gets the file timestamp. |
String | getUrl()
Get the url. |
boolean | isMakeURL()
Get the makeURL attribute. |
void | setFile(File file)
name of a file to use as a source of WSDL or XSD data |
void | setMakeURL(boolean makeURL)
flag to request that a file is turned into an absolute file: URL
before being passed to the WSDL compiler |
void | setUrl(String url)
url of a resource.
|
void | validate()
validate the schema |
Returns: either the URL or the full file path
Returns: the file used.
Returns: the timestamp of a file, or -1 for a URL (meaning we do not know its age)
Returns: the URL of the resource.
Returns: the attribute.
Parameters: file the file to use.
Parameters: makeURL a boolean
value.
Parameters: url the URL string to use.