Class SemanticAnnotationsEditionHandler.SemanticAnnotationsHolder
- java.lang.Object
-
- org.ametys.cms.transformation.htmledition.SemanticAnnotationsEditionHandler.SemanticAnnotationsHolder
-
- Enclosing class:
- SemanticAnnotationsEditionHandler
private class SemanticAnnotationsEditionHandler.SemanticAnnotationsHolder extends Object
A placeholder for saxedSemanticAnnotations Maintains a list of the saxedSemanticAnnotations. Dispatch SAX events to each saxedSemanticAnnotation.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ModifiableRichText
_richText
private List<SemanticAnnotationsEditionHandler.AbstractSaxedSemanticAnnotation>
_saxedSemanticAnnotations
-
Constructor Summary
Constructors Constructor Description SemanticAnnotationsHolder(ModifiableRichText richText)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
endElement()
void
newSaxedSemanticAnnotation(String annotationName)
Add a new semantic annotation in the holdervoid
startElement()
-
-
-
Field Detail
-
_richText
final ModifiableRichText _richText
-
_saxedSemanticAnnotations
private final List<SemanticAnnotationsEditionHandler.AbstractSaxedSemanticAnnotation> _saxedSemanticAnnotations
-
-
Constructor Detail
-
SemanticAnnotationsHolder
public SemanticAnnotationsHolder(ModifiableRichText richText)
-
-
Method Detail
-
startElement
public void startElement()
-
endElement
public void endElement() throws SAXException
- Throws:
SAXException
-
characters
public void characters(char[] ch, int start, int length)
-
newSaxedSemanticAnnotation
public void newSaxedSemanticAnnotation(String annotationName)
Add a new semantic annotation in the holder- Parameters:
annotationName
- The name of the semantic annotation
-
-