JDOM
2.0.5

Deprecated API


Contents
Deprecated Classes
org.jdom2.xpath.jaxen.JDOMXPath
          replaced by compiled version. 
org.jdom2.xpath.XPath
          Use XPathFactory/XPathExpression/XPathBuilder instead. 
 

Deprecated Methods
org.jdom2.UncheckedJDOMFactory.attribute(String, String, int)
           
org.jdom2.SlimJDOMFactory.attribute(String, String, int)
           
org.jdom2.JDOMFactory.attribute(String, String, int)
          use JDOMFactory.attribute(String, String, AttributeType) 
org.jdom2.DefaultJDOMFactory.attribute(String, String, int)
           
org.jdom2.UncheckedJDOMFactory.attribute(String, String, int, Namespace)
           
org.jdom2.SlimJDOMFactory.attribute(String, String, int, Namespace)
           
org.jdom2.JDOMFactory.attribute(String, String, int, Namespace)
          Use JDOMFactory.attribute(String, String, AttributeType, Namespace) 
org.jdom2.DefaultJDOMFactory.attribute(String, String, int, Namespace)
           
org.jdom2.AttributeType.byIndex(int)
          Use normal Enums instead of int's 
org.jdom2.input.SAXBuilder.getDriverClass()
          as the driver class is only available in limited situations and anyway it had to be supplied in a constructor as either a direct value or as an XMLReaderSAX2Factory instance. 
org.jdom2.input.SAXBuilder.getFactory()
          as it is replaced by SAXBuilder.getJDOMFactory() 
org.jdom2.output.DOMOutputter.getForceNamespaceAware()
          All DOMOutputters are always NamesapceAware. Always true. 
org.jdom2.output.SAXOutputter.getLocator()
          there is no way to get a meaningful document Locator outside of an active output process, and the contents of the locator are meaningless outside of an active output process anyway. 
org.jdom2.input.SAXBuilder.getValidation()
          in lieu of SAXBuilder.isValidating() 
org.jdom2.Attribute.setAttributeType(int)
          use Attribute.setAttributeType(AttributeType) 
org.jdom2.input.SAXBuilder.setFactory(JDOMFactory)
          as it is replaced by SAXBuilder.setJDOMFactory(JDOMFactory) 
org.jdom2.input.SAXBuilder.setFastReconfigure(boolean)
          All reused Parsers are now fast-reconfigured. No need to set it. 
org.jdom2.output.DOMOutputter.setForceNamespaceAware(boolean)
          All DOMOutputters are now always NamespaceAware. 
org.jdom2.input.SAXBuilder.setValidation(boolean)
          use SAXBuilder.setXMLReaderFactory(XMLReaderJDOMFactory) 
 

Deprecated Constructors
org.jdom2.Attribute(String, String, int)
          Use Attribute.Attribute(String, String, AttributeType) 
org.jdom2.Attribute(String, String, int, Namespace)
          Use Attribute.Attribute(String, String, AttributeType, Namespace). 
org.jdom2.output.DOMOutputter(String)
          use DOMOutputter.DOMOutputter(DOMAdapter) instead. 
org.jdom2.input.SAXBuilder(boolean)
          use SAXBuilder.SAXBuilder(XMLReaderJDOMFactory) with either XMLReaders.DTDVALIDATING or XMLReaders.NONVALIDATING 
org.jdom2.input.SAXBuilder(String)
          use SAXBuilder.SAXBuilder(XMLReaderJDOMFactory) with XMLReaderSAX2Factory.XMLReaderSAX2Factory(boolean, String) 
org.jdom2.input.SAXBuilder(String, boolean)
          use SAXBuilder.SAXBuilder(XMLReaderJDOMFactory) with XMLReaderSAX2Factory.XMLReaderSAX2Factory(boolean, String) 
 


JDOM
2.0.5

Copyright 2013 Jason Hunter, Brett McLaughlin. All Rights Reserved.