JDOM: Convert Content to Document



I tried to cast a Content variable to Document:



(Document)document


and got "Cannot cast from Content to Document". also tried:



new Document(document))


but got: "the constructor Document(Content) is undefined"


No comments:

Post a Comment