@@ -27,23 +27,6 @@ public HtmlPage(java.net.URL originatingUrl, NHtmlUnit.WebResponse webResponse,
2727 : this ( new com . gargoylesoftware . htmlunit . html . HtmlPage ( originatingUrl , ( com . gargoylesoftware . htmlunit . WebResponse ) webResponse . WrappedObject , ( com . gargoylesoftware . htmlunit . WebWindow ) webWindow . WrappedObject ) ) { }
2828
2929
30- public IList < NHtmlUnit . W3C . Dom . Ranges . IRange > SelectionRanges
31- {
32- get
33- {
34- return new ListWrapper < NHtmlUnit . W3C . Dom . Ranges . IRange > (
35- WObj . getSelectionRanges ( ) ) ;
36- }
37- }
38-
39- public java . util . Map Namespaces
40- {
41- get
42- {
43- return WObj . getNamespaces ( ) ;
44- }
45- }
46-
4730 public NHtmlUnit . Html . HtmlElement FocusedElement
4831 {
4932 get
@@ -131,12 +114,23 @@ public System.String TitleText
131114 }
132115
133116 }
134- // Generating method code for save
135- public virtual void Save ( java . io . File file )
136- {
137- WObj . save ( file ) ;
138- }
139-
117+
118+ public IList < NHtmlUnit . W3C . Dom . Ranges . IRange > SelectionRanges
119+ {
120+ get
121+ {
122+ return new ListWrapper < NHtmlUnit . W3C . Dom . Ranges . IRange > (
123+ WObj . getSelectionRanges ( ) ) ;
124+ }
125+ }
126+
127+ public java . util . Map Namespaces
128+ {
129+ get
130+ {
131+ return WObj . getNamespaces ( ) ;
132+ }
133+ }
140134// Generating method code for isQuirksMode
141135 public virtual bool IsQuirksMode ( )
142136 {
@@ -155,18 +149,18 @@ public virtual bool SetFocusedElement(NHtmlUnit.Html.HtmlElement newElement)
155149 return WObj . setFocusedElement ( ( com . gargoylesoftware . htmlunit . html . HtmlElement ) newElement . WrappedObject ) ;
156150 }
157151
158- // Generating method code for executeJavaScriptIfPossible
159- public virtual NHtmlUnit . ScriptResult ExecuteJavaScriptIfPossible ( string sourceCode , string sourceName , int startLine )
160- {
161- return ObjectWrapper . CreateWrapper < NHtmlUnit . ScriptResult > ( WObj . executeJavaScriptIfPossible ( sourceCode , sourceName , startLine ) ) ;
162- }
163-
164152// Generating method code for getResolvedTarget
165153 public virtual string GetResolvedTarget ( string elementTarget )
166154 {
167155 return WObj . getResolvedTarget ( elementTarget ) ;
168156 }
169157
158+ // Generating method code for executeJavaScriptIfPossible
159+ public virtual NHtmlUnit . ScriptResult ExecuteJavaScriptIfPossible ( string sourceCode , string sourceName , int startLine )
160+ {
161+ return ObjectWrapper . CreateWrapper < NHtmlUnit . ScriptResult > ( WObj . executeJavaScriptIfPossible ( sourceCode , sourceName , startLine ) ) ;
162+ }
163+
170164// Generating method code for getHtmlElementById
171165 public virtual NHtmlUnit . Html . HtmlElement GetHtmlElementById ( string id )
172166 {
@@ -326,6 +320,12 @@ public virtual void WriteInParsedStream(string stringArg)
326320 WObj . writeInParsedStream ( stringArg ) ;
327321 }
328322
323+ // Generating method code for save
324+ public virtual void Save ( java . io . File file )
325+ {
326+ WObj . save ( file ) ;
327+ }
328+
329329 }
330330
331331
0 commit comments