org.w3c.mwi.mobileok.basic
Class XhtmlContent.MinimizeHandler

java.lang.Object
  extended by org.w3c.mwi.mobileok.basic.XhtmlContent.MinimizeHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler
Enclosing class:
XhtmlContent

private static class XhtmlContent.MinimizeHandler
extends java.lang.Object
implements org.xml.sax.ContentHandler


Field Summary
private  boolean countChars
           
private  int extraneousChars
           
private static java.lang.String PRE_TAG_NAME
           
private static java.lang.String SCRIPT_TAG_NAME
           
private static java.lang.String STYLE_TAG_NAME
           
 
Constructor Summary
private XhtmlContent.MinimizeHandler()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endDocument()
           
 void endElement(java.lang.String uri, java.lang.String localName, java.lang.String name)
           
 void endPrefixMapping(java.lang.String prefix)
           
protected  int getExtraneousChars()
           
 void ignorableWhitespace(char[] ch, int start, int length)
           
 void processingInstruction(java.lang.String target, java.lang.String data)
           
 void setDocumentLocator(org.xml.sax.Locator locator)
           
 void skippedEntity(java.lang.String name)
           
 void startDocument()
           
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String name, org.xml.sax.Attributes atts)
           
 void startPrefixMapping(java.lang.String prefix, java.lang.String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRE_TAG_NAME

private static final java.lang.String PRE_TAG_NAME
See Also:
Constant Field Values

SCRIPT_TAG_NAME

private static final java.lang.String SCRIPT_TAG_NAME
See Also:
Constant Field Values

STYLE_TAG_NAME

private static final java.lang.String STYLE_TAG_NAME
See Also:
Constant Field Values

extraneousChars

private int extraneousChars

countChars

private boolean countChars
Constructor Detail

XhtmlContent.MinimizeHandler

private XhtmlContent.MinimizeHandler()
Method Detail

getExtraneousChars

protected int getExtraneousChars()

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Specified by:
characters in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

ignorableWhitespace

public void ignorableWhitespace(char[] ch,
                                int start,
                                int length)
                         throws org.xml.sax.SAXException
Specified by:
ignorableWhitespace in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String name,
                         org.xml.sax.Attributes atts)
                  throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

endElement

public void endElement(java.lang.String uri,
                       java.lang.String localName,
                       java.lang.String name)
                throws org.xml.sax.SAXException
Specified by:
endElement in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

endDocument

public void endDocument()
Specified by:
endDocument in interface org.xml.sax.ContentHandler

endPrefixMapping

public void endPrefixMapping(java.lang.String prefix)
Specified by:
endPrefixMapping in interface org.xml.sax.ContentHandler

processingInstruction

public void processingInstruction(java.lang.String target,
                                  java.lang.String data)
Specified by:
processingInstruction in interface org.xml.sax.ContentHandler

setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)
Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler

skippedEntity

public void skippedEntity(java.lang.String name)
Specified by:
skippedEntity in interface org.xml.sax.ContentHandler

startDocument

public void startDocument()
Specified by:
startDocument in interface org.xml.sax.ContentHandler

startPrefixMapping

public void startPrefixMapping(java.lang.String prefix,
                               java.lang.String uri)
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler