English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

The most basic part of JaxMeXS is its generic parser. This part is suited for arbitrary XML document types, for example configuration files and the like. The actual XML Schema parsers (the syntax parser and the logical parser) are sitting on top of the generic parser. If you aren't interested in the generic part, you may safely skip to the next section, which is basically self contained. However, some details are best described here.

The generic parser follows an idea from the Ant project: A SAX parser is responsible for the configuration of a bean. Any XML element is mapped to a Java bean. The XML elements attributes are mapped to properties of the bean and the child elements are mapped to other beans, which are part of the parent bean. If you know how to write an Ant task, you know how the generic parser works.

The generic parser is specified by the interface XsSAXParser and implemented by the class XsSAXParserImpl. There's few things to know about that. The most important parts are some other interfaces and classes which you might like to implement or extend:

1. The AttributeSetter interface is responsible for mapping XML attributes to bean properties.
2. The TextSetter handles character data contained in elements.
3. And, finally, the ChildSetter creates new beans for any child element.

hope this helps.

2007-02-20 10:00:10 · answer #1 · answered by brommas 4 · 0 0

just go bak to the computer place u bought it and ask for the microsoft office download they should give it for free

2016-05-23 23:49:34 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers