Methods Summary |
---|
public boolean | equals(java.lang.Object obj)Returns true if this datatype and its body equals the argument and its
body. this datatype is equal if and only if they are the same class and
have the same getSubId id string.
if ( this == obj ) return true;
if (!(obj instanceof AbstractTagFrame))
{
return false;
}
AbstractTagFrame that = (AbstractTagFrame) obj;
return
EqualsUtil.areEqual(this.getIdentifier(), that.getIdentifier()) &&
EqualsUtil.areEqual(this.frameBody, that.frameBody) &&
super.equals(that);
|
public AbstractTagFrameBody | getBody()Returns the body datatype for this fragment. The body datatype contains the
actual information for the fragment.
return this.frameBody;
|
public boolean | isSubsetOf(java.lang.Object obj)Returns true if this datatype and it's body is a subset of the argument.
This datatype is a subset if the argument is the same class.
if (!(obj instanceof AbstractTagFrame))
{
return false;
}
if ((frameBody == null) && (((AbstractTagFrame) obj).frameBody == null))
{
return true;
}
if ((frameBody == null) || (((AbstractTagFrame) obj).frameBody == null))
{
return false;
}
return frameBody.isSubsetOf(((AbstractTagFrame) obj).frameBody) && super.isSubsetOf(obj);
|
public void | setBody(AbstractTagFrameBody frameBody)Sets the body datatype for this fragment. The body datatype contains the
actual information for the fragment.
this.frameBody = frameBody;
this.frameBody.setHeader(this);
|
public java.lang.String | toString()
return getBody ().toString ();
|