Tag: unmarshalling

JAXB – 忽略元素

有没有办法忽略Jaxb解析中的元素? 我有一个大的XML文件,如果我可以忽略其中一个大的复杂元素,那么它可能会解析得更快。 如果甚至根本无法validation元素内容并解析文档的其余部分,即使该元素不正确,也会更好。 例如:这应该只生成Foo.element1和Foo.element2 I want this And this ALL of bar should be ignored this also should be ignored a lot of C that take time to process a lot of C that take time to process a lot of C that take time to process a lot of C that take time to […]