| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class provides mechanisms for parsing/deparsing RDF to/from
Content object containers, using SiRPACHandler
If the system property fipaos.parser.xmlparser is set, the classname
it contains will be used as an XML parser (providing it uses the SAX
1.0 interface).
Inner Class Summary | |
public class | RDFContentHandler.RDFDocument |
Field Summary | |
final static String | ENDTAG |
final static String | FOOTER |
final static String | HEADER |
final static String | PARSE_TYPE_LITERAL |
final static String | RDF |
final static String | RDF_HEADER |
final static String | RDFABOUT |
final static String | RDFNAME |
final static String | RDFRESOURCE |
final static String | RDFS |
final static String | RDFSCHEMA |
final static String | RDFSNAME |
final static String | RDFSYNTAX |
final static String | STARTTAG |
final static String | XMLNS |
Constructor Summary | |
RDFContentHandler() Initialises the Parser, ready to parse and deparse RDF documents |
Method Summary | |
boolean | canParse(String content) Determines if the Parser implementation can parse the given content |
String | deparse(Content content) Attempts to deparse the given content, and produce a RDF document to represent it. |
String | getParserType() Returns the type of content language that the Parser implementation handles. |
LinkedList | getTriples(LinkedList array_of_triples, Content content) |
static boolean | isRDF(String content) |
static void | main(String[] args) |
Content | parse(String content) Attempts to parse the given content, and produce a Content object to represent it. |
Field Detail |
public final static String ENDTAG
public final static String FOOTER
public final static String HEADER
public final static String PARSE_TYPE_LITERAL
public final static String RDF
public final static String RDF_HEADER
public final static String RDFABOUT
public final static String RDFNAME
public final static String RDFRESOURCE
public final static String RDFS
public final static String RDFSCHEMA
public final static String RDFSNAME
public final static String RDFSYNTAX
public final static String STARTTAG
public final static String XMLNS
Constructor Detail |
public RDFContentHandler()
Method Detail |
public boolean canParse(String content)
public String deparse(Content content)
public String getParserType()
public LinkedList getTriples(LinkedList array_of_triples, Content content)
public static boolean isRDF(String content)
public static void main(String[] args)
throws java.io.IOException
public Content parse(String content)
Association Links |
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class fipaos.parser.rdf.RDFContentHandler.RDFDocument
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |