Package org.jibx.binding.util

Examples of org.jibx.binding.util.ArrayMap


        m_nameStyle = BindingBuilder.NAME_HYPHENS;
       
        // initialize the contexts
        m_outerContext = m_activeContext = new DefinitionContext(this);
        m_activeContext = new DefinitionContext(this);
        m_namespaceUris = new ArrayMap();
        m_namespaceUris.findOrAdd("");
        m_namespacePrefixes = new GrowableStringArray();
        m_namespacePrefixes.add("");
        m_outerContext.addNamespace(NamespaceDefinition.buildNamespace
            ("http://www.w3.org/XML/1998/namespace", "xml"));
View Full Code Here


    public String getMarshallerUnmarshallerName(String clas) {
        if (!m_isMappedDone) {
            m_isMappedDone = true;
            m_mumIndex = s_mappedClasses.size();
            if (m_extraClasses == null) {
                m_extraClasses = new ArrayMap();
                m_extraMarshallers = new GrowableStringArray();
                m_extraUnmarshallers = new GrowableStringArray();
            }
        }
        int variant = 0;
View Full Code Here

    public int getIdClassIndex(String name) {
        if (m_isIdGlobal) {
            return 0;
        } else {
            if (m_uniqueIds == null) {
                m_uniqueIds = new ArrayMap();
            }
            return m_uniqueIds.findOrAdd(name);
        }
    }
View Full Code Here

     * Discard cached information and reset in preparation for a new binding
     * run.
     */
    public static void reset() {
        s_bindings = new ArrayList();
        s_mappedClasses = new ArrayMap();
    }
View Full Code Here

     */
    public void addMapping(IMapping def) throws JiBXException {

        // create structure if not already done
        if (m_mappings == null) {
            m_classMap = new ArrayMap();
            m_mappings = new ArrayList();
        }

        // check for conflict on class name before adding to definitions
        String name = def.getTypeName();
View Full Code Here

TOP

Related Classes of org.jibx.binding.util.ArrayMap

Copyright © 2018 www.massapicom. 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.