Simple XML
ナビゲーションに移動
検索に移動
Simple XML
Tips
デシアライズ時に要素を無視する
- 以下のようなエラー
- simpleframework.xml.core.ElementException: Element 'Another' does not have a
match in class blah.blah.Blah at line 1
XML
- <Root>
- <Element>Used</Element>
- <Another>Not used</Another>
- <Root>
POJO
- @Root(strict=false)
- class Root{
- @Element
- private String element;
- }
© 2006 矢木浩人