org.apache.tapestry.markup
Class DefaultAttribute
java.lang.Object
org.apache.tapestry.markup.DefaultAttribute
- All Implemented Interfaces:
- Attribute
public class DefaultAttribute
- extends Object
- implements Attribute
Used to hold markup attribute data for writing in a specific format.
- Author:
- jkuhnert
_value
protected String _value
_raw
protected boolean _raw
DefaultAttribute
public DefaultAttribute(String value,
boolean raw)
getValue
public Object getValue()
- Description copied from interface:
Attribute
- Retrieves the current value for the attribute.
- Specified by:
getValue
in interface Attribute
- Returns:
- The current value for the attribute.
isRaw
public boolean isRaw()
- Description copied from interface:
Attribute
- Whether or not this attribute should be written out in raw form
as specified by
IMarkupWriter.attribute(String, boolean)
.
- Specified by:
isRaw
in interface Attribute
- Returns:
- True if content will be written in raw form, false otherwise.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.