Tabnine Logo
SerializerBase.getNamespaceURI
Code IndexAdd Tabnine to your IDE (free)

How to use
getNamespaceURI
method
in
org.apache.xml.serializer.SerializerBase

Best Java code snippets using org.apache.xml.serializer.SerializerBase.getNamespaceURI (Showing top 16 results out of 315)

origin: robovm/robovm

/**
 *  Adds  the given attribute to the set of collected attributes, 
 * but only if there is a currently open element.
 *
 * @param name the attribute's qualified name
 * @param value the value of the attribute
 */
public void addAttribute(String name, final String value)
{
  if (m_elemContext.m_startTagOpen)
  {
    final String patchedName = patchName(name);
    final String localName = getLocalName(patchedName);
    final String uri = getNamespaceURI(patchedName, false);
    addAttributeAlways(uri,localName, patchedName, "CDATA", value, false);
   }
}    
origin: xalan/serializer

/**
 *  Adds  the given attribute to the set of collected attributes, 
 * but only if there is a currently open element.
 *
 * @param name the attribute's qualified name
 * @param value the value of the attribute
 */
public void addAttribute(String name, final String value)
{
  if (m_elemContext.m_startTagOpen)
  {
    final String patchedName = patchName(name);
    final String localName = getLocalName(patchedName);
    final String uri = getNamespaceURI(patchedName, false);
    addAttributeAlways(uri,localName, patchedName, "CDATA", value, false);
   }
}    
origin: MobiVM/robovm

/**
 *  Adds  the given attribute to the set of collected attributes, 
 * but only if there is a currently open element.
 *
 * @param name the attribute's qualified name
 * @param value the value of the attribute
 */
public void addAttribute(String name, final String value)
{
  if (m_elemContext.m_startTagOpen)
  {
    final String patchedName = patchName(name);
    final String localName = getLocalName(patchedName);
    final String uri = getNamespaceURI(patchedName, false);
    addAttributeAlways(uri,localName, patchedName, "CDATA", value, false);
   }
}    
origin: ibinti/bugvm

/**
 *  Adds  the given attribute to the set of collected attributes, 
 * but only if there is a currently open element.
 *
 * @param name the attribute's qualified name
 * @param value the value of the attribute
 */
public void addAttribute(String name, final String value)
{
  if (m_elemContext.m_startTagOpen)
  {
    final String patchedName = patchName(name);
    final String localName = getLocalName(patchedName);
    final String uri = getNamespaceURI(patchedName, false);
    addAttributeAlways(uri,localName, patchedName, "CDATA", value, false);
   }
}    
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 *  Adds  the given attribute to the set of collected attributes, 
 * but only if there is a currently open element.
 *
 * @param name the attribute's qualified name
 * @param value the value of the attribute
 */
public void addAttribute(String name, final String value)
{
  if (m_elemContext.m_startTagOpen)
  {
    final String patchedName = patchName(name);
    final String localName = getLocalName(patchedName);
    final String uri = getNamespaceURI(patchedName, false);
    addAttributeAlways(uri,localName, patchedName, "CDATA", value, false);
   }
}    
origin: com.gluonhq/robovm-rt

/**
 *  Adds  the given attribute to the set of collected attributes, 
 * but only if there is a currently open element.
 *
 * @param name the attribute's qualified name
 * @param value the value of the attribute
 */
public void addAttribute(String name, final String value)
{
  if (m_elemContext.m_startTagOpen)
  {
    final String patchedName = patchName(name);
    final String localName = getLocalName(patchedName);
    final String uri = getNamespaceURI(patchedName, false);
    addAttributeAlways(uri,localName, patchedName, "CDATA", value, false);
   }
}    
origin: org.apache.xalan/com.springsource.org.apache.xml.serializer

/**
 *  Adds  the given attribute to the set of collected attributes, 
 * but only if there is a currently open element.
 *
 * @param name the attribute's qualified name
 * @param value the value of the attribute
 */
public void addAttribute(String name, final String value)
{
  if (m_elemContext.m_startTagOpen)
  {
    final String patchedName = patchName(name);
    final String localName = getLocalName(patchedName);
    final String uri = getNamespaceURI(patchedName, false);
    addAttributeAlways(uri,localName, patchedName, "CDATA", value, false);
   }
}    
origin: org.apache.xalan/serializer

/**
 *  Adds  the given attribute to the set of collected attributes, 
 * but only if there is a currently open element.
 *
 * @param name the attribute's qualified name
 * @param value the value of the attribute
 */
public void addAttribute(String name, final String value)
{
  if (m_elemContext.m_startTagOpen)
  {
    final String patchedName = patchName(name);
    final String localName = getLocalName(patchedName);
    final String uri = getNamespaceURI(patchedName, false);
    addAttributeAlways(uri,localName, patchedName, "CDATA", value, false);
   }
}    
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 *  Adds  the given attribute to the set of collected attributes, 
 * but only if there is a currently open element.
 *
 * @param name the attribute's qualified name
 * @param value the value of the attribute
 */
public void addAttribute(String name, final String value)
{
  if (m_elemContext.m_startTagOpen)
  {
    final String patchedName = patchName(name);
    final String localName = getLocalName(patchedName);
    final String uri = getNamespaceURI(patchedName, false);
    addAttributeAlways(uri,localName, patchedName, "CDATA", value, false);
   }
}    
origin: com.mobidevelop.robovm/robovm-rt

/**
 *  Adds  the given attribute to the set of collected attributes, 
 * but only if there is a currently open element.
 *
 * @param name the attribute's qualified name
 * @param value the value of the attribute
 */
public void addAttribute(String name, final String value)
{
  if (m_elemContext.m_startTagOpen)
  {
    final String patchedName = patchName(name);
    final String localName = getLocalName(patchedName);
    final String uri = getNamespaceURI(patchedName, false);
    addAttributeAlways(uri,localName, patchedName, "CDATA", value, false);
   }
}    
origin: com.bugvm/bugvm-rt

/**
 *  Adds  the given attribute to the set of collected attributes, 
 * but only if there is a currently open element.
 *
 * @param name the attribute's qualified name
 * @param value the value of the attribute
 */
public void addAttribute(String name, final String value)
{
  if (m_elemContext.m_startTagOpen)
  {
    final String patchedName = patchName(name);
    final String localName = getLocalName(patchedName);
    final String uri = getNamespaceURI(patchedName, false);
    addAttributeAlways(uri,localName, patchedName, "CDATA", value, false);
   }
}    
origin: FlexoVM/flexovm

/**
 *  Adds  the given attribute to the set of collected attributes, 
 * but only if there is a currently open element.
 *
 * @param name the attribute's qualified name
 * @param value the value of the attribute
 */
public void addAttribute(String name, final String value)
{
  if (m_elemContext.m_startTagOpen)
  {
    final String patchedName = patchName(name);
    final String localName = getLocalName(patchedName);
    final String uri = getNamespaceURI(patchedName, false);
    addAttributeAlways(uri,localName, patchedName, "CDATA", value, false);
   }
}    
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * This method is called when all the data needed for a call to the
 * SAX handler's startElement() method has been gathered.
 */
protected void closeStartTag() throws SAXException
{
  m_elemContext.m_startTagOpen = false;
  final String localName = getLocalName(m_elemContext.m_elementName);
  final String uri = getNamespaceURI(m_elemContext.m_elementName, true);
  // Now is time to send the startElement event
  if (m_needToCallStartDocument)
  {
    startDocumentInternal();
  }
  m_saxHandler.startElement(uri, localName, m_elemContext.m_elementName, m_attributes);
  // we've sent the official SAX attributes on their way,
  // now we don't need them anymore.
  m_attributes.clear();
  if(m_state != null)
   m_state.setCurrentNode(null);
}
origin: org.apache.xalan/com.springsource.org.apache.xml.serializer

/**
 * This method is called when all the data needed for a call to the
 * SAX handler's startElement() method has been gathered.
 */
protected void closeStartTag() throws SAXException
{
  m_elemContext.m_startTagOpen = false;
  final String localName = getLocalName(m_elemContext.m_elementName);
  final String uri = getNamespaceURI(m_elemContext.m_elementName, true);
  // Now is time to send the startElement event
  if (m_needToCallStartDocument)
  {
    startDocumentInternal();
  }
  m_saxHandler.startElement(uri, localName, m_elemContext.m_elementName, m_attributes);
  // we've sent the official SAX attributes on their way,
  // now we don't need them anymore.
  m_attributes.clear();
  if(m_state != null)
   m_state.setCurrentNode(null);
}
origin: org.apache.xalan/com.springsource.org.apache.xml.serializer

  namespaceURI = m_elemContext.m_elementURI;
else
  namespaceURI = getNamespaceURI(qName, true);
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

  namespaceURI = m_elemContext.m_elementURI;
else
  namespaceURI = getNamespaceURI(qName, true);
org.apache.xml.serializerSerializerBasegetNamespaceURI

Javadoc

Returns the URI of an element or attribute. Note that default namespaces do not apply directly to attributes.

Popular methods of SerializerBase

  • setTransformer
    Sets the transformer associated with this serializer
  • addAttributeAlways
    Adds the given attribute to the set of attributes, even if there is no currently open element. This
  • addAttributes
    Add the given attributes to the currently collected ones. These attributes are always added, regardl
  • addCDATAElement
  • characters
  • comment
  • endEntity
    Report the end of an entity.
  • error
  • fatalError
  • fireCDATAEvent
    Report the CDATA trace event
  • fireCharEvent
    Report the characters trace event
  • fireCommentEvent
    Report the comment trace event
  • fireCharEvent,
  • fireCommentEvent,
  • fireEndElem,
  • fireEndEntity,
  • fireEntityReference,
  • fireStartDoc,
  • fireStartElem,
  • flushMyWriter,
  • flushPending,
  • getElementURI

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
  • notifyDataSetChanged (ArrayAdapter)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Best IntelliJ plugins
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