Deprecated API

Deprecated Methods
org.jdom.Element.addAttribute(Attribute)
          Deprecated in beta7, use setAttribute(Attribute) instead 
org.jdom.Element.addAttribute(String, String)
          Deprecated in beta7, use setAttribute(Attribute) instead 
org.jdom.Element.getCopy(String)
          Deprecated in beta7, use clone() and setName() instead 
org.jdom.Element.getCopy(String, Namespace)
          Deprecated in beta7, use clone(), setName(), and setNamespace() instead 
org.jdom.Document.getMixedContent()
          Deprecated in beta7, use getContent() instead 
org.jdom.Element.getMixedContent()
          Deprecated in beta7, use getContent() instead 
org.jdom.Document.getProcessingInstruction(String)
          Deprecated in beta7, use getContent() and examine for PIs manually 
org.jdom.Document.getProcessingInstructions()
          Deprecated in beta7, use getContent() and examine for PIs manually 
org.jdom.Document.getProcessingInstructions(String)
          Deprecated in beta7, use getContent() and examine for PIs manually 
org.jdom.JDOMException.getRootCause()
          Deprecated in beta7, use getCause() instead which follows the JDK 1.4 naming convention 
org.jdom.ProcessingInstruction.getSerializedForm()
          Deprecated in Beta7, use XMLOutputter.outputString(ProcessingInstruction) instead 
org.jdom.Comment.getSerializedForm()
          Deprecated in beta7, use XMLOutputter.outputString(Comment) instead 
org.jdom.CDATA.getSerializedForm()
          Deprecated in Beta7, use XMLOutputter.outputString(CDATA) instead 
org.jdom.Document.getSerializedForm()
          Deprecated in beta7, use XMLOutputter.outputString(Document) instead 
org.jdom.Attribute.getSerializedForm()
          Deprecated in Beta7, use XMLOutputter.outputString(Attribute) instead 
org.jdom.DocType.getSerializedForm()
          Deprecated in Beta7, use XMLOutputter.outputString(DocType) instead 
org.jdom.Element.getSerializedForm()
          Deprecated in beta7, use XMLOutputter.outputString(Element) instead 
org.jdom.Element.hasMixedContent()
          Deprecated in beta7 because hasMixedContent() is of little use and isn't really implemented as mixed content is defined 
org.jdom.Element.removeAttribute(String, String)
          Deprecated in beta7, use removeAttribute(String, Namespace) instead. 
org.jdom.Document.removeProcessingInstruction(String)
          Deprecated in beta7, use getContent() and remove PIs manually 
org.jdom.Document.removeProcessingInstructions(String)
          Deprecated in beta7, use getContent() and remove PIs manually 
org.jdom.output.XMLOutputter.setIndentLevel(int)
          Deprecated in beta7, because this is better done with a stacked FilterOutputStream 
org.jdom.Document.setMixedContent(List)
          Deprecated in beta7, use setContent(List) instead 
org.jdom.Element.setMixedContent(List)
          Deprecated in beta7, use setContent(List) instead 
org.jdom.output.XMLOutputter.setPadText(boolean)
          Deprecated in beta7, because this is no longer necessary 
org.jdom.Document.setProcessingInstructions(List)
          Deprecated in beta7, use getContent() and add PIs manually 
org.jdom.output.XMLOutputter.setSuppressDeclaration(boolean)
          Deprecated in beta7, use setOmitDeclaration() instead 
org.jdom.output.XMLOutputter.setTrimText(boolean)
          Deprecated in beta7, use setTextNormalize() instead 
 

Deprecated Constructors
org.jdom.Attribute(String, String, String, String)
          Deprecated in beta7, use Attribute(String name, String value, Namespace namespace) instead 
org.jdom.input.SAXHandler(Document)
          Deprecated in beta7, use SAXHandler() instead and let SAXHandler create the Document, then retrieve it with getDocument() 
 



Copyright © 2001 Jason Hunter, Brett McLaughlin. All Rights Reserved.