* * * * * * JDOM 1.1.1 (tag: jdom_1_1_1) from JDOM 1.1 * * * * * *
Fixed a synchronization issue in the Namespace class that could cause a
hang when doing concurrent builds.
Added output support for Unicode surrogate pairs.
Added a new flag on SAXBuilder named setFastReconfigure() which, when set,
can speed reconfiguration by skipping repeated attempts to set features that
are determined not to be present on a parser. Useful when doing many builds
per second.
Updated the provided Jaxen library from a modified Jaxen 1.0 to the latest
which is Jaxen 1.1.1.
Added reflection code in the error reporting system to support Android's
Dalvik VM which doesn't have the java.rmi.* classes.
* * * * * * JDOM 1.1 (tag: jdom_1_1) from JDOM 1.0 * * * * * *
Added an additional constructor to JDOMSource with an EntityResolver which is
passed to the internal DocumentReader allowing the SAXOutputter to properly
resolve DTDs.
Added a forceNamespaceAware property to DOMOutputter which specifies you want
a DOM constructed with namespaces even if the source JDOM document has no
namespaces.
Added support for attribute "INF" and "-INF" values, to indicate positive and
negative infinity, as XML Schema allows.
Moved isXMLWhitespace() method from private in XMLOutputter to public in
Verifier.
Clarified XMLOutputter behavior with newlines and indents:
setIndent(" ") means newlines and " " indents
setIndent("") means newlines and "" indents
setIndent(null) means no newlines and no indents
Added set/getIgnoringBoundaryWhitespace() methods and features to SAXBuilder
and SAXHandler.
Added a setFactory() method on XSLTransformer to control the object types
built by the transform.
Added a string constant for the JDOM_OBJECT_MODEL_URI used by JAXP 1.3. It
deserves being part of the public API.
Fixed bug in SAXOutputter where default namespaces would be declared as
xmlns:="" with a spurious colon.
Fixed bug when using attributes without a namespace and outputting to a
JDOMResult.
Removing check that a comment not start with a hyphen. A careful reading of
production 15 in the XML 1.0 spec indicates leading hyphens are in fact
allowed.
Fixed bug where outputFragment() on SAXOutputter could cause a
NullPointerException because the locator would be null during the call.
Fixed bug where serializing ElementFilter causes a NullPointerException if the
filter has no assigned namespace
Fixed some subtle bad behaviors in listIterator.add() logic, using brand new
iterator logic.
Allowed a String to be passed to ContentList.add(int, Object).
Simplified JDOMAbout and renamed info.xml to jdom-info.xml, so
getResourceAsStream() won't suffer any name collision.
Fixed tiny issue where CDATA could be set with illegal character content.
Added logic to escape some special characters in namespace URIs.
Fixed bug where the attribute type would change on a setAttribute() call.
Improved performance on Namespace handling.
Improved and clarified Javadocs.
* * * * * * JDOM 1.0 (tag: jdom_1_0) from JDOM Beta10 * * * * * *
Added a new lib/jaxen-jdom.jar that solves some XPath ancestry problems
introduced by the Parent interface. See the new lib/jaxen.readme for
details.
Moved the addContent() and setContent() methods from Parent into Element and
Document directly. This re-enables method chaining that some people missed.
Fixed a few bugs in SAXOutputter: start/endPrefixMapping was not being fired
for no namespace, DocType was being improperly constructed, changed to use a
DefaultHandler with the dtd parser to better suppress unimportant problems.
Added SAXOutputter support for outputting fragments of documents with the
new methods:
output(Content)
outputFragment(List)
outputFragment(Content)
Added support in XMLOutputter for ignoring the JAXP processing instructions
<?javax.xml.transform.enable-output-escaping?> and
<?javax.xml.transform.disable-output-escaping?>. Respect for these PIs is
toggled by the Format.set/getIgnoreTrAXEscapingPIs() feature, default false.
Added to JDOMFactory the methods document(Element rootElement, DocType
docType, String baseURI) and entityRef(String elementName, String systemID).
These match constructors that were previously overlooked. Also added
implementations to DefaultJDOMFactory and UnverifiedJDOMFactory.
Added to Element the method getParentElement() that returns the parent element
or null if the object is unattached or the root element.
Fixed bug in FilterIterator that affected next() calls.
Fixed bug in DOMOutputter regarding extraneous namespace declarations
appearing under certain conditions.
Changed XMLOutputter to clone the Format objects when they're set/get
Fixed bug in JDOMResult where the result list could include incomplete
results in certain situations, fixed by forcing a flush.
Made SAXHandler.flushCharacters() protected again after being private. It's
needed for the above fix.
Changed Verifier.isXXX() methods from private to public as it was well
argued that they're based on unchanging spec productions and can be
generally useful even apart from JDOM.
Added support for surrogate pairs in the Verifier. (Surrogate pairs don't
yet have any special output support.)
Fixed bug in SAXBuilder to avoid an IllegalStateException when apps access
the partial document when parse failure occurs right after the beginning of
the parse.
Updated JaxenXPath to avoid the deprecated XPath.valueOf().
Brought the jdom-contrib ElementScanner up to date.
Fixed various Javadoc typos.
Removed the build-time dependence on saxpath.jar.
Removed all deprecated methods.
Fixed bug where in "pretty print" output EntityRef instances would erroneously
print on their own line.
Added character encoding rules to improve whitespace round tripping:
http://lists.denveronline.net/lists/jdom-interest/2003-July/013227.html
Added DOMBuilder.getFactory() method to match what we added to SAXBuilder.
Removed Parent.canContain() and the Document and Element implementations.
Moved the logic directly into ContentList. No reason to expose a public
method unless it has a general purpose.
Reduced the visibility on some XMLOutputter internals that we don't want to
guarantee support for over the long term. Some people who want custom output
formatting may need to copy some code blocks. That's OK since JDOM is open
source and while it's less than ideal, it's better than our exposing protected
internal variables and methods that we may have reason to change later.
Now marked private:
userFormat
printString()
printContentRange()
printTextRange()
Now static final:
preserveFormat
Removed some unnecessary casts.
Made a few private methods static where it made sense. Also a select
few protected methods.
Made the Format constructor private. It used to be pkg protected which
doesn't make a lot of sense.
Removed equals() from AbstractFilter since it's better to let concrete
subclasses define that, as they already were.
Removed some unnecessary instanceof and != null checks.
--
Added an UncheckedJDOMFactory class which builds without doing any
content or structure checks, letting you gain speed in a situation
where you have 100% confidence in your parser. The Javadocs for
the class naturally includes a serious warning.
It's not used by default, but you can select it with a
builder.setFactory(new UncheckedJDOMFactory()) call.
I also added to JDOMFactory a few methods:
addContent(Parent, Content)
setAttribute(Element, Attribute)
addNamespaceDeclaration(Element, Namespace)
These are called during the build to do the adds. The default builder
just calls parent.addContent(Content) while the "unchecked" factory does
the work without checks using package protected methods on ContentList
and AttributeList.
A perk of
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
jdom-1.1.1.zip (332个子文件)
antRun 124B
build.bat 703B
XMLReaderBase.class 10KB
XMLWriter.class 9KB
XMLFilterBase.class 6KB
DataUnformatFilter.class 3KB
WarReader.class 3KB
DataFormatFilter.class 3KB
ReaderTest.class 3KB
XPathReader.class 3KB
DescendantDemo.class 2KB
FilterTest.class 2KB
SAXBuilderDemo.class 2KB
XSLTransform.class 1KB
DocumentReader.class 1023B
stylesheet.css 1KB
SAXBuilderTestEntity.dtd 217B
SAXBuilderTestEntity.dtd 217B
inherit.gif 57B
Element.html 115KB
XMLOutputter.html 73KB
Document.html 63KB
index-7.html 59KB
Attribute.html 59KB
Element.html 55KB
SAXBuilder.html 54KB
UncheckedJDOMFactory.html 54KB
SAXHandler.html 54KB
DefaultJDOMFactory.html 54KB
index-16.html 48KB
Verifier.html 46KB
SAXOutputter.html 46KB
JDOMFactory.html 41KB
Document.html 41KB
Namespace.html 40KB
JDOMException.html 37KB
Format.html 34KB
XPath.html 33KB
ContentFilter.html 31KB
ProcessingInstruction.html 28KB
index-3.html 28KB
serialized-form.html 28KB
DocType.html 27KB
DocType.html 27KB
JDOMSource.html 25KB
EntityRef.html 25KB
index-5.html 25KB
Attribute.html 24KB
XSLTransformer.html 24KB
Content.html 24KB
JDOMResult.html 24KB
Text.html 24KB
Parent.html 24KB
index-4.html 22KB
index-13.html 22KB
index-1.html 21KB
Content.html 21KB
CDATA.html 20KB
package-use.html 20KB
AbstractDOMAdapter.html 19KB
JDOMException.html 18KB
JDOMParseException.html 18KB
Filter.html 18KB
Namespace.html 18KB
Format.html 17KB
Comment.html 17KB
index-9.html 17KB
index-14.html 17KB
EntityRef.html 17KB
ProcessingInstruction.html 17KB
JDOMFactory.html 16KB
ElementFilter.html 16KB
Format.TextMode.html 15KB
OracleV2DOMAdapter.html 15KB
OracleV1DOMAdapter.html 15KB
XercesDOMAdapter.html 15KB
CrimsonDOMAdapter.html 15KB
JAXPDOMAdapter.html 15KB
constant-values.html 15KB
DOMBuilder.html 15KB
XML4JDOMAdapter.html 15KB
XMLOutputter.NamespaceStack.html 14KB
DOMAdapter.html 14KB
Text.html 14KB
overview-tree.html 14KB
index-17.html 14KB
DOMOutputter.html 14KB
index-21.html 14KB
BuilderErrorHandler.html 14KB
index-10.html 13KB
Parent.html 13KB
AbstractFilter.html 13KB
index-15.html 13KB
package-summary.html 13KB
XSLTransformException.html 12KB
Comment.html 12KB
DataConversionException.html 12KB
XSLTransformException.html 12KB
CDATA.html 12KB
Format.TextMode.html 11KB
共 332 条
- 1
- 2
- 3
- 4
资源评论
- yyqyuyiqiang2015-08-06网上找来半天,终于在CSDN找到了,项目急用,谢了
- 「已注销」2015-05-19很有帮助,很有帮助
请叫我益达张
- 粉丝: 25
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功