|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.xsl.process.StripList
public class StripList
This class contains ElementMatch objects for the purpose of source tree whitespace stripping
Constructor Summary | |
---|---|
StripList()
|
Method Summary | |
---|---|
void |
add(ElementMatch match)
Adds the ElementMatch object to this list. |
boolean |
checkStrip(Node node)
Check the passed node against the strip/preserve sets. |
void |
clear()
Clear all items from this list |
void |
dump(PrintWriter out,
int indent)
Dumps this object to the specified output stream. |
ElementMatch[] |
getList()
Optimizes this StripList for matching (if it isn't already optimized) and returns the optimized ElementMatch objects. |
void |
optimize()
Optimizes this StripList for matching. |
int |
size()
Return number of objects in list |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StripList()
Method Detail |
---|
public void add(ElementMatch match)
match
- The Element match to be added.public void clear()
public int size()
public ElementMatch[] getList()
compareTo
method. The returned array
must not be modified even though there is no enforcement mechanism.
public boolean checkStrip(Node node)
node
- The node to check.
public void dump(PrintWriter out, int indent)
out
- the output stream to write toindent
- number of tabs to indentpublic void optimize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |