org.dmonix.xml.html
Class HTMLAttribute

java.lang.Object
  extended byorg.dmonix.xml.html.HTMLAttribute
Direct Known Subclasses:
ClassAttribute, HTMLAttribute.ClassAttribute, HTMLAttribute.HrefAttribute

public abstract class HTMLAttribute
extends java.lang.Object

Base class for all attribute type classes.

Copyright: Copyright (c) 2004

Company: dmonix.org

Version:
1.0
Author:
Peter Nerg

Nested Class Summary
 class HTMLAttribute.ClassAttribute
          Represents the CLASS attribute Company: dmonix.org
 class HTMLAttribute.HrefAttribute
          Represents the HREF attribute Company: dmonix.org
 
Field Summary
protected  java.lang.String attributeName
           
protected  java.lang.String attributeValue
           
 
Constructor Summary
HTMLAttribute(java.lang.String attributeName, java.lang.String attributeValue)
           
 
Method Summary
 java.lang.String getAttributeName()
          Returns the name of the attribute.
 java.lang.String getAttributeValue()
          Returns the value of the attribute.
 java.lang.String toString()
          Returns the string attributeName="attributeValue"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

attributeName

protected java.lang.String attributeName

attributeValue

protected java.lang.String attributeValue
Constructor Detail

HTMLAttribute

public HTMLAttribute(java.lang.String attributeName,
                     java.lang.String attributeValue)
Method Detail

getAttributeName

public java.lang.String getAttributeName()
Returns the name of the attribute.

Returns:
The name

getAttributeValue

public java.lang.String getAttributeValue()
Returns the value of the attribute.

Returns:
The value

toString

public java.lang.String toString()
Returns the string attributeName="attributeValue"

Returns:
The string representation of the attribute declaration


Copyright © 1998-2005 dmonix.org Peter Nerg, All Rights Reserved.