7. component

component(className, param, ..., param)

Inserts a standard Java™ AWT Component or Swing JComponent in generated content.

className is the name of a Java class which implements the interface com.xmlmind.xmledit.styledview.ComponentFactory (see Chapter 8, Writing style sheet extensions in XMLmind XML Editor - Developer's Guide).

Example (XHTML - excerpt of bundled xhtml-form.css):

input {
    content: component("com.xmlmind.xmleditapp.xhtml.Input");    
}