com.xerox.adoc.dexss
Class Utils

java.lang.Object
  extended by com.xerox.adoc.dexss.Utils

public abstract class Utils
extends java.lang.Object

Utility functions


Constructor Summary
Utils()
           
 
Method Summary
static org.xml.sax.Attributes clearAttribute(org.xml.sax.Attributes atts, int attNum)
          Given a SAX2 Attributes and an index, remove the specified attribute as best we can.
static org.xml.sax.Attributes removeAttribute(org.xml.sax.Attributes atts, int attNum)
          Given a SAX2 Attributes and an index, remove the specified attribute as best we can.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

removeAttribute

public static org.xml.sax.Attributes removeAttribute(org.xml.sax.Attributes atts,
                                                     int attNum)
Given a SAX2 Attributes and an index, remove the specified attribute as best we can. If the implementation is the SAX Helpers AttributesImpl, use its removeAttribute. If the implementation is TagSoup's, use its removeAttribute. Otherwise, convert it to a SAX Helpers implementation and use its removeAttribute.


clearAttribute

public static org.xml.sax.Attributes clearAttribute(org.xml.sax.Attributes atts,
                                                    int attNum)
Given a SAX2 Attributes and an index, remove the specified attribute as best we can. If the implementation is the SAX Helpers AttributesImpl, use its setAttribute If the implementation is TagSoup's, use its setAttribute Otherwise, convert it to a SAX Helpers implementation and use its setAttribute