Uses of Class
org.apache.shale.clay.parser.Node

Packages that use Node
org.apache.shale.clay.config   
org.apache.shale.clay.parser   
org.apache.shale.clay.parser.builder   
org.apache.shale.clay.parser.builder.chain   
 

Uses of Node in org.apache.shale.clay.config
 

Methods in org.apache.shale.clay.config with parameters of type Node
 Builder ClayTemplateParser.getBuilder(Node node)
          Returns the Builder that is assigned the task of converting the html node to a corresponding component metadata used to construct a JSF resource.
 

Uses of Node in org.apache.shale.clay.parser
 

Methods in org.apache.shale.clay.parser that return Node
protected  Node Parser.buildNode(Token token)
          This is a factory method that builds a Node from a Token.
protected  Node Parser.findBeginingNode(Node current, Node node)
           
 Node Node.getParent()
          Returns the parent of the node or null if the node is a top-level/root node.
 

Methods in org.apache.shale.clay.parser with parameters of type Node
 void Node.addChild(Node child)
          Adds a child node to the children collection.
protected  void Parser.discoverNodeAttributes(Node node)
          If the Node is a starting tag and not a comment, use the AttributeTokenizer to realize the node attributes.
protected  void Parser.discoverNodeName(Node node)
          Extracts the node name from the Token if the Node is a starting or ending tag.
protected  void Parser.discoverNodeOverrides(Node node)
          Explicitly sets the isEnd Node property to true for self terminating tags.
protected  void Parser.discoverNodeShape(Node node)
          Determine if the Node is a starting, ending, or body text tag.
protected  Node Parser.findBeginingNode(Node current, Node node)
           
protected  boolean Parser.isNodeNameEqual(Node node1, Node node2)
          Compares two Node instances by name.
 void Node.setParent(Node parent)
          Sets the parent node.
 

Uses of Node in org.apache.shale.clay.parser.builder
 

Methods in org.apache.shale.clay.parser.builder with parameters of type Node
protected  void ElementBuilder.addActionListener(Node node, ElementBean target)
          Adds an ActionListenerBean to the target ElementBean using the Node as the input source.
protected  void JsfDefaultBuilder.addActionListener(Node node, ElementBean target)
           
protected  void JsfDefaultBuilder.addAttribute(Node node, ElementBean target)
          Adds markup <f:attribute> to the target ElementBean.
protected  void ElementBuilder.addAttributes(Node attributesNode, ComponentBean target)
          Looks for <set/> nodes within a <attributes> node and converting them to AttributeBean's on the target ComponentBean.
protected  void ElementBuilder.addConverter(Node node, ElementBean target)
          Adds a ConverterBean to the target ElementBean using the Node as the input source.
protected  void JsfDefaultBuilder.addConverter(Node node, ElementBean target)
           
protected  void JsfDefaultBuilder.addFacet(Node node, ElementBean target)
          Adds markup <f:facet> to the target's child ElementBean.
protected  void JsfDefaultBuilder.addSymbol(Node node, ElementBean target)
          Adds markup <clay:symbol> to the target ElementBean.
protected  void ElementBuilder.addSymbols(Node symbolsNode, ElementBean target)
          Adds markup symbols to the target ElementBean.
protected  void ElementBuilder.addValidator(Node node, ElementBean target)
          Adds a ValidatorBean to the target ElementBean using the Node as the input source.
protected  void JsfDefaultBuilder.addValidator(Node node, ElementBean target)
           
protected  void JsfDefaultBuilder.addValidatorVar(Node attributesNode, ComponentBean target)
          Looks for <s:validatorVar/> nodes within a <s:commonsValidator> node and converting them to AttributeBean's on the target ComponentBean.
protected  void ElementBuilder.addValueChangeListener(Node node, ElementBean target)
          Adds a ActionListenerBean to the target ElementBean using the Node as the input source.
protected  void JsfDefaultBuilder.addValueChangeListener(Node node, ElementBean target)
           
protected  void VerbatimBuilder.assignAttributes(Node node, ComponentBean target)
          Skip the processing of attributes for a verbatim node.
protected  void Builder.assignAttributes(Node node, ComponentBean target)
           This method applies the HTML attribute overrides to the declarative component, an object representation of the XML configuration.
protected  void ElementBuilder.assignNode(Node node, ElementBean target)
           This method resolves the jsfid attribute for an HTML element to a component definition in the XML configuration files.
protected  void Builder.assignNode(Node node, ElementBean target)
           This method resolves the jsfid attribute for an HTML element to a component definition in the XML configuration files.
protected  void IgnoreBuilder.captureComment(Node node, StringBuffer commentBody)
          Recursively traverses the children of the HTML Node concatenating the raw text of each Token into the commentBody.
protected  void CommentBuilder.captureComment(Node node, StringBuffer commentBody)
          Recursively traverses the children of the HTML Node concatenating the raw text of each Token into the commentBody.
 ElementBean ElementBuilder.createElement(Node node)
          This method is overridden to look for a renderId attribute in the Node.
 ElementBean JsfDefaultBuilder.createElement(Node node)
          Factory method that creates a ElementBean from a Node.
 ElementBean Builder.createElement(Node node)
           Factory method that creates a ElementBean from a Node.
 void Builder.encode(Node node, ElementBean target, ComponentBean root)
           The call that begins the conversion of a Node to a ComponentBean.
protected  void SelectOneMenuBuilder.encodeBegin(Node node, ElementBean target, ComponentBean root)
          Remove any child nodes that are not "option" nodes.
protected  void OutputLinkBuilder.encodeBegin(Node node, ElementBean target, ComponentBean root)
          Calls super to populate the target config bean with the html node's values.
protected  void IgnoreBuilder.encodeBegin(Node node, ElementBean target, ComponentBean root)
          Builds a outputText component.
protected  void SelectItemBuilder.encodeBegin(Node node, ElementBean target, ComponentBean root)
           The default for a single option is to look at the next html node to find the label.
protected  void JspIncludeDirectiveBuilder.encodeBegin(Node node, ElementBean target, ComponentBean root)
          Calls super to populate the target config bean with the html node's values.
protected  void CommentBuilder.encodeBegin(Node node, ElementBean target, ComponentBean root)
          The super implementation is invoked to build a target ElementBean.
protected  void ElementBuilder.encodeBegin(Node node, ElementBean target, ComponentBean root)
          Handles converting markup resembling the <element> node in the clay DTD, http://shale.apache.org/dtds/clay-config_1_0.dtd, to the target ElementBean.
protected  void JsfDefaultBuilder.encodeBegin(Node node, ElementBean target, ComponentBean root)
          Build's a target ElementBean from a Node.
protected  void SelectManyMenuBuilder.encodeBegin(Node node, ElementBean target, ComponentBean root)
          Remove any child nodes that are not "option" nodes.
protected  void VerbatimBuilder.encodeBegin(Node node, ElementBean target, ComponentBean root)
           Calls to the super implementation to populate the target ElementBean and then sets the value attribute to the raw text of the html node.
protected  void Builder.encodeBegin(Node node, ElementBean target, ComponentBean root)
           Called to being building a ElementBean from a Node.
protected  void Builder.encodeChildren(Node node, ElementBean target, ComponentBean root)
           Recursively builds the clay meta component data from the parse document of Node's.
protected  void InputTextBuilder.encodeEnd(Node node, ElementBean target, ComponentBean root)
           The default for this builder is that builder will handle the children html nodes meaning that the default should be true.
protected  void CommentBuilder.encodeEnd(Node node, ElementBean target, ComponentBean root)
          This override cancels the super implementation.
protected  void VerbatimBuilder.encodeEnd(Node node, ElementBean target, ComponentBean root)
           If the html node is well-formed, the create a ending html tag using another verbatim ElementBean.
protected  void Builder.encodeEnd(Node node, ElementBean target, ComponentBean root)
           This call is invoked for any final processing.
 Builder JsfDefaultBuilder.getBuilder(Node node)
          Returns the Builder that is assigned the task of converting the html node to a corresponding component metadata used to construct a JSF resource.
 Builder Builder.getBuilder(Node node)
          Returns the Builder that is assigned the task of converting the html node to a corresponding component metadata used to construct a JSF resource.
protected  boolean SelectItemBuilder.getBuildNodeBody(Node node, ElementBean target)
          Returns true by default meaning that the parent will render children.
protected  boolean JspIncludeDirectiveBuilder.getBuildNodeBody(Node node, ElementBean target)
          This builder handles converting the nodes's children.
protected  boolean CommentBuilder.getBuildNodeBody(Node node, ElementBean target)
          This method is overridden to return a true value indicating that this Builder will handle child nodes under the associated HTML Node.
protected  boolean SelectItemsBuilder.getBuildNodeBody(Node node, ElementBean target)
          Returns true by default meaning that the parent will render children.
protected  boolean Builder.getBuildNodeBody(Node node, ElementBean target)
           Returns true if the builder handles converting the node's children or false if it's handled by the parent.
protected  String SelectOneMenuBuilder.getComponentType(Node node)
           Returns a JSF component type of javax.faces.HtmlSelectOneMenu that will populate the target ElementBean.
protected  String InputTextareaBuilder.getComponentType(Node node)
           Returns the JSF componentType of javax.faces.HtmlInputTextarea used to define the ElementBean from the HTML Node.
protected  String InputTextBuilder.getComponentType(Node node)
           Returns the JSF componentType of javax.faces.HtmlInputTextarea used to define the ElementBean from the HTML Node.
protected  String SelectBooleanCheckboxBuilder.getComponentType(Node node)
           Returns the JSF component type of javax.faces.HtmlSelectBooleanCheckbox that will create a checkbox component.
protected  String OutputLinkBuilder.getComponentType(Node node)
           Returns a JSF component type of javax.faces.HtmlOutputLink.
protected  String SelectOneRadioBuilder.getComponentType(Node node)
           Returns a JSF component type of javax.faces.HtmlSelectOneRadio.
protected  String CommandButtonBuilder.getComponentType(Node node)
           The JSF componentType that is registered in the faces configuration giving a logical name to a JSF javax.faces.HtmlCommandButton component.
protected  String SelectItemBuilder.getComponentType(Node node)
           Returns the JSF component type of javax.faces.SelectItem that will populate a ElementBean and create an html option.
protected  String OutputLabelBuilder.getComponentType(Node node)
           Returns the JSF component type of javax.faces.HtmlOutputLabel that will populate the ElementBean being created.
protected  String JspIncludeDirectiveBuilder.getComponentType(Node node)
           Returns the JSF component type of org.apache.shale.clay.component.Clay that will populate the componentType property of the ElementBean being created.
protected  String SelectItemsBuilder.getComponentType(Node node)
           Returns the JSF component type javax.faces.SelectItems that will be set to the target ElementBean and used to create options for a collection.
protected  String ElementBuilder.getComponentType(Node node)
          Returns the componentType from the target HTML Node.
protected  String SelectManyMenuBuilder.getComponentType(Node node)
           Returns the JSF component type of javax.faces.HtmlSelectManyMenu that will populate the target ElementBean.
protected  String VerbatimBuilder.getComponentType(Node node)
           Returns a JSF component type of javax.faces.HtmlOutputText.
protected  String FormBuilder.getComponentType(Node node)
           Returns the JSF componentType of javax.faces.HtmlForm to populate the ElementBean.
protected  String MorphBuilder.getComponentType(Node node)
           Returns a bogus componentType that is overridden by the mapped component using the jsfid as an HTML attribute.
protected abstract  String Builder.getComponentType(Node node)
           Returns the faces component type registered in the faces configuration or the fully qualified class name for ActionListeners and ValueChangeListeners.
protected  String VoidBuilder.getComponentType(Node node)
           Returns a JSF component type of javax.faces.HtmlOutputText.
protected  String SelectOneMenuBuilder.getJsfid(Node node)
           Returns the jsfid that will populate the target ElementBean.
protected  String InputTextareaBuilder.getJsfid(Node node)
           Returns the jsfid used to populate the ElementBean.
protected  String InputTextBuilder.getJsfid(Node node)
           Returns the jsfid used to populate the ElementBean.
protected  String SelectBooleanCheckboxBuilder.getJsfid(Node node)
           Returns a jsfid for the ElementBean.
protected  String OutputLinkBuilder.getJsfid(Node node)
           Returns a jsfid that will populate the target ElementBean.
protected  String IgnoreBuilder.getJsfid(Node node)
          Returns the jsfid for the target ElementBean.
protected  String SelectOneRadioBuilder.getJsfid(Node node)
           Returns a jsfid that will populate the target ElementBean.
protected  String CommandButtonBuilder.getJsfid(Node node)
           Returns the jsfid assigned to the ElementBean.
protected  String SelectItemBuilder.getJsfid(Node node)
           Returns a jsfid that will be set on the target ElementBean.
protected  String OutputLabelBuilder.getJsfid(Node node)
           Returns the jsfid associated with the ElementBean being build.
protected  String JspIncludeDirectiveBuilder.getJsfid(Node node)
           Returns the jsfid associated with the ElementBean being build.
protected  String SelectItemsBuilder.getJsfid(Node node)
           Returns a jsfid used to populate the target ElementBean.
protected  String ElementBuilder.getJsfid(Node node)
          Returns the jsfid from the target HTML Node.
protected  String JsfDefaultBuilder.getJsfid(Node node)
          Returns the jsfid from the Node The extends attribute is giving the first order of evaluation.
protected  String SelectManyMenuBuilder.getJsfid(Node node)
           Returns the jsfid for the target ElementBean.
protected  String VerbatimBuilder.getJsfid(Node node)
           Returns the jsfid for the target ElementBean.
protected  String FormBuilder.getJsfid(Node node)
           Returns the jsfid for the ElementBean.
protected  String MorphBuilder.getJsfid(Node node)
           Returns the jsfid the ElementBean will take.
protected abstract  String Builder.getJsfid(Node node)
           Returns a jsfid for the component.
protected  String VoidBuilder.getJsfid(Node node)
           Returns the jsfid for the target ElementBean.
static Builder BuilderFactory.getRenderer(Node node)
           Returns a Builder mapped to a Node by executing chain command Globals.FIND_BUILDER_COMMAND_NAME The BuilderRuleContext is passed to the chain.
protected  boolean ElementBuilder.isNodeWhitespace(Node node)
          Test the value of the node and returns true if the value is only whitespace.
protected  void ElementBuilder.realizeComponent(Node node, ComponentBean target)
          Realizes the inheritance of the target ComponentBean and and then applies attributes that are optionally nested under the node.
 

Uses of Node in org.apache.shale.clay.parser.builder.chain
 

Methods in org.apache.shale.clay.parser.builder.chain that return Node
 Node BuilderRuleContext.getNode()
           Returns the current html Node.
 

Methods in org.apache.shale.clay.parser.builder.chain with parameters of type Node
 void BuilderRuleContext.setNode(Node node)
           Sets the current html Node.
 



Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.