Package org.openprovenance.prov.notation
Class HTMLConstructor
- java.lang.Object
-
- org.openprovenance.prov.notation.NotationConstructor
-
- org.openprovenance.prov.notation.HTMLConstructor
-
- All Implemented Interfaces:
ModelConstructor,ModelConstructorExtension
public class HTMLConstructor extends NotationConstructor
-
-
Field Summary
-
Fields inherited from class org.openprovenance.prov.notation.NotationConstructor
MARKER, standaloneExpression
-
-
Constructor Summary
Constructors Constructor Description HTMLConstructor(Writer writer)
-
Method Summary
Modifier and Type Method Description Stringbreakline()ObjectconvertAttribute(Object name, Object value)ObjectconvertEnd(String end)ObjectconvertId(String id)ObjectconvertInt(int i)ObjectconvertIRI(String iri)ObjectconvertQualifiedName(String qualifedName)ObjectconvertStart(String start)ObjectconvertString(String s)ObjectconvertTypedLiteral(String datatype, Object value)Stringkeyword(String s)ObjectnewActivity(QualifiedName id, XMLGregorianCalendar startTime, XMLGregorianCalendar endTime, List<Attribute> aAttrs)ObjectnewEntity(QualifiedName id, List<Attribute> attrs)Objectoptional(Object str)Objectoptional2(Object str)StringoptionalId(Object id)StringoptionalTime(Object time)Stringshowlocal(String s, String prefix)Stringshowprefix(String s)Stringshowuri(String s)Stringsymbol(String s)-
Methods inherited from class org.openprovenance.prov.notation.NotationConstructor
close, convertDefaultNamespace, convertExtension, convertNamespace, flush, idOrMarker, newActedOnBehalfOf, newActivity, newAgent, newAlternateOf, newDerivedByInsertionFrom, newDerivedByRemovalFrom, newDictionaryMembership, newDocument, newEntity, newHadMember, newMentionOf, newNamedBundle, newQualifiedAlternateOf, newQualifiedHadMember, newQualifiedName, newQualifiedName, newQualifiedSpecializationOf, newSpecializationOf, newUsed, newWasAssociatedWith, newWasAttributedTo, newWasDerivedFrom, newWasEndedBy, newWasGeneratedBy, newWasInfluencedBy, newWasInformedBy, newWasInvalidatedBy, newWasStartedBy, optionalAttributes, processNamespaces, startBundle, startDocument, timeOrMarker, write, writeln, writeOptionalAttributes
-
-
-
-
Constructor Detail
-
HTMLConstructor
public HTMLConstructor(Writer writer)
-
-
Method Detail
-
keyword
public String keyword(String s)
- Overrides:
keywordin classNotationConstructor
-
symbol
public String symbol(String s)
- Overrides:
symbolin classNotationConstructor
-
showprefix
public String showprefix(String s)
- Overrides:
showprefixin classNotationConstructor
-
breakline
public String breakline()
- Overrides:
breaklinein classNotationConstructor
-
showuri
public String showuri(String s)
- Overrides:
showuriin classNotationConstructor
-
convertInt
public Object convertInt(int i)
-
newActivity
public Object newActivity(QualifiedName id, XMLGregorianCalendar startTime, XMLGregorianCalendar endTime, List<Attribute> aAttrs)
-
newEntity
public Object newEntity(QualifiedName id, List<Attribute> attrs)
-
-