Java Doc for Form.java in  » Web-Crawler » WebSPHINX » websphinx » 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 » Web Crawler » WebSPHINX » websphinx 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   websphinx.Region
      websphinx.Element
         websphinx.Link
            websphinx.Form

Form
public class Form extends Link (Code)
<FORM> element in an HTML page.



Constructor Summary
public  Form(Tag startTag, Tag endTag, URL base)
     Make a LinkElement from a start tag and end tag and a base URL (for relative references).

Method Summary
public  intgetMethod()
     Get the method used to access this link.
public  URLmakeQuery()
     Construct the query that would be submitted if the form's SUBMIT button were pressed.
public  URLmakeQuery(FormButton button)
     Construct the query that would be submitted if the specified button were pressed.
Parameters:
  button - form button that triggers the submission.
protected  URLurlFromHref(Tag tag, URL base)
     Construct the URL for this form, from its start tag and a base URL (for relative references).


Constructor Detail
Form
public Form(Tag startTag, Tag endTag, URL base) throws MalformedURLException(Code)
Make a LinkElement from a start tag and end tag and a base URL (for relative references). The tags must be on the same page.
Parameters:
  startTag - Start tag of element
Parameters:
  endTag - End tag of element
Parameters:
  base - Base URL used for relative references




Method Detail
getMethod
public int getMethod()(Code)
Get the method used to access this link. GET or POST.



makeQuery
public URL makeQuery()(Code)
Construct the query that would be submitted if the form's SUBMIT button were pressed. a URL representing the submitted form, or null if the form cannot be represented as a URL.



makeQuery
public URL makeQuery(FormButton button)(Code)
Construct the query that would be submitted if the specified button were pressed.
Parameters:
  button - form button that triggers the submission. a URL representing the submitted form, or null if the form cannot be represented as a URL.



urlFromHref
protected URL urlFromHref(Tag tag, URL base) throws MalformedURLException(Code)
Construct the URL for this form, from its start tag and a base URL (for relative references).
Parameters:
  tag - Start tag of form.
Parameters:
  base - Base URL used for relative references URL to which the button points



Fields inherited from websphinx.Link
final public static int GET(Code)(Java Doc)
final public static int POST(Code)(Java Doc)
protected URL url(Code)(Java Doc)

Methods inherited from websphinx.Link
public static URL FileToURL(File file) throws MalformedURLException(Code)(Java Doc)
public static File URLToFile(URL url) throws MalformedURLException(Code)(Java Doc)
public void discardContent()(Code)(Java Doc)
public void disconnect()(Code)(Java Doc)
public int getDepth()(Code)(Java Doc)
public String getDirectory()(Code)(Java Doc)
public URL getDirectoryURL()(Code)(Java Doc)
public static URL getDirectoryURL(URL url)(Code)(Java Doc)
public DownloadParameters getDownloadParameters()(Code)(Java Doc)
public String getFile()(Code)(Java Doc)
public String getFilename()(Code)(Java Doc)
public String getHost()(Code)(Java Doc)
public int getMethod()(Code)(Java Doc)
public Page getPage()(Code)(Java Doc)
public URL getPageURL()(Code)(Java Doc)
public static URL getPageURL(URL url)(Code)(Java Doc)
public URL getParentURL()(Code)(Java Doc)
public static URL getParentURL(URL url)(Code)(Java Doc)
public int getPort()(Code)(Java Doc)
public float getPriority()(Code)(Java Doc)
public String getProtocol()(Code)(Java Doc)
public String getQuery()(Code)(Java Doc)
public String getRef()(Code)(Java Doc)
public URL getServiceURL()(Code)(Java Doc)
public static URL getServiceURL(URL url)(Code)(Java Doc)
public int getStatus()(Code)(Java Doc)
public URL getURL()(Code)(Java Doc)
public static String relativeTo(URL here, URL there)(Code)(Java Doc)
public static String relativeTo(URL here, String there)(Code)(Java Doc)
public Tag replaceHref(String newHref)(Code)(Java Doc)
public void setDownloadParameters(DownloadParameters dp)(Code)(Java Doc)
public void setPage(Page page)(Code)(Java Doc)
public void setPriority(float priority)(Code)(Java Doc)
public void setStatus(int event)(Code)(Java Doc)
public void setText(String text)(Code)(Java Doc)
public String toDescription()(Code)(Java Doc)
public String toText()(Code)(Java Doc)
public String toURL()(Code)(Java Doc)
public static String toURLDelimiters(String path)(Code)(Java Doc)
protected URL urlFromHref(Tag tag, URL base) throws MalformedURLException(Code)(Java Doc)

Fields inherited from websphinx.Element
protected Element child(Code)(Java Doc)
protected Tag endTag(Code)(Java Doc)
protected Element parent(Code)(Java Doc)
protected Element sibling(Code)(Java Doc)
protected Tag startTag(Code)(Java Doc)

Methods inherited from websphinx.Element
public Enumeration enumerateHTMLAttributes()(Code)(Java Doc)
public Element getChild()(Code)(Java Doc)
public Tag getEndTag()(Code)(Java Doc)
public String getHTMLAttribute(String name)(Code)(Java Doc)
public String getHTMLAttribute(String name, String defaultValue)(Code)(Java Doc)
public Element getNext()(Code)(Java Doc)
public Element getParent()(Code)(Java Doc)
public Element getSibling()(Code)(Java Doc)
public Tag getStartTag()(Code)(Java Doc)
public String getTagName()(Code)(Java Doc)
public boolean hasHTMLAttribute(String name)(Code)(Java Doc)

Fields inherited from websphinx.Region
final static int INITIAL_SIZE(Code)(Java Doc)
final public static String TRUE(Code)(Java Doc)
protected int end(Code)(Java Doc)
protected Hashtable names(Code)(Java Doc)
protected Page source(Code)(Java Doc)
protected int start(Code)(Java Doc)

Methods inherited from websphinx.Region
public Enumeration enumerateObjectLabels()(Code)(Java Doc)
public static int findEnd(Region[] regions, int p)(Code)(Java Doc)
public static int findStart(Region[] regions, int p)(Code)(Java Doc)
public int getEnd()(Code)(Java Doc)
public Region getField(String name)(Code)(Java Doc)
public Region[] getFields(String name)(Code)(Java Doc)
public String getLabel(String name)(Code)(Java Doc)
public String getLabel(String name, String defaultValue)(Code)(Java Doc)
public int getLength()(Code)(Java Doc)
public Number getNumericLabel(String name, Number defaultValue)(Code)(Java Doc)
public Object getObjectLabel(String name)(Code)(Java Doc)
public String getObjectLabels()(Code)(Java Doc)
public Element getRootElement()(Code)(Java Doc)
public Page getSource()(Code)(Java Doc)
public int getStart()(Code)(Java Doc)
public boolean hasAllLabels(String expr)(Code)(Java Doc)
public boolean hasAllLabels(String[] labels)(Code)(Java Doc)
public boolean hasAnyLabels(String expr)(Code)(Java Doc)
public boolean hasAnyLabels(String[] labels)(Code)(Java Doc)
public boolean hasLabel(String name)(Code)(Java Doc)
public void removeLabel(String name)(Code)(Java Doc)
public void setField(String name, Region region)(Code)(Java Doc)
public void setFields(String name, Region[] regions)(Code)(Java Doc)
public void setLabel(String name, String value)(Code)(Java Doc)
public void setLabel(String name)(Code)(Java Doc)
public void setObjectLabel(String name, Object value)(Code)(Java Doc)
public Region span(Region r)(Code)(Java Doc)
public String toHTML()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String toTags()(Code)(Java Doc)
public String toText()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.