fr.paris.lutece.plugins.newsletter.util
Class HtmlDomDocNewsletter.ElementUrl

java.lang.Object
  extended by fr.paris.lutece.plugins.newsletter.util.HtmlDomDocNewsletter.ElementUrl
Enclosing class:
HtmlDomDocNewsletter

protected static class HtmlDomDocNewsletter.ElementUrl
extends Object

provide a description for the HTML elements to be parsed


Constructor Summary
HtmlDomDocNewsletter.ElementUrl(String strTagName, String strAttributeName, String strTestedAttributeName, String strTestedAttributeValue)
          Instanciates an ElementUrl
 
Method Summary
 String getAttributeName()
          Returns the attributeName
 String getTagName()
          Returns the tagName
 String getTestedAttributeName()
          Returns the testedAttributeName
 String getTestedAttributeValue()
          Returns the testedAttributeValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlDomDocNewsletter.ElementUrl

public HtmlDomDocNewsletter.ElementUrl(String strTagName,
                                       String strAttributeName,
                                       String strTestedAttributeName,
                                       String strTestedAttributeValue)
Instanciates an ElementUrl

Parameters:
strTagName - the tag name to get (example: link, script, img, ...)
strAttributeName - the attribute name to get (example: src, href, ...)
strTestedAttributeName - the attribute name to test
strTestedAttributeValue - 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.
Method Detail

getAttributeName

public String getAttributeName()
Returns the attributeName

Returns:
the attributeName

getTagName

public String getTagName()
Returns the tagName

Returns:
the tagName

getTestedAttributeName

public String getTestedAttributeName()
Returns the testedAttributeName

Returns:
the testedAttributeName

getTestedAttributeValue

public String getTestedAttributeValue()
Returns the testedAttributeValue

Returns:
the testedAttributeValue


Copyright © 2013 Mairie de Paris. All Rights Reserved.