Liquid XML Data Binder 2021
Liquid XML Data Binder (C++, Java, VB6) / Reference / Java / Reference / com.liquid_technologies.ltxmllib19 / SerializationContext / Java getNamespaceAliases - SerializationContext
In This Topic
    Java getNamespaceAliases - SerializationContext
    In This Topic
    AliasNamespaceDictionary getNamespaceAliases()
      Property Description  
        Property Name DefaultNamespaceURI  
        Property Type string  
        Accessors Read Only  
        Description A collection of name value pairs, containing a namespace URI and namespace Alias.  
        Remarks

    These alias will be declared at the root level in the document.
    The sample shows what you get if an alias “MyAlias”, and URI "http://sample" are added to the collection.

    <?xml version="1.0"?>
    <MyAlias:Customer xmlns:MyAlias="http://sample"
    xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
    clubCardMember="false">

    Also See AliasNamespaceDictionary


    public class AliasNamespaceDictionary {
        public String getNamespaceURI(String nsAlias);
        public java.util.Set getAliases();
        public java.util.Collection getNamespaces();
        public void add(String nsAlias, String namespaceUri);
        public boolean contains(String nsAlias);
        public void remove(String nsAlias);
    }