HackerTrans
トップ新着トレンドコメント過去質問紹介求人

ynd

no profile record

コメント

ynd
·18 年前·議論
That was humor :)

The rest is funnier. Give it a try.
ynd
·18 年前·議論
I bet they were looking for extensibility.

I wonder if they ever thought of providing two interfaces.

1. The first is the common case.

    Document doc = new DocumentBuilder().parse("test.xml");
2. The second is more cumbersome but provides options.

    Document doc = DocumentBuilderFactory.newInstance(opts).newDocumentBuilder(opts2).parse("test.xml");