Tag.Simple
Constructor and Description |
---|
Tag.Simple(String label,
Level level)
Public ctor.
|
Tag.Simple(String label,
Level level,
Map<String,String> map,
String txt)
Public ctor.
|
public Tag.Simple(String label, Level level)
label
- Labellevel
- Levelpublic Tag.Simple(@NotNull(message="label can\'t be NULL") String label, @NotNull(message="level can\'t be NULL") Level level, @NotNull(message="map of attributes can\'t be NULL") Map<String,String> map, @NotNull(message="markdown can\'t be NULL") String txt)
label
- Label of itlevel
- Level of tagmap
- Map of attributestxt
- Markdown details@NotNull(message="label is never NULL") public String label()
Tag
@NotNull(message="level is never NULL") public Level level()
Tag
@NotNull(message="map of attributes is never NULL") public Map<String,String> attributes()
Tag
attributes
in interface Tag
Copyright © 2009–2014 Rultor Inc.. All rights reserved.