Java 类org.jdom.JDOMFactory 实例源码

项目: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);
}
项目:lams    文件:JDomWriter.java   
/**
 * @since 1.4
 */
public JDomWriter(final Element container, final JDOMFactory factory, final NameCoder nameCoder) {
    super(container, nameCoder);
    documentFactory = factory;
}
项目:lams    文件:JDomWriter.java   
/**
 * @since 1.2
 * @deprecated As of 1.4 use {@link JDomWriter#JDomWriter(Element, JDOMFactory, NameCoder)} instead.
 */
@Deprecated
public JDomWriter(final Element container, final JDOMFactory factory, final XmlFriendlyReplacer replacer) {
    this(container, factory, (NameCoder)replacer);
}
项目:lams    文件:JDomWriter.java   
public JDomWriter(final Element container, final JDOMFactory factory) {
    this(container, factory, new XmlFriendlyNameCoder());
}
项目:lams    文件:JDomWriter.java   
/**
 * @since 1.4
 */
public JDomWriter(final JDOMFactory factory, final NameCoder nameCoder) {
    this(null, factory, nameCoder);
}
项目:lams    文件:JDomWriter.java   
/**
 * @since 1.2.1
 * @deprecated As of 1.4 use {@link JDomWriter#JDomWriter(JDOMFactory, NameCoder)} instead.
 */
@Deprecated
public JDomWriter(final JDOMFactory factory, final XmlFriendlyReplacer replacer) {
    this(null, factory, (NameCoder)replacer);
}
项目:lams    文件:JDomWriter.java   
public JDomWriter(final JDOMFactory factory) {
    this(null, factory);
}
项目:xstream    文件:JDomWriter.java   
/**
 * @since 1.4
 */
public JDomWriter(final Element container, final JDOMFactory factory, final NameCoder nameCoder) {
    super(container, nameCoder);
    documentFactory = factory;
}
项目:xstream    文件:JDomWriter.java   
/**
 * @since 1.2
 * @deprecated As of 1.4 use {@link JDomWriter#JDomWriter(Element, JDOMFactory, NameCoder)} instead.
 */
@Deprecated
public JDomWriter(final Element container, final JDOMFactory factory, final XmlFriendlyReplacer replacer) {
    this(container, factory, (NameCoder)replacer);
}
项目:xstream    文件:JDomWriter.java   
public JDomWriter(final Element container, final JDOMFactory factory) {
    this(container, factory, new XmlFriendlyNameCoder());
}
项目:xstream    文件:JDomWriter.java   
/**
 * @since 1.4
 */
public JDomWriter(final JDOMFactory factory, final NameCoder nameCoder) {
    this(null, factory, nameCoder);
}
项目:xstream    文件:JDomWriter.java   
/**
 * @since 1.2.1
 * @deprecated As of 1.4 use {@link JDomWriter#JDomWriter(JDOMFactory, NameCoder)} instead.
 */
@Deprecated
public JDomWriter(final JDOMFactory factory, final XmlFriendlyReplacer replacer) {
    this(null, factory, (NameCoder)replacer);
}
项目:xstream    文件:JDomWriter.java   
public JDomWriter(final JDOMFactory factory) {
    this(null, factory);
}
项目:QuizUpWinner    文件:JDomWriter.java   
public JDomWriter(Element paramElement, JDOMFactory paramJDOMFactory)
{
  this(paramElement, paramJDOMFactory, new XmlFriendlyNameCoder());
}
项目:QuizUpWinner    文件:JDomWriter.java   
public JDomWriter(Element paramElement, JDOMFactory paramJDOMFactory, NameCoder paramNameCoder)
{
  super(paramElement, paramNameCoder);
  this.documentFactory = paramJDOMFactory;
}
项目:QuizUpWinner    文件:JDomWriter.java   
public JDomWriter(Element paramElement, JDOMFactory paramJDOMFactory, XmlFriendlyReplacer paramXmlFriendlyReplacer)
{
  this(paramElement, paramJDOMFactory, paramXmlFriendlyReplacer);
}
项目:QuizUpWinner    文件:JDomWriter.java   
public JDomWriter(JDOMFactory paramJDOMFactory)
{
  this(null, paramJDOMFactory);
}
项目:QuizUpWinner    文件:JDomWriter.java   
public JDomWriter(JDOMFactory paramJDOMFactory, NameCoder paramNameCoder)
{
  this(null, paramJDOMFactory, paramNameCoder);
}
项目:QuizUpWinner    文件:JDomWriter.java   
public JDomWriter(JDOMFactory paramJDOMFactory, XmlFriendlyReplacer paramXmlFriendlyReplacer)
{
  this(null, paramJDOMFactory, paramXmlFriendlyReplacer);
}
项目:gjOryx    文件:SAXHandler.java   
/**
 * Returns the factory used for constructing objects.
 *
 * @return <code>JDOMFactory</code> - the factory used for
 * constructing objects.
 *
 * @see #SAXHandler(org.jdom.JDOMFactory)
 */
public JDOMFactory getFactory() {
    return factory;
}