netcharts.util
Class NFHtmlTag
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--netcharts.util.NFHtmlTag
- public class NFHtmlTag
This class is used to represent the contents of an HTML tag
as a hashtable of attribute names and values.
- See Also:
- Serialized Form
| Field Summary |
| java.lang.String |
name
Tag Name |
| java.lang.String |
original
Tag String Parsed |
| Constructor Summary |
NFHtmlTag()
Create a new object for this class. |
| Method Summary |
| static NFHtmlTag |
parse(java.lang.StringBuffer str)
Parse the given string, which may or may not include the outer
brackets '<' '>', and determine the names and values of all
attributes. |
| static NFHtmlTag |
parse(java.lang.StringBuffer str,
NFHtmlTag tag)
Parse the given string, which should not include brackets '<'
'>', and determine the names and values of all attributes. |
name
public java.lang.String name
- Tag Name
original
public java.lang.String original
- Tag String Parsed
NFHtmlTag
public NFHtmlTag()
- Create a new object for this class.
parse
public static NFHtmlTag parse(java.lang.StringBuffer str)
- Parse the given string, which may or may not include the outer
brackets '<' '>', and determine the names and values of all
attributes. All attribute names are stored as keys in the
NFHtmlTag as lowercase.
This method creates a new object and returns it.
- Parameters:
str
- The buffer to parse.- Returns:
- A new NFHtmlTag.
parse
public static NFHtmlTag parse(java.lang.StringBuffer str,
NFHtmlTag tag)
- Parse the given string, which should not include brackets '<'
'>', and determine the names and values of all attributes. All
attributes found are appended to the given NFHtmlTag using lowercase
keys. If <tag> is null, a new NFHtmlTag will be created.
This method returns the NFHtmlTag provided as input.
- Parameters:
str
- The buffer to parse.
tag
- The NFHtmlTag to append to.- Returns:
- A new NFHtmlTag.
Visual Mining, Inc. 2099 Gaither Grove Rd. Suite 220 Rockville, MD 20850 800.308.0731 301.947.8293 FAX | | Copyright © Visual Mining, Inc. 1996 - 2010 All Rights Reserved. NetCharts ProTM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders. |
Last Modified: Jun 29, 2010 |