javax.faces.view.facelets
Class Tag

java.lang.Object
  extended by javax.faces.view.facelets.Tag

public final class Tag
extends Object

Representation of a Tag in the Facelet definition

Version:
$Id: Tag.java,v 1.5 2008/07/13 19:01:36 rlubke Exp $
Author:
Jacob Hookom

Constructor Summary
Tag(Location location, String namespace, String localName, String qName, TagAttributes attributes)
           
Tag(Tag orig, TagAttributes attributes)
           
 
Method Summary
 TagAttributes getAttributes()
          All TagAttributes specified
 String getLocalName()
          Local name of the tag <my:tag /> would be "tag"
 Location getLocation()
          Location of the Tag in the Facelet file
 String getNamespace()
          The resolved Namespace for this tag
 String getQName()
          Get the qualified name for this tag <my:tag /> would be "my:tag"
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tag

public Tag(Location location,
           String namespace,
           String localName,
           String qName,
           TagAttributes attributes)

Tag

public Tag(Tag orig,
           TagAttributes attributes)
Method Detail

getAttributes

public TagAttributes getAttributes()
All TagAttributes specified

Returns:
all TagAttributes specified

getLocalName

public String getLocalName()
Local name of the tag <my:tag /> would be "tag"

Returns:
local name of the tag

getLocation

public Location getLocation()
Location of the Tag in the Facelet file

Returns:
location of the Tag in the Facelet file

getNamespace

public String getNamespace()
The resolved Namespace for this tag

Returns:
the resolved namespace for this tag

getQName

public String getQName()
Get the qualified name for this tag <my:tag /> would be "my:tag"

Returns:
qualified name of the tag

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.