摘要:
A method and system for redisplaying a web page is provided. An example method comprises accessing a web page received at a computer system, analyzing the structured text of the web page, and identifying a plurality of content sections. A rendering module renders a web page view comprising the plurality of sections.
摘要:
A method and system for integrating Java and JavaScript technologies is provided. An example system includes a JavaScript proxy generator and a runtime module. The JavaScript proxy generator may be configured to automatically generate a JavaScript proxy in a form of a Java application programming interface. The runtime module may be configured to call the JavaScript proxy from the Java module, pass control of execution to the JavaScript module, execute the JavaScript module to generate an output method or object, and pass control of execution to the Java module to continue execution of the Java module.
摘要:
A method and system to manage content is provided to generate an abstraction layer between a user application and content, based on a formal definition of content (referred to as a content contract). An example content system comprises a content bundle module, a user application, and a content access interface module. The content bundle module may be configured to store content items. A content item may include text items and placeholders. The user application, which does not have to be coded with specific knowledge regarding the content bundle, may be configured to receive a request to provide to a to a client system a presentation package (e.g., a web page) that has the content item, and to obtain the content item and any associated metadata from the content access interface module. Content item metadata may include, for example, information regarding a value to populate a placeholder in the content item.
摘要:
A JavaScript™ programming extension is provided. An example JavaScript™ programming extension comprises a code generator and a JavaScript™ reference converter. The code generator may be configured to access an existing JavaScript™ file, validate JavaScript™ definitions in the existing JavaScript™ file, and generate a Java™ representation of the existing JavaScript™ file. The JavaScript™ reference converter may be configured to generate a validated JavaScript™ file corresponding to the existing JavaScript™ file.
摘要:
A container-less JSP system is provided. An example container-less JSP system comprises a detector, a trigger module, and an invoker. The detector may be configured to detect a request initiated by a client application to invoke a JSP template. The request is a protocol-neutral Java™ interface. The trigger module may be configured to trigger the protocol-neutral Java™ interface to invoke the JSP template. The invoker may be configured to invoke the JSP template.
摘要:
A browser emulator is provided. An example browser emulator system includes a communications module to receive requests for web pages from a browser application, a document object model (DOM) interceptor to intercept an initial document object model (DOM) provided by the web application, an activator to activate a browser emulator, and a DOM manipulator to generate a modified DOM. A marked-up document that corresponds to the modified DOM includes an event interceptor that replaces JavaScript code associated with the original DOM provided by the web application.
摘要:
A method and system for integrating Java and JavaScript technologies is provided. An example system includes a JavaScript proxy generator and a runtime module. The JavaScript proxy generator may be configured to automatically generate a JavaScript proxy in a form of a Java application programming interface. The runtime module may be configured to call the JavaScript proxy from the Java module, pass control of execution to the JavaScript module, execute the JavaScript module to generate an output method or object, and pass control of execution to the Java module to continue execution of the Java module.
摘要:
A programming extension for authoring style rules is provided. An example programming extension for authoring style rules comprises a style rules editor and a style definition class module. An example style rules editor may be configured to receive a request to generate a collection of style rules and to receive input associated with one or more style rules. The requested collection of style rules is to be suitable for use with a document-based web page. The style definition class module may be configured to generate a Java™ representation of the collection of style rules based on the input associated with the one or more style rules.
摘要:
A container-less JSP system is provided. An example container-less JSP system comprises a detector, a trigger module, and an invoker. The detector may be configured to detect a request initiated by a client application to invoke a JSP template. The request is a protocol-neutral Java™ interface. The trigger module may be configured to trigger the protocol-neutral Java™ interface to invoke the JSP template. The invoker may be configured to invoke the JSP template.
摘要:
A browser emulator is provided. An example browser emulator system includes a communications module to receive requests for web pages from a browser application, a document object model (DOM) interceptor to intercept an initial document object model (DOM) provided by the web application, an activator to activate a browser emulator, and a DOM manipulator to generate a modified DOM. A marked-up document that corresponds to the modified DOM includes an event interceptor that replaces JavaScript code associated with the original DOM provided by the web application.