Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.apache.wml.dom;
 
public class WMLDocumentImpl extends DocumentImpl
  implements WMLDocument
  private static final long serialVersionUID = -6582904849512384104L;
  private static Hashtable _elementTypesWML;
  private static final Class[] _elemClassSigWML = { WMLDocumentImpl.classString.class };
  public Element createElement(String paramString)
    throws DOMException
  {
    Class localClass = (Class).get(paramString);
    if (localClass != null)
      try
      {
        Constructor localConstructor = localClass.getConstructor();
        return (Element)localConstructor.newInstance(new Object[] { thisparamString });
      }
      catch (Exception localException)
      {
        Object localObject;
        if ((localException instanceof InvocationTargetException))
          localObject = ((InvocationTargetException)localException).getTargetException();
        else
          localObject = localException;
        ..println("Exception " + localObject.getClass().getName());
        ..println(((Throwable)localObject).getMessage());
        throw new IllegalStateException("Tag '" + paramString + "' associated with an Element class that failed to construct.");
      }
    return (Element)new WMLElementImpl(thisparamString);
  }
  public WMLDocumentImpl(DocumentType paramDocumentType)
  {
    super(paramDocumentTypefalse);
  }
  static
  {
     = new Hashtable();
    .put("b"WMLBElementImpl.class);
    .put("noop"WMLNoopElementImpl.class);
    .put("a"WMLAElementImpl.class);
    .put("setvar"WMLSetvarElementImpl.class);
    .put("access"WMLAccessElementImpl.class);
    .put("strong"WMLStrongElementImpl.class);
    .put("postfield"WMLPostfieldElementImpl.class);
    .put("do"WMLDoElementImpl.class);
    .put("wml"WMLWmlElementImpl.class);
    .put("tr"WMLTrElementImpl.class);
    .put("go"WMLGoElementImpl.class);
    .put("big"WMLBigElementImpl.class);
    .put("anchor"WMLAnchorElementImpl.class);
    .put("timer"WMLTimerElementImpl.class);
    .put("small"WMLSmallElementImpl.class);
    .put("optgroup"WMLOptgroupElementImpl.class);
    .put("head"WMLHeadElementImpl.class);
    .put("td"WMLTdElementImpl.class);
    .put("fieldset"WMLFieldsetElementImpl.class);
    .put("img"WMLImgElementImpl.class);
    .put("refresh"WMLRefreshElementImpl.class);
    .put("onevent"WMLOneventElementImpl.class);
    .put("input"WMLInputElementImpl.class);
    .put("prev"WMLPrevElementImpl.class);
    .put("table"WMLTableElementImpl.class);
    .put("meta"WMLMetaElementImpl.class);
    .put("template"WMLTemplateElementImpl.class);
    .put("br"WMLBrElementImpl.class);
    .put("option"WMLOptionElementImpl.class);
    .put("u"WMLUElementImpl.class);
    .put("p"WMLPElementImpl.class);
    .put("select"WMLSelectElementImpl.class);
    .put("em"WMLEmElementImpl.class);
    .put("i"WMLIElementImpl.class);
    .put("card"WMLCardElementImpl.class);
  }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     org.apache.wml.dom.WMLDocumentImpl
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X