org.richfaces.resource

## Class Xcss2EcssConverter.CreateParser

- java.lang.Object
- - org.richfaces.resource.Xcss2EcssConverter.CreateParser

- Enclosing class:
    Xcss2EcssConverter

      public static class Xcss2EcssConverter.CreateParser
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CreateParser(org.xml.sax.helpers.DefaultHandler handler)` Constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `parse(File file)` Parse a File
    `void` | `parse(InputStream stream)` Parse a Stream
    `void` | `parse(String uri)` Parse a URI

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CreateParser

          public CreateParser(org.xml.sax.helpers.DefaultHandler handler)
                       throws SAXException,
                              ParserConfigurationException

      Constructor
      Parameters:
        `handler` - - DefaultHandler for the SAX parser
      Throws:
        `ParserConfigurationException`
        `SAXException`

  - ### Method Detail

    - #### parse

          public void parse(File file)
                     throws IOException,
                            SAXException

      Parse a File
      Parameters:
        `file` - - File
      Throws:
        `IOException`
        `SAXException`

    - #### parse

          public void parse(String uri)
                     throws IOException,
                            SAXException

      Parse a URI
      Parameters:
        `uri` - - String
      Throws:
        `IOException`
        `SAXException`

    - #### parse

          public void parse(InputStream stream)
                     throws IOException,
                            SAXException

      Parse a Stream
      Parameters:
        `stream` - - InputStream
      Throws:
        `IOException`
        `SAXException`

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.