| java.lang.Object com.caucho.jsp.TagInstance
TagInstance | public class TagInstance (Code) | | Describes a single tag instance.
|
Inner Class :static class Varies | |
Method Summary | |
public void | addAttribute(QName name, Object value) Sets the attribute. | public TagInstance | addNewTag(QName tagName, TagInfo tagInfo, Class cl, ArrayList<QName> names, ArrayList<String> values, boolean hasBodyContent) Adds a new tag. | public TagInstance | addTag(QName tagName, TagInfo tagInfo, Class cl, ArrayList<QName> names, ArrayList<Object> values, boolean hasBodyContent) Adds a child tag. | boolean | canBeRequestTime(String name) | public TagInstance | findTag(QName tagName, ArrayList<QName> names, boolean hasBodyContent) Finds the matching tag. | public boolean | generateAdapterDeclaration() | public TagInstance | get(int i) Iterates through the children. | public AnalyzedTag | getAnalyzedTag() Returns the analyzed tag. | public String | getAttribute(QName name) | public TagAttributeInfo | getAttributeInfo(String name) | public ArrayList<QName> | getAttributeNames() Returns the tag's attribute names. | public boolean | getBodyContent() Get true if the tag has a body content. | public String | getId() | public String | getName() | public boolean | getNeedsAdapter() Set true if needs an adapter. | public TagInstance | getParent() | public QName | getQName() | public Class | getTagClass() Returns the tag class. | public TagInfo | getTagInfo() | public VariableInfo[] | getVarInfo() | public boolean | hasChildren() Returns true if there are children. | public boolean | isSimpleTag() Returns true if it's a simple tag. | public boolean | isTagFileTag() Returns true if it's a simple tag. | public boolean | isTop() Returns true for a top tag. | public Iterator<TagInstance> | iterator() Iterates through the children. | boolean | match(QName tagName, ArrayList<QName> names, boolean hasBodyContent) Returns true for matching instances. | public void | setBodyContent(boolean hasBodyContent) Set true if the tag has a body content. | public void | setId(String id) | public void | setNeedsAdapter(boolean needsAdapter) if needs an adapter. | void | setVarInfo(VariableInfo[] varInfo) | public int | size() |
FRAGMENT_WITH_SIMPLE_PARENT | final public static String FRAGMENT_WITH_SIMPLE_PARENT(Code) | | |
FRAGMENT_WITH_TAG_PARENT | final public static String FRAGMENT_WITH_TAG_PARENT(Code) | | |
addAttribute | public void addAttribute(QName name, Object value)(Code) | | Sets the attribute. Null values can't be pre-cached.
|
addTag | public TagInstance addTag(QName tagName, TagInfo tagInfo, Class cl, ArrayList<QName> names, ArrayList<Object> values, boolean hasBodyContent)(Code) | | Adds a child tag. If the tag exists, just reuse it.
Parameters: tagName - the JSP name of the tag Parameters: tagInfo - the TagInfo structure for the tag Parameters: cl - the tag's implementation class Parameters: names - the array of attribute names Parameters: values - the array of attribute values |
canBeRequestTime | boolean canBeRequestTime(String name)(Code) | | |
generateAdapterDeclaration | public boolean generateAdapterDeclaration()(Code) | | |
getAttributeNames | public ArrayList<QName> getAttributeNames()(Code) | | Returns the tag's attribute names.
|
getBodyContent | public boolean getBodyContent()(Code) | | Get true if the tag has a body content.
|
getNeedsAdapter | public boolean getNeedsAdapter()(Code) | | Set true if needs an adapter.
|
getQName | public QName getQName()(Code) | | Returns the tag name
|
getTagClass | public Class getTagClass()(Code) | | Returns the tag class.
|
hasChildren | public boolean hasChildren()(Code) | | Returns true if there are children.
|
isSimpleTag | public boolean isSimpleTag()(Code) | | Returns true if it's a simple tag.
|
isTagFileTag | public boolean isTagFileTag()(Code) | | Returns true if it's a simple tag.
|
isTop | public boolean isTop()(Code) | | Returns true for a top tag.
|
match | boolean match(QName tagName, ArrayList<QName> names, boolean hasBodyContent)(Code) | | Returns true for matching instances.
|
setBodyContent | public void setBodyContent(boolean hasBodyContent)(Code) | | Set true if the tag has a body content.
|
setNeedsAdapter | public void setNeedsAdapter(boolean needsAdapter)(Code) | | if needs an adapter.
|
|
|