Tabnine Logo
MapBasedNamespaceContext.addMappings
Code IndexAdd Tabnine to your IDE (free)

How to use
addMappings
method
in
com.helger.xml.namespace.MapBasedNamespaceContext

Best Java code snippets using com.helger.xml.namespace.MapBasedNamespaceContext.addMappings (Showing top 5 results out of 315)

origin: com.helger/ph-xml

/**
 * Constructor to copy from another {@link IIterableNamespaceContext}
 *
 * @param aOther
 *        Object to copy the data from. May be <code>null</code>.
 */
public MapBasedNamespaceContext (@Nullable final IIterableNamespaceContext aOther)
{
 addMappings (aOther);
}
origin: com.helger/ph-xml

/**
 * Constructor with prefix to namespace URL map
 *
 * @param aOther
 *        Map with prefix to namespace URL. May be <code>null</code>.
 * @since 8.5.3
 */
public MapBasedNamespaceContext (@Nullable final Map <String, String> aOther)
{
 addMappings (aOther);
}
origin: com.helger/ph-xml

@Nonnull
public final MapBasedNamespaceContext addMappings (@Nullable final IIterableNamespaceContext aOther)
{
 if (aOther != null)
  addMappings (aOther.getPrefixToNamespaceURIMap ());
 return this;
}
origin: phax/ph-ubl

public UBLPEWriterBuilder (@Nonnull final EUBLPEDocumentType eDocType)
{
 super (eDocType);
 // Create a special namespace context for the passed document type
 final MapBasedNamespaceContext aNSContext = new MapBasedNamespaceContext ();
 aNSContext.addMappings (new UBLPENamespaceContext ());
 aNSContext.addDefaultNamespaceURI (m_aDocType.getNamespaceURI ());
 setNamespaceContext (aNSContext);
}
origin: phax/ph-ubl

public UBLTRWriterBuilder (@Nonnull final EUBLTRDocumentType eDocType)
{
 super (eDocType);
 // Create a special namespace context for the passed document type
 final MapBasedNamespaceContext aNSContext = new MapBasedNamespaceContext ();
 aNSContext.addMappings (new UBLTRNamespaceContext ());
 aNSContext.addDefaultNamespaceURI (m_aDocType.getNamespaceURI ());
 setNamespaceContext (aNSContext);
}
com.helger.xml.namespaceMapBasedNamespaceContextaddMappings

Popular methods of MapBasedNamespaceContext

  • <init>
    Constructor with prefix to namespace URL map
  • addDefaultNamespaceURI
    Add the default namespace URL
  • addMapping
    Add a new prefix to namespace mapping. If a prefix is already present, an IllegalArgumentException i
  • getPrefix
  • setMapping
    Add a new prefix to namespace mapping. If a prefix is already present it is overwritten.
  • getClone
  • getNamespaceURI
  • getPrefixes
  • setMappings
  • _addMapping
  • getCustomNamespaceURI
  • getDefaultNamespaceURI
  • getCustomNamespaceURI,
  • getDefaultNamespaceURI,
  • getPrefixToNamespaceURIMap,
  • setDefaultNamespaceURI

Popular in Java

  • Making http requests using okhttp
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JTextField (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now