com.google.gdata.util.common.xml
Class XmlWriter.Attribute

java.lang.Object
  extended by com.google.gdata.util.common.xml.XmlWriter.Attribute
Enclosing class:
XmlWriter

public static final class XmlWriter.Attribute
extends java.lang.Object

The Attribute class represents an XML attribute.


Field Summary
 java.lang.String name
           
 java.lang.String nsAlias
           
 java.lang.String value
           
 
Constructor Summary
XmlWriter.Attribute(java.lang.String name, boolean value)
           
XmlWriter.Attribute(java.lang.String name, java.lang.String value)
          Constructs an unqualified XML attribute.
XmlWriter.Attribute(java.lang.String nsAlias, java.lang.String name, java.lang.String value)
          Constructs an namespace-qualified XML attribute.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nsAlias

public final java.lang.String nsAlias

name

public final java.lang.String name

value

public final java.lang.String value
Constructor Detail

XmlWriter.Attribute

public XmlWriter.Attribute(java.lang.String name,
                           java.lang.String value)
Constructs an unqualified XML attribute.

Parameters:
name - the attribute name.
value - the attribute value.

XmlWriter.Attribute

public XmlWriter.Attribute(java.lang.String nsAlias,
                           java.lang.String name,
                           java.lang.String value)
Constructs an namespace-qualified XML attribute.

Parameters:
nsAlias - the attribute namespace prefix alias.
name - the attribute name.
value - the attribute value.

XmlWriter.Attribute

public XmlWriter.Attribute(java.lang.String name,
                           boolean value)