java.lang.Object
org.w3c.tidy.AttVal
- All Implemented Interfaces:
- java.lang.Cloneable
- public class AttVal
- extends java.lang.Object
- implements java.lang.Cloneable
Attribute/Value linked list node
(c) 1998-2000 (W3C) MIT, INRIA, Keio University
See Tidy.java for the copyright notice.
Derived from
HTML Tidy Release 4 Aug 2000
- Version:
- 1.0, 1999/05/22, 1.0.1, 1999/05/29, 1.1, 1999/06/18 Java Bean, 1.2, 1999/07/10 Tidy Release 7 Jul 1999, 1.3, 1999/07/30 Tidy Release 26 Jul 1999, 1.4, 1999/09/04 DOM support, 1.5, 1999/10/23 Tidy Release 27 Sep 1999, 1.6, 1999/11/01 Tidy Release 22 Oct 1999, 1.7, 1999/12/06 Tidy Release 30 Nov 1999, 1.8, 2000/01/22 Tidy Release 13 Jan 2000, 1.9, 2000/06/03 Tidy Release 30 Apr 2000, 1.10, 2000/07/22 Tidy Release 8 Jul 2000, 1.11, 2000/08/16 Tidy Release 4 Aug 2000
|
Constructor Summary |
AttVal()
|
AttVal(AttVal next,
Attribute dict,
int delim,
java.lang.String attribute,
java.lang.String value)
|
AttVal(AttVal next,
Attribute dict,
Node asp,
Node php,
int delim,
java.lang.String attribute,
java.lang.String value)
|
next
public AttVal next
dict
public Attribute dict
asp
public Node asp
php
public Node php
delim
public int delim
attribute
public java.lang.String attribute
value
public java.lang.String value
adapter
protected org.w3c.dom.Attr adapter
AttVal
public AttVal()
AttVal
public AttVal(AttVal next,
Attribute dict,
int delim,
java.lang.String attribute,
java.lang.String value)
AttVal
public AttVal(AttVal next,
Attribute dict,
Node asp,
Node php,
int delim,
java.lang.String attribute,
java.lang.String value)
clone
protected java.lang.Object clone()
- Description copied from class:
java.lang.Object
- This method may be called to create a new copy of the
Object. The typical behavior is as follows:
o == o.clone() is false
o.getClass() == o.clone().getClass()
is true
o.equals(o) is true
However, these are not strict requirements, and may
be violated if necessary. Of the three requirements, the
last is the most commonly violated, particularly if the
subclass does not override Object.equals(Object)>Object.equals(Object) 55 .
If the Object you call clone() on does not implement
java.lang.Cloneable (which is a placeholder interface), then
a CloneNotSupportedException is thrown. Notice that
Object does not implement Cloneable; this method exists
as a convenience for subclasses that do.
Object's implementation of clone allocates space for the
new Object using the correct class, without calling any
constructors, and then fills in all of the new field values
with the old field values. Thus, it is a shallow copy.
However, subclasses are permitted to make a deep copy.
All array types implement Cloneable, and override
this method as follows (it should never fail):
public Object clone()
{
try
{
super.clone();
}
catch (CloneNotSupportedException e)
{
throw new InternalError(e.getMessage());
}
}
isBoolAttribute
public boolean isBoolAttribute()
checkAttribute
public Attribute checkAttribute(Lexer lexer,
Node node)
checkUniqueAttribute
public void checkUniqueAttribute(Lexer lexer,
Node node)
getAdapter
protected org.w3c.dom.Attr getAdapter()