com.clickntap.tool.html
Class HTMLTag

java.lang.Object
  extended by com.clickntap.tool.html.HTMLTag

public class HTMLTag
extends Object


Field Summary
static String ATTRIBUTE_KEY
           
static String NAME_KEY
           
 
Constructor Summary
HTMLTag(org.dom4j.Element element, String name)
           
HTMLTag(String name)
           
 
Method Summary
 HTMLAttribute getAttribute(Object name)
           
 String getName()
           
 boolean isEnabled()
           
 boolean isEolAfterEndTag()
           
 boolean isEolAfterStartTag()
           
 boolean isEolBeforeEndTag()
           
 boolean isEolBeforeStartTag()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME_KEY

public static final String NAME_KEY
See Also:
Constant Field Values

ATTRIBUTE_KEY

public static final String ATTRIBUTE_KEY
See Also:
Constant Field Values
Constructor Detail

HTMLTag

public HTMLTag(org.dom4j.Element element,
               String name)

HTMLTag

public HTMLTag(String name)
Method Detail

isEolBeforeStartTag

public boolean isEolBeforeStartTag()
                            throws Exception
Throws:
Exception

isEolAfterStartTag

public boolean isEolAfterStartTag()
                           throws Exception
Throws:
Exception

isEolBeforeEndTag

public boolean isEolBeforeEndTag()
                          throws Exception
Throws:
Exception

isEolAfterEndTag

public boolean isEolAfterEndTag()
                         throws Exception
Throws:
Exception

isEnabled

public boolean isEnabled()
                  throws Exception
Throws:
Exception

getAttribute

public HTMLAttribute getAttribute(Object name)
                           throws Exception
Throws:
Exception

getName

public String getName()
               throws Exception
Throws:
Exception


Copyright © 2014. All rights reserved.