Examples of startScope()


Examples of com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startScope()

        }

        @Override
        public void startElement(UnmarshallingContext.State state, TagName ea) throws SAXException {
            UnmarshallingContext context = state.getContext();
            context.startScope(1);
            // inherit the target so that our children can access its target
            state.target = state.prev.target;

            // start it now, so that even if there's no children we can still return empty collection
            context.getScope(0).start(acc,lister);
View Full Code Here

Examples of com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startScope()

        }

        @Override
        public void startElement(UnmarshallingContext.State state, TagName ea) throws SAXException {
            UnmarshallingContext context = state.getContext();
            context.startScope(1);
            // inherit the target so that our children can access its target
            state.target = state.prev.target;

            // start it now, so that even if there's no children we can still return empty collection
            context.getScope(0).start(acc,lister);
View Full Code Here

Examples of com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startScope()

/*     */     }
/*     */
/*     */     public void startElement(UnmarshallingContext.State state, TagName ea) throws SAXException
/*     */     {
/* 109 */       UnmarshallingContext context = state.getContext();
/* 110 */       context.startScope(1);
/*     */
/* 112 */       state.target = state.prev.target;
/*     */
/* 115 */       context.getScope(0).start(this.acc, this.lister);
/*     */     }
View Full Code Here

Examples of com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startScope()

        }

        @Override
        public void startElement(UnmarshallingContext.State state, TagName ea) throws SAXException {
            UnmarshallingContext context = state.getContext();
            context.startScope(1);
            // inherit the target so that our children can access its target
            state.target = state.prev.target;

            // start it now, so that even if there's no children we can still return empty collection
            context.getScope(0).start(acc,lister);
View Full Code Here

Examples of com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startScope()

        }

        @Override
        public void startElement(UnmarshallingContext.State state, TagName ea) throws SAXException {
            UnmarshallingContext context = state.getContext();
            context.startScope(1);
            // inherit the target so that our children can access its target
            state.setTarget(state.getPrev().getTarget());

            // start it now, so that even if there's no children we can still return empty collection
            context.getScope(0).start(acc,lister);
View Full Code Here

Examples of com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.startScope()

        }

        @Override
        public void startElement(UnmarshallingContext.State state, TagName ea) throws SAXException {
            UnmarshallingContext context = state.getContext();
            context.startScope(1);
            // inherit the target so that our children can access its target
            state.target = state.prev.target;

            // start it now, so that even if there's no children we can still return empty collection
            context.getScope(0).start(acc,lister);
View Full Code Here

Examples of com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.startScope()

        }

        @Override
        public void startElement(UnmarshallingContext.State state, TagName ea) throws SAXException {
            UnmarshallingContext context = state.getContext();
            context.startScope(1);
            // inherit the target so that our children can access its target
            state.target = state.prev.target;

            // start it now, so that even if there's no children we can still return empty collection
            context.getScope(0).start(acc,lister);
View Full Code Here

Examples of org.apache.axiom.util.namespace.ScopedNamespaceContext.startScope()

            XMLStreamReader reader = factory.createXMLStreamReader(in);
            int depth = 0;
            int eventType;
            while ((eventType = reader.getEventType()) != XMLStreamReader.END_DOCUMENT) {
                if (eventType == XMLStreamReader.START_ELEMENT) {
                    refNc.startScope();
                    for (int i=0; i<reader.getNamespaceCount(); i++) {
                        String prefix = reader.getNamespacePrefix(i);
                        String uri = reader.getNamespaceURI(i);
                        refNc.setPrefix(prefix == null ? "" : prefix,
                                        uri == null ? "" : uri);
View Full Code Here

Examples of org.apache.axiom.util.namespace.ScopedNamespaceContext.startScope()

            XMLStreamReader reader = factory.createXMLStreamReader(in);
            int depth = 0;
            int eventType;
            while ((eventType = reader.getEventType()) != XMLStreamReader.END_DOCUMENT) {
                if (eventType == XMLStreamReader.START_ELEMENT) {
                    refNc.startScope();
                    for (int i=0; i<reader.getNamespaceCount(); i++) {
                        String prefix = reader.getNamespacePrefix(i);
                        String uri = reader.getNamespaceURI(i);
                        refNc.setPrefix(prefix == null ? "" : prefix,
                                        uri == null ? "" : uri);
View Full Code Here

Examples of org.hdiv.dataComposer.IDataComposer.startScope()

    if (scope == null) {
      // Default scope
      scope = StateScopeType.USER_SESSION.getName();
    }

    dataComposer.startScope(scope);

    return EVAL_BODY_INCLUDE;
  }

  @Override
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.