|
GXPARSE hosted by |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.gorman.xml.parse.toolkit.AbstractAttribute
ca.gorman.xml.parse.toolkit.MutableAttribute
public class MutableAttribute
Constructable and mutable realization of Attribute
.
This class makes the contructors and setters of the base class visible to
the public.
Constructor Summary | |
---|---|
MutableAttribute()
Create an uninitialized Attribute. |
|
MutableAttribute(Attribute attribute)
Create an initialized Attribute. |
|
MutableAttribute(QName qName,
String type)
Create a named Attribute with unitialized value. |
|
MutableAttribute(QName qName,
String type,
String value,
boolean isDeclared,
boolean isSpecified)
Create an initialized Attribute. |
Method Summary | |
---|---|
void |
setDeclared(boolean b)
Indicate whether the attribute was declared.. |
void |
setQName(QName qName)
Set attribute name. |
protected void |
setSpecified(boolean b)
Indicate whether the attribute value was provided from the input, rather than from a default value. |
void |
setType(String type)
Set attribute type. |
void |
setValue(String value)
Set attribute value. |
Methods inherited from class ca.gorman.xml.parse.toolkit.AbstractAttribute |
---|
equals, getQName, getQuotableValue, getType, getValue, hashCode, isDeclared, isSpecified, newInstance |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ca.gorman.xml.parse.Attribute |
---|
equals, getQName, getQuotableValue, getType, getValue, hashCode, isDeclared, isSpecified |
Constructor Detail |
---|
public MutableAttribute(QName qName, String type, String value, boolean isDeclared, boolean isSpecified)
Create an initialized Attribute.
public MutableAttribute(Attribute attribute)
Create an initialized Attribute.
public MutableAttribute(QName qName, String type)
Create a named Attribute with unitialized value.
public MutableAttribute()
Create an uninitialized Attribute.
Method Detail |
---|
public final void setQName(QName qName)
AbstractAttribute
Set attribute name.
setQName
in class AbstractAttribute
public final void setType(String type)
AbstractAttribute
Set attribute type.
setType
in class AbstractAttribute
public final void setValue(String value)
AbstractAttribute
Set attribute value.
setValue
in class AbstractAttribute
public void setDeclared(boolean b)
AbstractAttribute
Indicate whether the attribute was declared..
setDeclared
in class AbstractAttribute
protected void setSpecified(boolean b)
AbstractAttribute
Indicate whether the attribute value was provided from the input, rather than from a default value.
setSpecified
in class AbstractAttribute
|
GXPARSE download | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |