Package com.toc.dton.notation.xml.analyser

Examples of com.toc.dton.notation.xml.analyser.Analyser.analysis()


          event = reader.next();
          //The follow element must be Object
          if(event == XMLStreamConstants.START_ELEMENT) {
            if(XMLNotationDefinition.OBJECT.equals(reader.getName().getLocalPart())) {
              Analyser analyser = AnalyserFactory.create(reader.getAttributeValue(null, XMLNotationDefinition.OBJECT_ATTRIBUTE.TYPE));
              analysisResult = analyser.analysis(reader);
            } else {
              //TODO: Error Code
              throw ExceptionHelper.raise("TBD", "Error element follow DTON Element, it should be the code of Object!");
            }
          }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.