/** * This will create a new <code>SAXHandler</code> that listens to SAX * events and creates a JDOM Document. The objects will be constructed * using the provided factory. * * @param factory <code>JDOMFactory</code> to be used for constructing * objects */ public SAXHandler(JDOMFactory factory) { if (factory != null) { this.factory = factory; } else { this.factory = new DefaultJDOMFactory(); } atRoot = true; declaredNamespaces = new ArrayList(); externalEntities = new HashMap(); document = this.factory.document(null); }
public NetbeansBuildActionJDOMWriter() { factory = new DefaultJDOMFactory(); lineSeparator = "\n"; }
/** * @since 1.4 */ public JDomWriter(final Element container, final NameCoder nameCoder) { this(container, new DefaultJDOMFactory(), nameCoder); }
/** * @since 1.2.1 * @deprecated As of 1.4 use {@link JDomWriter#JDomWriter(Element, NameCoder)} instead. */ @Deprecated public JDomWriter(final Element container, final XmlFriendlyReplacer replacer) { this(container, new DefaultJDOMFactory(), (NameCoder)replacer); }
public JDomWriter(final Element container) { this(container, new DefaultJDOMFactory()); }
public JDomWriter() { this(new DefaultJDOMFactory()); }
public MavenJDOMWriter() { factory = new DefaultJDOMFactory(); lineSeparator = "\n"; }
public JDomWriter(Element paramElement) { this(paramElement, new DefaultJDOMFactory()); }
public JDomWriter(Element paramElement, NameCoder paramNameCoder) { this(paramElement, new DefaultJDOMFactory(), paramNameCoder); }
public JDomWriter(Element paramElement, XmlFriendlyReplacer paramXmlFriendlyReplacer) { this(paramElement, new DefaultJDOMFactory(), paramXmlFriendlyReplacer); }