|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mkdoc.sax.AbstractContentHandler | +--com.mkdoc.sax.AbstractRdfContentHandler | +--com.mkdoc.sax.AbstractTripleWriter | +--com.mkdoc.sax.XhtmlTripleWriter
A composite XHTML metadata triple writer.
Field Summary |
Fields inherited from class com.mkdoc.sax.AbstractTripleWriter |
manager, out |
Fields inherited from class com.mkdoc.sax.AbstractRdfContentHandler |
DC_PREFIX, DCTERMS_URI, NODE_PREFIX, NODE_SUFFIX, NS_XHTML1, profile, RDF_TYPE, RDF_VALUE, subject, URI_SCHEMES |
Fields inherited from class com.mkdoc.sax.AbstractContentHandler |
locator |
Constructor Summary | |
XhtmlTripleWriter(FileStoreManager manager,
java.net.URL url)
Construct with a subject manager and initial URI. |
Method Summary | |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
Extract metadata from meta and link elements. |
Methods inherited from class com.mkdoc.sax.AbstractTripleWriter |
endDocument, startDocument |
Methods inherited from class com.mkdoc.sax.AbstractRdfContentHandler |
escape, expandPredicate, expandPredicates, expandScheme, getBNode, getBNodeId, getSubject, isUri, setApplicationProfile, setSubject |
Methods inherited from class com.mkdoc.sax.AbstractContentHandler |
characters, endElement, endPrefixMapping, getAttributeValue, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xml.sax.ContentHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping |
Constructor Detail |
public XhtmlTripleWriter(FileStoreManager manager, java.net.URL url)
manager
- A subject manager interface to write the triples to.url
- An initial URI subject.Method Detail |
public final void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
meta
and link
elements.
startElement
in interface org.xml.sax.ContentHandler
startElement
in class AbstractContentHandler
uri
- The namespace URI for the element.localName
- The local element name.qName
- The qualified element name.attributes
- A set of attributes.
org.xml.sax.SAXException
- If the element is not
a meta
element.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |