A tagging system (like html), support on the model please
-
Hi, I'm modeling a tagging system, like my own html, for an application... and this is what I have till now: class Tag: +Tag(string) //example new Tag("<i>...</i> ... <s>...</s>") +string Name //for example "b" (for a tag which is used like <b>..</b>) +string Content //example "<i>...</i> ... <s>...</s>" +Tag[] Tags //the subtags used within the content of the tag, in the example above it would return the tags t1 and t2 (i and s) But i need more ideas before getting into the code so I dont get a headache within the process Thanks.
-
Hi, I'm modeling a tagging system, like my own html, for an application... and this is what I have till now: class Tag: +Tag(string) //example new Tag("<i>...</i> ... <s>...</s>") +string Name //for example "b" (for a tag which is used like <b>..</b>) +string Content //example "<i>...</i> ... <s>...</s>" +Tag[] Tags //the subtags used within the content of the tag, in the example above it would return the tags t1 and t2 (i and s) But i need more ideas before getting into the code so I dont get a headache within the process Thanks.
Also somehow I need to have a list of possible tags, for the parsing -private- method.. Maybe another class, TagAnalyzer?