|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface should be implemented by parser classes which can deal
with parsing to/from Content objects.
Method Summary | |
boolean |
canParse(java.lang.String content)
Determines if the Parser implementation can parse the given content |
java.lang.String |
deparse(Content content)
This method converts a Content object into a document which is of a format determined by the Parser implementation. |
java.lang.String |
getParserType()
Returns the type of content language that the Parser implementation handles. |
Content |
parse(java.lang.String content)
This method converts a content String into a set of Content objects |
Method Detail |
public java.lang.String deparse(Content content) throws ParserException
content
- The Content object to deparsepublic Content parse(java.lang.String content) throws ParserException
content
- The String to parse into Content objectspublic boolean canParse(java.lang.String content)
A
- content String.public java.lang.String getParserType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |