Codota Logo
ElementNotDefined
Code IndexAdd Codota to your IDE (free)

How to use
ElementNotDefined
in
org.milyn.dtd

Best Java code snippets using org.milyn.dtd.ElementNotDefined (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.virtuslab/milyn-smooks-core

/**
 * Get the defined element attributes for the named element.
 * @param elementName The element name.
 * @return The list of attribute names ({@link String}s) for the named element.
 * @throws ElementNotDefined Element not defined.  Calls shouldn't be made to this 
 * function for undefined elements. 
 */
public List getElementAttributes(String elementName) throws ElementNotDefined {
  Vector attributes = (Vector)elementAttributes.get(elementName);
  
  if(attributes == null) {
    DTDElement element = getElement(elementName);
    
    if(element != null) {
      attributes = new Vector();
      elementAttributes.put(elementName, attributes);
      attributes.addAll(element.attributes.keySet());
    } else {
      throw new ElementNotDefined("Element [" + elementName + "] not defined in DTD.");
    }
  }
  
  return attributes;			
}

origin: smooks/smooks

/**
 * Get the defined element attributes for the named element.
 * @param elementName The element name.
 * @return The list of attribute names ({@link String}s) for the named element.
 * @throws ElementNotDefined Element not defined.  Calls shouldn't be made to this
 * function for undefined elements.
 */
@SuppressWarnings({ "WeakerAccess", "unchecked" })
public List getElementAttributes(String elementName) throws ElementNotDefined {
  Vector attributes = (Vector)elementAttributes.get(elementName);
  if(attributes == null) {
    DTDElement element = getElement(elementName);
    if(element != null) {
      attributes = new Vector();
      elementAttributes.put(elementName, attributes);
      attributes.addAll(element.attributes.keySet());
    } else {
      throw new ElementNotDefined("Element [" + elementName + "] not defined in DTD.");
    }
  }
  return attributes;
}
origin: org.milyn/milyn-smooks-all

/**
 * Get the defined element attributes for the named element.
 * @param elementName The element name.
 * @return The list of attribute names ({@link String}s) for the named element.
 * @throws ElementNotDefined Element not defined.  Calls shouldn't be made to this
 * function for undefined elements.
 */
@SuppressWarnings({ "WeakerAccess", "unchecked" })
public List getElementAttributes(String elementName) throws ElementNotDefined {
  Vector attributes = (Vector)elementAttributes.get(elementName);
  if(attributes == null) {
    DTDElement element = getElement(elementName);
    if(element != null) {
      attributes = new Vector();
      elementAttributes.put(elementName, attributes);
      attributes.addAll(element.attributes.keySet());
    } else {
      throw new ElementNotDefined("Element [" + elementName + "] not defined in DTD.");
    }
  }
  return attributes;
}
origin: org.milyn/milyn-smooks-core

/**
 * Get the defined element attributes for the named element.
 * @param elementName The element name.
 * @return The list of attribute names ({@link String}s) for the named element.
 * @throws ElementNotDefined Element not defined.  Calls shouldn't be made to this
 * function for undefined elements.
 */
@SuppressWarnings({ "WeakerAccess", "unchecked" })
public List getElementAttributes(String elementName) throws ElementNotDefined {
  Vector attributes = (Vector)elementAttributes.get(elementName);
  if(attributes == null) {
    DTDElement element = getElement(elementName);
    if(element != null) {
      attributes = new Vector();
      elementAttributes.put(elementName, attributes);
      attributes.addAll(element.attributes.keySet());
    } else {
      throw new ElementNotDefined("Element [" + elementName + "] not defined in DTD.");
    }
  }
  return attributes;
}
org.milyn.dtdElementNotDefined

Javadoc

DTD Element not defined.

Most used methods

  • <init>
    Public constructor.

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • findViewById (Activity)
  • requestLocationUpdates (LocationManager)
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • JFrame (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now