org.jdom.input

Class DefaultJDOMFactory

public class DefaultJDOMFactory extends Object implements JDOMFactory

DefaultJDOMFactory creates the standard top-level JDOM classes (Element, Document, Comment, etc). A subclass of this factory might construct custom classes.

Version: $Revision: 1.6 $, $Date: 2002/03/12 07:57:06 $

Author: Ken Rune Holland Phil Nelson Bradley S. Huffman

Constructor Summary
DefaultJDOMFactory()
Method Summary
Attributeattribute(String name, String value, Namespace namespace)
Attributeattribute(String name, String value, int type, Namespace namespace)
Attributeattribute(String name, String value)
Attributeattribute(String name, String value, int type)
CDATAcdata(String text)
Commentcomment(String text)
DocTypedocType(String elementName, String publicID, String systemID)
DocTypedocType(String elementName, String systemID)
DocTypedocType(String elementName)
Documentdocument(Element rootElement, DocType docType)
Documentdocument(Element rootElement)
Elementelement(String name, Namespace namespace)
Elementelement(String name)
Elementelement(String name, String uri)
Elementelement(String name, String prefix, String uri)
EntityRefentityRef(String name)
EntityRefentityRef(String name, String publicID, String systemID)
ProcessingInstructionprocessingInstruction(String target, Map data)
ProcessingInstructionprocessingInstruction(String target, String data)
Texttext(String text)

Constructor Detail

DefaultJDOMFactory

public DefaultJDOMFactory()

Method Detail

attribute

public Attribute attribute(String name, String value, Namespace namespace)

attribute

public Attribute attribute(String name, String value, int type, Namespace namespace)

attribute

public Attribute attribute(String name, String value)

attribute

public Attribute attribute(String name, String value, int type)

cdata

public CDATA cdata(String text)

comment

public Comment comment(String text)

docType

public DocType docType(String elementName, String publicID, String systemID)

docType

public DocType docType(String elementName, String systemID)

docType

public DocType docType(String elementName)

document

public Document document(Element rootElement, DocType docType)

document

public Document document(Element rootElement)

element

public Element element(String name, Namespace namespace)

element

public Element element(String name)

element

public Element element(String name, String uri)

element

public Element element(String name, String prefix, String uri)

entityRef

public EntityRef entityRef(String name)

entityRef

public EntityRef entityRef(String name, String publicID, String systemID)

processingInstruction

public ProcessingInstruction processingInstruction(String target, Map data)

processingInstruction

public ProcessingInstruction processingInstruction(String target, String data)

text

public Text text(String text)
Copyright B) 2002 Jason Hunter, Brett McLaughlin. All Rights Reserved.