ariba.ui.aribaweb.core
Class AWComment

java.lang.Object
  extended by ariba.ui.aribaweb.util.AWBaseObject
      extended by ariba.ui.aribaweb.core.AWBaseElement
          extended by ariba.ui.aribaweb.core.AWBindableElement
              extended by ariba.ui.aribaweb.core.AWContainerElement
                  extended by ariba.ui.aribaweb.core.AWComment
All Implemented Interfaces:
AWBindable, AWCycleable, AWCycleableReference, AWElement, AWElementContaining, AWHtmlTemplateParser.LiteralBody, AWHtmlTemplateParser.SupressesEmbeddedKeyPaths, AWVisitable, AWObject, java.lang.Cloneable

public class AWComment
extends AWContainerElement
implements AWHtmlTemplateParser.LiteralBody

Is an XML / HTML comment.

That is, whatever is inside the comment is bracketed by <!-- and --> and rendered into the output. The comment body is not interpreted, so it's safe to put all sorts of markup in there. It is not safe to place open or close comment markers (i.e. <!-- or -->) in the body, however.


Field Summary
static java.lang.String Close
           
static java.lang.String Open
           
 
Fields inherited from class ariba.ui.aribaweb.util.AWBaseObject
AribaHashtableClass, AribaVectorClass, ClassClass, EmptyHashtable, EmptyMap, EmptyVector, False, IntegerClass, JavaHashtableClass, JavaMapClass, JavaVectorClass, LogHandling, NullObject, ObjectClass, StringClass, True, UndefinedObject, UndefinedString, UninitializedRealNumber
 
Constructor Summary
AWComment()
           
 
Method Summary
 void renderResponse(AWRequestContext requestContext, AWComponent component)
          The receiver should render its content to the AWRequestContext.response()
 
Methods inherited from class ariba.ui.aribaweb.core.AWContainerElement
add, appendTo, applyValues, contentElement, continueVisit, invokeAction, setContentElement, validate
 
Methods inherited from class ariba.ui.aribaweb.core.AWBindableElement
allBindings, determineInstance, init, tagName
 
Methods inherited from class ariba.ui.aribaweb.core.AWBaseElement
bareStringContent, clone, determineInstance, lineNumber, setLineNumber, setTemplateName, startVisit, templateName, toString
 
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject
debugString, ensureFieldValuesClear, getFieldValue, init, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ariba.ui.aribaweb.core.AWElement
clone
 
Methods inherited from interface ariba.ui.aribaweb.core.AWCycleableReference
determineInstance
 
Methods inherited from interface ariba.ui.aribaweb.util.AWObject
getFieldValue, init, isKindOfClass, setFieldValue
 
Methods inherited from interface ariba.ui.aribaweb.core.AWVisitable
startVisit
 

Field Detail

Open

public static final java.lang.String Open
See Also:
Constant Field Values

Close

public static final java.lang.String Close
See Also:
Constant Field Values
Constructor Detail

AWComment

public AWComment()
Method Detail

renderResponse

public void renderResponse(AWRequestContext requestContext,
                           AWComponent component)
Description copied from interface: AWCycleable
The receiver should render its content to the AWRequestContext.response()

Specified by:
renderResponse in interface AWCycleable
Overrides:
renderResponse in class AWContainerElement
Parameters:
requestContext - the context for the current request.
component - the current parent component


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.