se.unlogic.standardutils.string
Class SingleTagSource

java.lang.Object
  extended by se.unlogic.standardutils.string.SingleTagSource
All Implemented Interfaces:
TagSource

public class SingleTagSource
extends Object
implements TagSource


Field Summary
protected  Set<String> tags
           
protected  String value
           
 
Constructor Summary
protected SingleTagSource(Set<String> tags, String value)
           
  SingleTagSource(String tag, String value)
           
 
Method Summary
 Set<String> getTags()
           
 String getTagValue(String tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tags

protected Set<String> tags

value

protected String value
Constructor Detail

SingleTagSource

protected SingleTagSource(Set<String> tags,
                          String value)

SingleTagSource

public SingleTagSource(String tag,
                       String value)
Method Detail

getTags

public Set<String> getTags()
Specified by:
getTags in interface TagSource

getTagValue

public String getTagValue(String tag)
Specified by:
getTagValue in interface TagSource


Copyright © 2011. All Rights Reserved.