Java 类org.jdom.DefaultJDOMFactory 实例源码

项目:gjOryx    文件:SAXHandler.java   
/**
 * 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);
}
项目:incubator-netbeans    文件:NetbeansBuildActionJDOMWriter.java   
public NetbeansBuildActionJDOMWriter() {
    factory = new DefaultJDOMFactory();
    lineSeparator = "\n";
}
项目:lams    文件:JDomWriter.java   
/**
 * @since 1.4
 */
public JDomWriter(final Element container, final NameCoder nameCoder) {
    this(container, new DefaultJDOMFactory(), nameCoder);
}
项目:lams    文件:JDomWriter.java   
/**
 * @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);
}
项目:lams    文件:JDomWriter.java   
public JDomWriter(final Element container) {
    this(container, new DefaultJDOMFactory());
}
项目:lams    文件:JDomWriter.java   
public JDomWriter() {
    this(new DefaultJDOMFactory());
}
项目:apache-maven-shade-plugin    文件:MavenJDOMWriter.java   
public MavenJDOMWriter()
{
    factory = new DefaultJDOMFactory();
    lineSeparator = "\n";
}
项目:xstream    文件:JDomWriter.java   
/**
 * @since 1.4
 */
public JDomWriter(final Element container, final NameCoder nameCoder) {
    this(container, new DefaultJDOMFactory(), nameCoder);
}
项目:xstream    文件:JDomWriter.java   
/**
 * @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);
}
项目:xstream    文件:JDomWriter.java   
public JDomWriter(final Element container) {
    this(container, new DefaultJDOMFactory());
}
项目:xstream    文件:JDomWriter.java   
public JDomWriter() {
    this(new DefaultJDOMFactory());
}
项目:maven-shade-plugin    文件:MavenJDOMWriter.java   
public MavenJDOMWriter()
{
    factory = new DefaultJDOMFactory();
    lineSeparator = "\n";
}
项目:QuizUpWinner    文件:JDomWriter.java   
public JDomWriter()
{
  this(new DefaultJDOMFactory());
}
项目:QuizUpWinner    文件:JDomWriter.java   
public JDomWriter(Element paramElement)
{
  this(paramElement, new DefaultJDOMFactory());
}
项目:QuizUpWinner    文件:JDomWriter.java   
public JDomWriter(Element paramElement, NameCoder paramNameCoder)
{
  this(paramElement, new DefaultJDOMFactory(), paramNameCoder);
}
项目:QuizUpWinner    文件:JDomWriter.java   
public JDomWriter(Element paramElement, XmlFriendlyReplacer paramXmlFriendlyReplacer)
{
  this(paramElement, new DefaultJDOMFactory(), paramXmlFriendlyReplacer);
}