com.guiseframework.platform
Interface XHTMLDepictContext

All Superinterfaces:
DepictContext, com.globalmentor.beans.PropertyBindable, TextDepictContext, XMLDepictContext
All Known Subinterfaces:
WebDepictContext
All Known Implementing Classes:
AbstractWebDepictContext, AbstractXHTMLDepictContext, HTTPServletWebDepictContext

public interface XHTMLDepictContext
extends XMLDepictContext

Encapsulation of application/xhtml+xml information related to the current depiction.

Author:
Garret Wilson

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.guiseframework.platform.XMLDepictContext
XMLDepictContext.ElementState
 
Field Summary
static com.globalmentor.util.StringTemplate CSS_PROPERTY_BORDER_X_COLOR_TEMPLATE
          The template for "border-?-color".
static com.globalmentor.util.StringTemplate CSS_PROPERTY_BORDER_X_STYLE_TEMPLATE
          The template for "border-?-style".
static com.globalmentor.util.StringTemplate CSS_PROPERTY_BORDER_X_WIDTH_TEMPLATE
          The template for "border-?-width".
static com.globalmentor.util.StringTemplate CSS_PROPERTY_MARGIN_X_TEMPLATE
          The template for "margin-?".
static com.globalmentor.util.StringTemplate CSS_PROPERTY_PADDING_X_TEMPLATE
          The template for "padding-?".
static java.util.Set<Side> CSS_SIDES
          The sides supported by CSS.
 
Method Summary
 XMLDepictContext.ElementState writeJavaScriptElement(java.net.URI javascriptURI)
          Generates a JavaScript element that references the given URI.
 
Methods inherited from interface com.guiseframework.platform.XMLDepictContext
getQualifiedName, writeAttribute, writeComment, writeCommentClose, writeCommentOpen, writeDocType, writeDocType, writeElementBegin, writeElementBegin, writeElementEnd
 
Methods inherited from interface com.guiseframework.platform.TextDepictContext
clearDepictText, getDepictStringBuilder, getDepictText, getIndentLevel, getOutputCharacterEncoding, getOutputContentType, indent, indent, isFormatted, setIndentLevel, setOutputContentType, unindent, write, write, writeIndent, writeLiteral
 
Methods inherited from interface com.guiseframework.platform.DepictContext
getDepictionURI, getDepictionURI, getDepictionURI, getDestination, getPlatform, getSession, getStyles
 
Methods inherited from interface com.globalmentor.beans.PropertyBindable
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, hasPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
 

Field Detail

CSS_PROPERTY_BORDER_X_COLOR_TEMPLATE

static final com.globalmentor.util.StringTemplate CSS_PROPERTY_BORDER_X_COLOR_TEMPLATE
The template for "border-?-color".


CSS_PROPERTY_BORDER_X_STYLE_TEMPLATE

static final com.globalmentor.util.StringTemplate CSS_PROPERTY_BORDER_X_STYLE_TEMPLATE
The template for "border-?-style".


CSS_PROPERTY_BORDER_X_WIDTH_TEMPLATE

static final com.globalmentor.util.StringTemplate CSS_PROPERTY_BORDER_X_WIDTH_TEMPLATE
The template for "border-?-width".


CSS_PROPERTY_MARGIN_X_TEMPLATE

static final com.globalmentor.util.StringTemplate CSS_PROPERTY_MARGIN_X_TEMPLATE
The template for "margin-?".


CSS_PROPERTY_PADDING_X_TEMPLATE

static final com.globalmentor.util.StringTemplate CSS_PROPERTY_PADDING_X_TEMPLATE
The template for "padding-?".


CSS_SIDES

static final java.util.Set<Side> CSS_SIDES
The sides supported by CSS.

Method Detail

writeJavaScriptElement

XMLDepictContext.ElementState writeJavaScriptElement(java.net.URI javascriptURI)
                                                     throws java.io.IOException
Generates a JavaScript element that references the given URI. The given URI is resolved to the application path.

Parameters:
javascriptURI - The application-relative IRO to the JavaScript file.
Returns:
The state of the element written.
Throws:
java.io.IOException - if there is an error writing the information.


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.