Web / Apache Axiom Interview questions
What are the core interfaces in Apache Axiom's object model?
Axiom's object model is built from a small set of interfaces that mirror what you'd expect from any XML tree, plus a couple that are specific to how the model gets built and populated.
| Interface | Purpose |
| OMNode | base type for anything that can sit in the tree (element, text, comment...) |
| OMElement | represents an XML element, extends OMNode with attributes/children |
| OMDocument | represents the overall XML document wrapping the root element |
| OMAttribute | represents a single attribute on an element |
| OMNamespace | represents a namespace URI + prefix pairing |
| OMText | represents character data, CDATA, or binary/MTOM content |
| OMFactory | creates OM nodes programmatically |
| OMXMLParserWrapper | the builder that feeds a parser's events into the tree |
Everything else in the API - SOAP-specific interfaces, data-source-backed elements, and so on - is built on top of this same small core.
More Related questions...