mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-16 17:57:43 +00:00
620 lines
22 KiB
HTML
620 lines
22 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.5.0_11) on Sun Jan 18 19:28:20 COT 2009 -->
|
|
<TITLE>
|
|
UserAgentContext (Cobra 0.98.4 - Java HTML Toolkit - API Documentation)
|
|
</TITLE>
|
|
|
|
<META NAME="keywords" CONTENT="org.lobobrowser.html.UserAgentContext interface">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
parent.document.title="UserAgentContext (Cobra 0.98.4 - Java HTML Toolkit - API Documentation)";
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/UserAgentContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../org/lobobrowser/html/ReadyStateChangeListener.html" title="interface in org.lobobrowser.html"><B>PREV CLASS</B></A>
|
|
NEXT CLASS</FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?org/lobobrowser/html/UserAgentContext.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="UserAgentContext.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
org.lobobrowser.html</FONT>
|
|
<BR>
|
|
Interface UserAgentContext</H2>
|
|
<DL>
|
|
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/lobobrowser/html/test/SimpleUserAgentContext.html" title="class in org.lobobrowser.html.test">SimpleUserAgentContext</A></DD>
|
|
</DL>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public interface <B>UserAgentContext</B></DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
Provides information about the user agent (browser) driving
|
|
the parser and/or renderer.
|
|
<p>
|
|
A simple implementation of this interface is provided in
|
|
<A HREF="../../../org/lobobrowser/html/test/SimpleUserAgentContext.html" title="class in org.lobobrowser.html.test"><CODE>SimpleUserAgentContext</CODE></A>.
|
|
<P>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../../org/lobobrowser/html/HtmlRendererContext.html#getUserAgentContext()"><CODE>HtmlRendererContext.getUserAgentContext()</CODE></A>,
|
|
<A HREF="../../../org/lobobrowser/html/parser/DocumentBuilderImpl.html#DocumentBuilderImpl(org.lobobrowser.html.UserAgentContext)"><CODE>DocumentBuilderImpl.DocumentBuilderImpl(UserAgentContext)</CODE></A></DL>
|
|
<HR>
|
|
|
|
<P>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../org/lobobrowser/html/HttpRequest.html" title="interface in org.lobobrowser.html">HttpRequest</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#createHttpRequest()">createHttpRequest</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Creates an instance of <A HREF="../../../org/lobobrowser/html/HttpRequest.html" title="interface in org.lobobrowser.html"><CODE>HttpRequest</CODE></A> which
|
|
can be used by the renderer to load images, scripts, external style sheets,
|
|
and implement the Javascript XMLHttpRequest class (AJAX).</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#getAppCodeName()">getAppCodeName</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets browser "code" name.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#getAppMinorVersion()">getAppMinorVersion</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets browser application minor version.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#getAppName()">getAppName</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets browser application name.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#getAppVersion()">getAppVersion</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets browser application version.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#getBrowserLanguage()">getBrowserLanguage</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets browser language code.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#getCookie(java.net.URL)">getCookie</A></B>(java.net.URL url)</CODE>
|
|
|
|
<BR>
|
|
Method used to implement Javascript <code>document.cookie</code> property.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#getPlatform()">getPlatform</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets the name of the user's operating system.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#getProduct()">getProduct</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#getScriptingOptimizationLevel()">getScriptingOptimizationLevel</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets the scripting optimization level, which is a value
|
|
equivalent to Rhino's optimization level.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.security.Policy</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#getSecurityPolicy()">getSecurityPolicy</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets the security policy for scripting.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#getUserAgent()">getUserAgent</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Should return the string used in
|
|
the User-Agent header.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#getVendor()">getVendor</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#isCookieEnabled()">isCookieEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns a boolean value indicating whether cookies are
|
|
enabled in the user agent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#isExternalCSSEnabled()">isExternalCSSEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns a boolean value indicating whether
|
|
remote (non-inline) CSS documents should be loaded.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#isMedia(java.lang.String)">isMedia</A></B>(java.lang.String mediaName)</CODE>
|
|
|
|
<BR>
|
|
Returns true if the current media matches the name provided.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#isScriptingEnabled()">isScriptingEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns a boolean value indicating whether scripting
|
|
is enabled in the user agent.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../org/lobobrowser/html/UserAgentContext.html#setCookie(java.net.URL, java.lang.String)">setCookie</A></B>(java.net.URL url,
|
|
java.lang.String cookieSpec)</CODE>
|
|
|
|
<BR>
|
|
Method used to implement <code>document.cookie</code> property.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="createHttpRequest()"><!-- --></A><H3>
|
|
createHttpRequest</H3>
|
|
<PRE>
|
|
<A HREF="../../../org/lobobrowser/html/HttpRequest.html" title="interface in org.lobobrowser.html">HttpRequest</A> <B>createHttpRequest</B>()</PRE>
|
|
<DL>
|
|
<DD>Creates an instance of <A HREF="../../../org/lobobrowser/html/HttpRequest.html" title="interface in org.lobobrowser.html"><CODE>HttpRequest</CODE></A> which
|
|
can be used by the renderer to load images, scripts, external style sheets,
|
|
and implement the Javascript XMLHttpRequest class (AJAX).
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getAppCodeName()"><!-- --></A><H3>
|
|
getAppCodeName</H3>
|
|
<PRE>
|
|
java.lang.String <B>getAppCodeName</B>()</PRE>
|
|
<DL>
|
|
<DD>Gets browser "code" name.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getAppName()"><!-- --></A><H3>
|
|
getAppName</H3>
|
|
<PRE>
|
|
java.lang.String <B>getAppName</B>()</PRE>
|
|
<DL>
|
|
<DD>Gets browser application name.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getAppVersion()"><!-- --></A><H3>
|
|
getAppVersion</H3>
|
|
<PRE>
|
|
java.lang.String <B>getAppVersion</B>()</PRE>
|
|
<DL>
|
|
<DD>Gets browser application version.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getAppMinorVersion()"><!-- --></A><H3>
|
|
getAppMinorVersion</H3>
|
|
<PRE>
|
|
java.lang.String <B>getAppMinorVersion</B>()</PRE>
|
|
<DL>
|
|
<DD>Gets browser application minor version.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getBrowserLanguage()"><!-- --></A><H3>
|
|
getBrowserLanguage</H3>
|
|
<PRE>
|
|
java.lang.String <B>getBrowserLanguage</B>()</PRE>
|
|
<DL>
|
|
<DD>Gets browser language code. See <a href="http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes">ISO 639-1 codes</a>.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isCookieEnabled()"><!-- --></A><H3>
|
|
isCookieEnabled</H3>
|
|
<PRE>
|
|
boolean <B>isCookieEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns a boolean value indicating whether cookies are
|
|
enabled in the user agent. This value is used for reporting
|
|
purposes only.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isScriptingEnabled()"><!-- --></A><H3>
|
|
isScriptingEnabled</H3>
|
|
<PRE>
|
|
boolean <B>isScriptingEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns a boolean value indicating whether scripting
|
|
is enabled in the user agent. If this value is <code>false</code>,
|
|
the parser will not process scripts and Javascript element
|
|
attributes will have no effect.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isExternalCSSEnabled()"><!-- --></A><H3>
|
|
isExternalCSSEnabled</H3>
|
|
<PRE>
|
|
boolean <B>isExternalCSSEnabled</B>()</PRE>
|
|
<DL>
|
|
<DD>Returns a boolean value indicating whether
|
|
remote (non-inline) CSS documents should be loaded.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getPlatform()"><!-- --></A><H3>
|
|
getPlatform</H3>
|
|
<PRE>
|
|
java.lang.String <B>getPlatform</B>()</PRE>
|
|
<DL>
|
|
<DD>Gets the name of the user's operating system.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getUserAgent()"><!-- --></A><H3>
|
|
getUserAgent</H3>
|
|
<PRE>
|
|
java.lang.String <B>getUserAgent</B>()</PRE>
|
|
<DL>
|
|
<DD>Should return the string used in
|
|
the User-Agent header.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCookie(java.net.URL)"><!-- --></A><H3>
|
|
getCookie</H3>
|
|
<PRE>
|
|
java.lang.String <B>getCookie</B>(java.net.URL url)</PRE>
|
|
<DL>
|
|
<DD>Method used to implement Javascript <code>document.cookie</code> property.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setCookie(java.net.URL, java.lang.String)"><!-- --></A><H3>
|
|
setCookie</H3>
|
|
<PRE>
|
|
void <B>setCookie</B>(java.net.URL url,
|
|
java.lang.String cookieSpec)</PRE>
|
|
<DL>
|
|
<DD>Method used to implement <code>document.cookie</code> property.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>cookieSpec</CODE> - Specification of cookies, as they
|
|
would appear in the Set-Cookie
|
|
header value of HTTP.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getSecurityPolicy()"><!-- --></A><H3>
|
|
getSecurityPolicy</H3>
|
|
<PRE>
|
|
java.security.Policy <B>getSecurityPolicy</B>()</PRE>
|
|
<DL>
|
|
<DD>Gets the security policy for scripting. Return <code>null</code>
|
|
if JavaScript code is trusted.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getScriptingOptimizationLevel()"><!-- --></A><H3>
|
|
getScriptingOptimizationLevel</H3>
|
|
<PRE>
|
|
int <B>getScriptingOptimizationLevel</B>()</PRE>
|
|
<DL>
|
|
<DD>Gets the scripting optimization level, which is a value
|
|
equivalent to Rhino's optimization level.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isMedia(java.lang.String)"><!-- --></A><H3>
|
|
isMedia</H3>
|
|
<PRE>
|
|
boolean <B>isMedia</B>(java.lang.String mediaName)</PRE>
|
|
<DL>
|
|
<DD>Returns true if the current media matches the name provided.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>mediaName</CODE> - Media name, which
|
|
may be <code>screen</code>, <code>tty</code>, etc. (See <a href="http://www.w3.org/TR/REC-html40/types.html#type-media-descriptors">HTML Specification</a>).</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getVendor()"><!-- --></A><H3>
|
|
getVendor</H3>
|
|
<PRE>
|
|
java.lang.String <B>getVendor</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getProduct()"><!-- --></A><H3>
|
|
getProduct</H3>
|
|
<PRE>
|
|
java.lang.String <B>getProduct</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/UserAgentContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../org/lobobrowser/html/ReadyStateChangeListener.html" title="interface in org.lobobrowser.html"><B>PREV CLASS</B></A>
|
|
NEXT CLASS</FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?org/lobobrowser/html/UserAgentContext.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="UserAgentContext.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
|
|
<a href='http://sourceforge.net' target='_top'><img align='right' hspace='4' src='http://sourceforge.net/sflogo.php?group_id=139023&type=4' width='125' height='37' border='0' alt='SourceForge.net Logo'/></a><i>Copyright © 2005, 2006, 2007 The Lobo Project. All Rights Reserved.</i><br>[<a href='http://lobobrowser.org/cobra.jsp' target='_top'>Cobra Project Home</a>]
|
|
|
|
<div id='adbox' style='position: absolute; top: 6.0em; right: 8px; display: none; background: white; border: #100030 solid 2px; padding: 4px; background-color: #FFFF90'>
|
|
<!-- adsense start -->
|
|
<form action=http://lobobrowser.org/api-searchresults.jsp id=cse-search-box target=_top>
|
|
<div>
|
|
<input type=hidden name=cx value=partner-pub-9179280249786862:aa7aazd6e58 />
|
|
<input type=hidden name=cof value=FORID:10 />
|
|
<input type=hidden name=ie value=ISO-8859-1 />
|
|
<input type=text name=q size=10 />
|
|
<input type=submit name=sa value=Search />
|
|
</div>
|
|
</form>
|
|
<script type=text/javascript src=http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en></script>
|
|
<!-- adsense end -->
|
|
</div>
|
|
|
|
<script><!--
|
|
if(!document.iSkipCornerAd) {
|
|
var iAdBox = document.getElementById('adbox');
|
|
iAdBox.style.display = 'block';
|
|
}
|
|
//-->
|
|
</script>
|
|
|
|
|
|
</BODY>
|
|
</HTML>
|