protected static class HtmlDomDocNewsletter.ElementUrl extends Object
| Constructor and Description |
|---|
HtmlDomDocNewsletter.ElementUrl(String strTagName,
String strAttributeName,
String strTestedAttributeName,
String strTestedAttributeValue)
Instanciates an ElementUrl
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeName()
Returns the attributeName
|
String |
getTagName()
Returns the tagName
|
String |
getTestedAttributeName()
Returns the testedAttributeName
|
String |
getTestedAttributeValue()
Returns the testedAttributeValue
|
public HtmlDomDocNewsletter.ElementUrl(String strTagName, String strAttributeName, String strTestedAttributeName, String strTestedAttributeValue)
strTagName - the tag name to get (example: link, script, img,
...)strAttributeName - the attribute name to get (example: src,
href, ...)strTestedAttributeName - the attribute name to teststrTestedAttributeValue - the value of the attribute to test :
if the value of the attribute strTestedAttributeName
equals
strTestedAttributeValue, then we get the element's url,
else we do nothing.public String getAttributeName()
public String getTagName()
public String getTestedAttributeName()
public String getTestedAttributeValue()
Copyright © 2014 Mairie de Paris. All rights reserved.