com.simonstl.fragment
Class ComponentFactory

java.lang.Object
  |
  +--com.simonstl.fragment.ComponentFactory

public class ComponentFactory
extends java.lang.Object

This class creates different types of DocComponent objects from a SAX event, or directly through a list of properties.

Version:
0.01 15 July 2001
Author:
Simon St.Laurent

Constructor Summary
ComponentFactory()
           
 
Method Summary
static Attribute createAttribute(java.lang.String uri, java.lang.String local, java.lang.String qName, org.xml.sax.Attributes atts)
           
static Attribute createAttribute(java.lang.String _nsURI, java.lang.String _localName, java.lang.String _prefix, java.lang.String _type, java.lang.String _content)
           
static Characters createCharacters(java.lang.String _before, java.lang.String _after)
           
static Characters createCharacters(java.lang.String uri, java.lang.String local, java.lang.String qName, org.xml.sax.Attributes atts)
           
static DocComponent createComponent(java.lang.String uri, java.lang.String local, java.lang.String qName, org.xml.sax.Attributes atts)
           
static Element createElement(java.lang.String uri, java.lang.String local, java.lang.String qName, org.xml.sax.Attributes atts)
           
static Element createElement(java.lang.String _nsURI, java.lang.String _localName, java.lang.String _prefix, java.lang.String _before, java.lang.String _after, java.lang.String _beforeInside, java.lang.String _afterInside)
           
static Skip createSkip(java.lang.String _before, java.lang.String _after)
           
static Skip createSkip(java.lang.String uri, java.lang.String local, java.lang.String qName, org.xml.sax.Attributes atts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentFactory

public ComponentFactory()
Method Detail

createComponent

public static DocComponent createComponent(java.lang.String uri,
                                           java.lang.String local,
                                           java.lang.String qName,
                                           org.xml.sax.Attributes atts)

createElement

public static Element createElement(java.lang.String uri,
                                    java.lang.String local,
                                    java.lang.String qName,
                                    org.xml.sax.Attributes atts)

createElement

public static Element createElement(java.lang.String _nsURI,
                                    java.lang.String _localName,
                                    java.lang.String _prefix,
                                    java.lang.String _before,
                                    java.lang.String _after,
                                    java.lang.String _beforeInside,
                                    java.lang.String _afterInside)

createAttribute

public static Attribute createAttribute(java.lang.String uri,
                                        java.lang.String local,
                                        java.lang.String qName,
                                        org.xml.sax.Attributes atts)

createAttribute

public static Attribute createAttribute(java.lang.String _nsURI,
                                        java.lang.String _localName,
                                        java.lang.String _prefix,
                                        java.lang.String _type,
                                        java.lang.String _content)

createSkip

public static Skip createSkip(java.lang.String uri,
                              java.lang.String local,
                              java.lang.String qName,
                              org.xml.sax.Attributes atts)

createSkip

public static Skip createSkip(java.lang.String _before,
                              java.lang.String _after)

createCharacters

public static Characters createCharacters(java.lang.String uri,
                                          java.lang.String local,
                                          java.lang.String qName,
                                          org.xml.sax.Attributes atts)

createCharacters

public static Characters createCharacters(java.lang.String _before,
                                          java.lang.String _after)