Class XItemRenderCtx


  • public class XItemRenderCtx
    extends Object
    • Constructor Detail

      • XItemRenderCtx

        public XItemRenderCtx​(XItemRenderData renderData,
                              HashMap<String,​com.hp.gagawa.java.FertileNode> parents,
                              boolean designerPreview,
                              boolean attributeW3CMode,
                              boolean elementClassNameMode)
    • Method Detail

      • registerParent

        public void registerParent​(String id,
                                   com.hp.gagawa.java.FertileNode node)
      • registerParent

        public void registerParent​(com.hp.gagawa.java.FertileNode node)
      • addHtmlAttributes

        public void addHtmlAttributes​(com.hp.gagawa.java.Node node)
      • addValidationAttributes

        public void addValidationAttributes​(com.hp.gagawa.java.Node node)
      • isDesignerPreview

        public boolean isDesignerPreview()
      • setAttributeW3CMode

        public void setAttributeW3CMode​(boolean attributeW3CMode)
      • isAttributeW3CMode

        public boolean isAttributeW3CMode()
      • isElementClassNameMode

        public boolean isElementClassNameMode()
        Returns:
        true if the name of the element should be added as a CSS style class, false otherwise.