Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.renderkit
Class MacroDefinitionJSContentHandler

    java.lang.Object
      org.richfaces.json.JSContentHandler
          org.richfaces.renderkit.MacroDefinitionJSContentHandler

All Implemented Interfaces:
  org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler

    public class MacroDefinitionJSContentHandler

extends JSContentHandler

Author:
  Nick Belaevski - mailto:nbelaevski@exadel.com created 21.06.2007

Field Summary

Fields inherited from class org.richfaces.json.JSContentHandler
`DEFAULT_ENCODING, indentBuffer, level, outputWriter`

Constructor Summary
`MacroDefinitionJSContentHandler(java.io.Writer writer, java.lang.String prolog, java.lang.String epilog)`

Method Summary
`void` | `characters(char[] ch, int start, int length)`
`protected void` | `encodeAttributeValue(org.xml.sax.Attributes attributes, int idx)`
`protected void` | `encodeText(char[] chars, int start, int length)`
`protected java.util.List<?>` | `parseExpressiion(java.lang.String expressionString)`

Methods inherited from class org.richfaces.json.JSContentHandler
`close, closeElement, comment, encode, encode, encode, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, getColumnNumber, getLineNumber, getLocation, getPublicId, getSystemId, ignorableWhitespace, isBeforeDocumentStart, isProcessingCdata, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping, writeIndent`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MacroDefinitionJSContentHandler

    public MacroDefinitionJSContentHandler(java.io.Writer writer,
                                           java.lang.String prolog,
                                           java.lang.String epilog)

Method Detail

### parseExpressiion

    protected java.util.List<?> parseExpressiion(java.lang.String expressionString)
                                          throws org.xml.sax.SAXException

  Throws:
    `org.xml.sax.SAXException`

### encodeAttributeValue

    protected void encodeAttributeValue(org.xml.sax.Attributes attributes,
                                        int idx)
                                 throws org.xml.sax.SAXException,
                                        java.io.IOException

  Overrides:
    `encodeAttributeValue` in class `JSContentHandler`
  Throws:
    `org.xml.sax.SAXException`
    `java.io.IOException`

### characters

    public void characters(char[] ch,
                           int start,
                           int length)
                    throws org.xml.sax.SAXException

  Specified by:
    `characters` in interface `org.xml.sax.ContentHandler`
  Overrides:
    `characters` in class `JSContentHandler`
  Throws:
    `org.xml.sax.SAXException`

### encodeText

    protected void encodeText(char[] chars,
                              int start,
                              int length)
                       throws org.xml.sax.SAXException,
                              java.io.IOException

  Overrides:
    `encodeText` in class `JSContentHandler`
  Throws:
    `org.xml.sax.SAXException`
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.