org.jopendocument.io
Class SaxStylesUnmarshaller

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.jopendocument.io.SaxStylesUnmarshaller
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class SaxStylesUnmarshaller
extends DefaultHandler


Constructor Summary
SaxStylesUnmarshaller(OpenDocument doc)
           
 
Method Summary
 void characters(char[] data, int start, int length)
           
 void endElement(String uri, String localName, String qName)
           
 OfficeAutomaticStyles getAutomaticStyles()
           
 OfficeMasterStyles getMasterStyles()
           
 OfficeStyles getStyles()
           
 void startElement(String uri, String localName, String qName, Attributes attribs)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaxStylesUnmarshaller

public SaxStylesUnmarshaller(OpenDocument doc)
Method Detail

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes attribs)
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler

endElement

public void endElement(String uri,
                       String localName,
                       String qName)
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DefaultHandler

characters

public void characters(char[] data,
                       int start,
                       int length)
Specified by:
characters in interface ContentHandler
Overrides:
characters in class DefaultHandler

getStyles

public OfficeStyles getStyles()

getMasterStyles

public OfficeMasterStyles getMasterStyles()

getAutomaticStyles

public OfficeAutomaticStyles getAutomaticStyles()


Copyright © 2010 jOpenDocument All Rights Reserved.