public class TimerMetaDataParser extends AbstractMetaDataParser<TimerMetaData>
MetaDataElementParser.DTDInfo
Modifier and Type | Field and Description |
---|---|
static TimerMetaDataParser |
INSTANCE |
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
TimerMetaDataParser() |
Modifier and Type | Method and Description |
---|---|
TimerMetaData |
parse(XMLStreamReader reader,
PropertyReplacer propertyReplacer)
Creates and returns
TimerMetaData |
protected void |
processElement(TimerMetaData timer,
XMLStreamReader reader,
PropertyReplacer propertyReplacer)
Parses the child elements of the <timer> element and updates the passed
TimerMetaData accordingly. |
processElements
attributeHasNamespace, consumeElementContent, duplicateNamedElement, equals, getElementText, getElementText, getElementText, getElementText, hashCode, missingRequired, missingRequiredElement, parseQName, readBooleanAttributeElement, readDTDLocation, readSchemaLocation, readStringAttributeElement, requireNoAttributes, requireNoContent, safeCopyMap, unexpectedAttribute, unexpectedElement, unexpectedValue
public static final TimerMetaDataParser INSTANCE
public TimerMetaData parse(XMLStreamReader reader, PropertyReplacer propertyReplacer) throws XMLStreamException
TimerMetaData
parse
in class AbstractMetaDataParser<TimerMetaData>
reader
- XMLStreamException
protected void processElement(TimerMetaData timer, XMLStreamReader reader, PropertyReplacer propertyReplacer) throws XMLStreamException
TimerMetaData
accordingly.processElement
in class AbstractMetaDataParser<TimerMetaData>
timer
- The metadata to update while parsingreader
- XMLStreamException
Copyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.