Java Doc for SgmlPage.java in » Testing » htmlunit » com » gargoylesoftware » htmlunit » 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
»
Testing
»
htmlunit
»
com.gargoylesoftware.htmlunit
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
com.gargoylesoftware.htmlunit.html
.DomNode
com.gargoylesoftware.htmlunit
.SgmlPage
All known Subclasses:
com.gargoylesoftware.htmlunit.html
.HtmlPage
,
com.gargoylesoftware.htmlunit.xml
.XmlPage
,
SgmlPage
abstract
public
class SgmlPage extends
DomNode
implements
Page
(Code)
A basic class to be implemented by HtmlPage and XmlPage .
version:
$Revision: 2132 $
author:
Ahmed Ashour
Constructor Summary
public
SgmlPage
(
WebResponse
webResponse,
WebWindow
webWindow)
Method Summary
public
void
cleanUp
()
public
DomDocumentFragment
createDomDocumentFragment
()
Creates an empty
DomDocumentFragment
object.
public
WebWindow
getEnclosingWindow
()
Return the window that this page is sitting inside.
public
Page
getNativePage
()
public
String
getNodeName
()
Get the name for the current node.
public
short
getNodeType
()
Get the type of the current node.
public
WebClient
getWebClient
()
public
WebResponse
getWebResponse
()
public
void
initialize
()
public
void
setEnclosingWindow
(
WebWindow
window)
Set the window that contains this page.
Constructor Detail
SgmlPage
public
SgmlPage(
WebResponse
webResponse,
WebWindow
webWindow)
(Code)
Create an instance of SgmlPage
Parameters:
webResponse - The web response that was used to create this page
Parameters:
webWindow - The window that this page is being loaded into.
Method Detail
cleanUp
public
void cleanUp() throws
IOException
(Code)
createDomDocumentFragment
public
DomDocumentFragment
createDomDocumentFragment()
(Code)
Creates an empty
DomDocumentFragment
object. a newly created
DomDocumentFragment
.
getEnclosingWindow
public
WebWindow
getEnclosingWindow()
(Code)
Return the window that this page is sitting inside. The enclosing frame or null if this page isn't inside a frame.
getNativePage
public
Page
getNativePage()
(Code)
getNodeName
public
String
getNodeName()
(Code)
Get the name for the current node. The node name
getNodeType
public
short getNodeType()
(Code)
Get the type of the current node. The node type
getWebClient
public
WebClient
getWebClient()
(Code)
Return the WebClient that originally loaded this page See above
getWebResponse
public
WebResponse
getWebResponse()
(Code)
initialize
public
void initialize() throws
IOException
(Code)
setEnclosingWindow
public
void setEnclosingWindow(
WebWindow
window)
(Code)
Set the window that contains this page.
Parameters:
window - The new frame or null if this page is being removed from a frame.
Fields inherited from
com.gargoylesoftware.htmlunit.html.DomNode
final
public
static short ATTRIBUTE_NODE
(Code)
(Java Doc)
final
public
static short COMMENT_NODE
(Code)
(Java Doc)
final
public
static short DOCUMENT_NODE
(Code)
(Java Doc)
final
public
static short ELEMENT_NODE
(Code)
(Java Doc)
final
public
static
String
PROPERTY_ELEMENT
(Code)
(Java Doc)
final
public
static
String
READY_STATE_COMPLETE
(Code)
(Java Doc)
final
public
static
String
READY_STATE_INTERACTIVE
(Code)
(Java Doc)
final
public
static
String
READY_STATE_LOADED
(Code)
(Java Doc)
final
public
static
String
READY_STATE_LOADING
(Code)
(Java Doc)
final
public
static
String
READY_STATE_UNINITIALIZED
(Code)
(Java Doc)
final
public
static short TEXT_NODE
(Code)
(Java Doc)
Methods inherited from
com.gargoylesoftware.htmlunit.html.DomNode
public
void addDomChangeListener(
DomChangeListener
listener)
(Code)
(Java Doc)
final
public
synchronized void addPropertyChangeListener(
PropertyChangeListener
listener)
(Code)
(Java Doc)
public
DomNode
appendChild(
DomNode
node)
(Code)
(Java Doc)
public
DomNode
appendDomChild(
DomNode
node)
(Code)
(Java Doc)
public
String
asText()
(Code)
(Java Doc)
public
String
asXml()
(Code)
(Java Doc)
public
DomNode
cloneDomNode(boolean deep)
(Code)
(Java Doc)
public
DomNode
cloneNode(boolean deep)
(Code)
(Java Doc)
protected
void fireNodeAdded(
DomNode
parentNode,
DomNode
addedNode)
(Code)
(Java Doc)
protected
void fireNodeDeleted(
DomNode
parentNode,
DomNode
deletedNode)
(Code)
(Java Doc)
final
protected
synchronized void firePropertyChange(
String
propertyName,
Object
oldValue,
Object
newValue)
(Code)
(Java Doc)
public
Iterator
getAllHtmlChildElements()
(Code)
(Java Doc)
public
List
getByXPath(
String
xpathExpr) throws JaxenException
(Code)
(Java Doc)
public
Iterator
getChildIterator()
(Code)
(Java Doc)
final
protected
String
getChildrenAsText()
(Code)
(Java Doc)
public
int getEndColumnNumber()
(Code)
(Java Doc)
public
int getEndLineNumber()
(Code)
(Java Doc)
public
Function getEventHandler(
String
eventName)
(Code)
(Java Doc)
public
Object
getFirstByXPath(
String
xpathExpr) throws JaxenException
(Code)
(Java Doc)
public
DomNode
getFirstChild()
(Code)
(Java Doc)
public
DomNode
getFirstDomChild()
(Code)
(Java Doc)
public
DomNode
getLastChild()
(Code)
(Java Doc)
public
DomNode
getLastDomChild()
(Code)
(Java Doc)
public
String
getLocalName()
(Code)
(Java Doc)
final
protected
Log getLog()
(Code)
(Java Doc)
public
String
getNamespaceURI()
(Code)
(Java Doc)
public
Page
getNativePage()
(Code)
(Java Doc)
public
DomNode
getNextDomSibling()
(Code)
(Java Doc)
public
DomNode
getNextSibling()
(Code)
(Java Doc)
abstract
public
String
getNodeName()
(Code)
(Java Doc)
abstract
public
short getNodeType()
(Code)
(Java Doc)
public
String
getNodeValue()
(Code)
(Java Doc)
public
HtmlPage
getPage()
(Code)
(Java Doc)
public
DomNode
getParentDomNode()
(Code)
(Java Doc)
public
DomNode
getParentNode()
(Code)
(Java Doc)
public
String
getPrefix()
(Code)
(Java Doc)
public
DomNode
getPreviousDomSibling()
(Code)
(Java Doc)
public
DomNode
getPreviousSibling()
(Code)
(Java Doc)
public
String
getReadyState()
(Code)
(Java Doc)
public
ScriptableObject getScriptObject()
(Code)
(Java Doc)
public
int getStartColumnNumber()
(Code)
(Java Doc)
public
int getStartLineNumber()
(Code)
(Java Doc)
public
boolean hasAttributes()
(Code)
(Java Doc)
public
void insertBefore(
DomNode
newNode) throws
IllegalStateException
(Code)
(Java Doc)
public
boolean isAncestorOf(
DomNode
node)
(Code)
(Java Doc)
protected
boolean isRenderedVisible()
(Code)
(Java Doc)
protected
boolean isTrimmedText()
(Code)
(Java Doc)
protected
void notifyIncorrectness(
String
message)
(Code)
(Java Doc)
protected
void onAddedToPage()
(Code)
(Java Doc)
protected
void onAllChildrenAddedToPage()
(Code)
(Java Doc)
protected
void printChildrenAsXml(
String
indent,
PrintWriter
printWriter)
(Code)
(Java Doc)
protected
void printXml(
String
indent,
PrintWriter
printWriter)
(Code)
(Java Doc)
protected
static
String
reduceWhitespace(
String
text)
(Code)
(Java Doc)
public
void remove() throws
IllegalStateException
(Code)
(Java Doc)
public
void removeAllChildren()
(Code)
(Java Doc)
public
void removeDomChangeListener(
DomChangeListener
listener)
(Code)
(Java Doc)
public
void removeEventHandler(
String
eventName)
(Code)
(Java Doc)
final
public
synchronized void removePropertyChangeListener(
PropertyChangeListener
listener)
(Code)
(Java Doc)
public
void replace(
DomNode
newNode) throws
IllegalStateException
(Code)
(Java Doc)
public
void setEventHandler(
String
eventName, Function eventHandler)
(Code)
(Java Doc)
public
void setEventHandler(
String
eventName,
String
jsSnippet)
(Code)
(Java Doc)
protected
void setNextSibling(
DomNode
next)
(Code)
(Java Doc)
public
void setNodeValue(
String
x)
(Code)
(Java Doc)
protected
void setParentNode(
DomNode
parent)
(Code)
(Java Doc)
public
void setPrefix(
String
prefix)
(Code)
(Java Doc)
protected
void setPreviousSibling(
DomNode
previous)
(Code)
(Java Doc)
public
void setReadyState(
String
state)
(Code)
(Java Doc)
public
void setScriptObject(ScriptableObject scriptObject)
(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.