Examples of LazyList


Examples of org.jibx.util.LazyList

        m_uriPrefixDefaults = new HashMap();
        m_keyObjects = new ArrayList();
        m_objectBindings = new HashMap();
        m_referenceUriBinding = new InsertionOrderedMap();
        m_nsRootUris = new InsertionOrderedSet();
        m_formats = new LazyList();
    }
View Full Code Here

Examples of org.jibx.util.LazyList

        m_baseName = base;
        m_decorators = decorators;
        m_useInnerClasses = inner;
        m_importsTracker = new ImportsTracker(pack.getName());
        m_outerClass = null;
        m_inners = new LazyList();
        m_nameSet = new UniqueNameSet();
        m_nameSet.add(name);
        m_importsTracker.addLocalType(name, getFullName());
    }
View Full Code Here

Examples of org.jibx.util.LazyList

        m_baseName = null;
        m_decorators = context.m_decorators;
        m_useInnerClasses = true;
        m_importsTracker = context.m_importsTracker;
        m_outerClass = context;
        m_inners = new LazyList();
        m_nameSet = new UniqueNameSet();
        ClassHolder scan = this;
        while (scan != null) {
            m_nameSet.add(scan.getName());
            scan = scan.m_outerClass;
View Full Code Here

Examples of org.jibx.util.LazyList

     * @return <code>true</code> if valid, <code>false</code> if not
     */
    public boolean validate(ValidationContext vctx) {
        boolean valid = super.validate(vctx);
        if (valid) {
            LazyList children = getChildren();
            for (int i = 0; i < children.size(); i++) {
                Object child = children.get(i);
                if (child instanceof SchemasetCustom) {
                    if (!((SchemasetCustom)child).validate(vctx)) {
                        valid = false;
                    }
                }
View Full Code Here

Examples of org.jibx.util.LazyList

     *
     * @param parent
     */
    public NestingCustomBase(NestingCustomBase parent) {
        super(parent);
        m_children = new LazyList();
    }
View Full Code Here

Examples of org.jibx.util.LazyList

                // apply customizations to extension
                exten.setTypeReplacer(this);
                exten.setOverrideType(m_type);
               
                // match and apply child customizations
                LazyList childs = getChildren();
                for (int i = 0; i < childs.size(); i++) {
                    ComponentCustom child = (ComponentCustom)childs.get(i);
                    SchemaPath path = child.buildPath(vctx);
                    if (path != null) {
                        List matches = path.partialMatchMultiple(0, path.getPathLength()-1, exten.getComponent());
                        if (matches.size() == 0) {
                            vctx.addWarning("No matches found for customization expression", child);
View Full Code Here

Examples of org.jibx.util.LazyList

        m_namespace = uri;
        m_elementDefault = dflt;
        m_referencedNamespaces = new InsertionOrderedSet();
        m_usedNamespaces = new InsertionOrderedSet();
        m_binding = new BindingElement();
        m_mappings = new LazyList();
    }
View Full Code Here

Examples of org.jibx.util.LazyList

     *
     * @param type element type
     */
    protected OpenAttrBase(int type) {
      super(type);
        m_children = new LazyList();
    }
View Full Code Here

Examples of org.jibx.util.LazyList

     * @param end ending match list offset
     * @param base starting element for match
     * @param matches elements matching expression
     */
    private void match(int offset, int end, OpenAttrBase base, ArrayList matches) {
        LazyList childs = base.getChildrenWritable();
        StepBase step = m_steps[offset];
        int steppos = step.position();
        int position = 0;
        for (int i = 0; i < childs.size(); i++) {
            OpenAttrBase child = (OpenAttrBase)childs.get(i);
            if (step.match(child)) {
                if (steppos <= 0 || steppos == ++position) {
                    if (offset == end) {
                        matches.add(child);
                    } else {
View Full Code Here

Examples of org.jibx.util.LazyList

     * @param tns target namespace
     */
    public Message(String name, String tns) {
        m_name = name;
        m_qName = new QName(tns, name);
        m_parts = new LazyList();
    }
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.