Java 类org.jdom2.DefaultJDOMFactory 实例源码

项目:epubfx    文件:JDomSerializer.java   
public Document createJDom(TagNode rootNode) {
    this.factory = new DefaultJDOMFactory();

    //
    // If there is no actual root node then return nothing
    //
    if (rootNode.getName() == null) return null;

    Element rootElement = createElement(rootNode);
    Document document = this.factory.document(rootElement);

    setAttributes(rootNode, rootElement);

    createSubnodes(rootElement, rootNode.getAllChildren());

    return document;
}
项目:lams    文件:JDom2Writer.java   
/**
 * @since 1.4.5
 */
public JDom2Writer(final Element container, final NameCoder nameCoder) {
    this(container, new DefaultJDOMFactory(), nameCoder);
}
项目:lams    文件:JDom2Writer.java   
/**
 * @since 1.4.5
 */
public JDom2Writer(final Element container) {
    this(container, new DefaultJDOMFactory());
}
项目:lams    文件:JDom2Writer.java   
/**
 * @since 1.4.5
 */
public JDom2Writer() {
    this(new DefaultJDOMFactory());
}
项目:xstream    文件:JDom2Writer.java   
/**
 * @since 1.4.5
 */
public JDom2Writer(final Element container, final NameCoder nameCoder) {
    this(container, new DefaultJDOMFactory(), nameCoder);
}
项目:xstream    文件:JDom2Writer.java   
/**
 * @since 1.4.5
 */
public JDom2Writer(final Element container) {
    this(container, new DefaultJDOMFactory());
}
项目:xstream    文件:JDom2Writer.java   
/**
 * @since 1.4.5
 */
public JDom2Writer() {
    this(new DefaultJDOMFactory());
}
项目:QuizUpWinner    文件:JDom2Writer.java   
public JDom2Writer()
{
  this(new DefaultJDOMFactory());
}
项目:QuizUpWinner    文件:JDom2Writer.java   
public JDom2Writer(Element paramElement)
{
  this(paramElement, new DefaultJDOMFactory());
}
项目:QuizUpWinner    文件:JDom2Writer.java   
public JDom2Writer(Element paramElement, NameCoder paramNameCoder)
{
  this(paramElement, new DefaultJDOMFactory(), paramNameCoder);
}