|
|||||||||
| Home >> All >> com >> port80 >> html >> [ tidy overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.port80.html.tidy
Class AttVal

java.lang.Objectcom.port80.html.tidy.AttVal
- All Implemented Interfaces:
- java.lang.Cloneable
- public class AttVal
- extends java.lang.Object
- implements java.lang.Cloneable
- extends java.lang.Object
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
| Field Summary | |
protected org.w3c.dom.Attr |
adapter
|
Node |
asp
|
java.lang.String |
attribute
|
char |
delim
|
Attribute |
dict
|
AttVal |
next
|
Node |
php
|
java.lang.String |
value
|
| Constructor Summary | |
AttVal()
|
|
AttVal(AttVal prev,
Attribute dict,
char delim,
java.lang.String attribute,
java.lang.String value)
|
|
AttVal(AttVal prev,
Attribute dict,
Node asp,
Node php,
char delim,
java.lang.String attribute,
java.lang.String value)
|
|
| Method Summary | |
Attribute |
checkAttribute(Lexer lexer,
Node node)
|
void |
checkUniqueAttribute(Lexer lexer,
Node node)
|
protected java.lang.Object |
clone()
This method may be called to create a new copy of the Object. |
protected org.w3c.dom.Attr |
getAdapter()
|
boolean |
isBoolAttribute()
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
next
public AttVal next
dict
public Attribute dict
asp
public Node asp
php
public Node php
delim
public char delim
attribute
public java.lang.String attribute
value
public java.lang.String value
adapter
protected org.w3c.dom.Attr adapter
| Constructor Detail |
AttVal
public AttVal()
AttVal
public AttVal(AttVal prev, Attribute dict, char delim, java.lang.String attribute, java.lang.String value)
AttVal
public AttVal(AttVal prev, Attribute dict, Node asp, Node php, char delim, java.lang.String attribute, java.lang.String value)
| Method Detail |
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 falseo.getClass() == o.clone().getClass()is trueo.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)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
getAdapter
protected org.w3c.dom.Attr getAdapter()
|
|||||||||
| Home >> All >> com >> port80 >> html >> [ tidy overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.port80.html.tidy.AttVal