@Override public void handleStandaloneElement(final IStandaloneElementTag standaloneElementTag) { this.events.add(StandaloneElementTag.asEngineStandaloneElementTag(standaloneElementTag)); // The engine event we might have created is not forwarded - this makes cache creating transparent to the handler chain super.handleStandaloneElement(standaloneElementTag); }
private IStandaloneElementTag setAttribute(final IStandaloneElementTag standaloneElementTag, final String attributeName, final String attributeValue) { if (!(standaloneElementTag instanceof StandaloneElementTag)) { return setAttribute(StandaloneElementTag.asEngineStandaloneElementTag(standaloneElementTag), attributeName, attributeValue); } return ((StandaloneElementTag) standaloneElementTag).setAttribute(this.attributeDefinitions, null, attributeName, attributeValue, null); }
private IStandaloneElementTag replaceAttribute(final IStandaloneElementTag standaloneElementTag, final AttributeName oldAttributeName, final String attributeName, final String attributeValue) { if (!(standaloneElementTag instanceof StandaloneElementTag)) { return replaceAttribute(StandaloneElementTag.asEngineStandaloneElementTag(standaloneElementTag), oldAttributeName, attributeName, attributeValue); } return ((StandaloneElementTag) standaloneElementTag).replaceAttribute(this.attributeDefinitions, oldAttributeName, null, attributeName, attributeValue, null); }
private IStandaloneElementTag removeAttribute(final IStandaloneElementTag standaloneElementTag, final AttributeName attributeName) { if (!(standaloneElementTag instanceof StandaloneElementTag)) { return removeAttribute(StandaloneElementTag.asEngineStandaloneElementTag(standaloneElementTag), attributeName); } return ((StandaloneElementTag) standaloneElementTag).removeAttribute(attributeName); }
private IStandaloneElementTag setAttribute(final IStandaloneElementTag standaloneElementTag, final String attributeName, final String attributeValue, final AttributeValueQuotes attributeValueQuotes) { if (!(standaloneElementTag instanceof StandaloneElementTag)) { return setAttribute(StandaloneElementTag.asEngineStandaloneElementTag(standaloneElementTag), attributeName, attributeValue, attributeValueQuotes); } return ((StandaloneElementTag) standaloneElementTag).setAttribute(this.attributeDefinitions, null, attributeName, attributeValue, attributeValueQuotes); }
private IStandaloneElementTag replaceAttribute(final IStandaloneElementTag standaloneElementTag, final AttributeName oldAttributeName, final String attributeName, final String attributeValue, final AttributeValueQuotes attributeValueQuotes) { if (!(standaloneElementTag instanceof StandaloneElementTag)) { return replaceAttribute(StandaloneElementTag.asEngineStandaloneElementTag(standaloneElementTag), oldAttributeName, attributeName, attributeValue, attributeValueQuotes); } return ((StandaloneElementTag) standaloneElementTag).replaceAttribute(this.attributeDefinitions, oldAttributeName, null, attributeName, attributeValue, attributeValueQuotes); }
private IStandaloneElementTag removeAttribute(final IStandaloneElementTag standaloneElementTag, final String attributeName) { if (!(standaloneElementTag instanceof StandaloneElementTag)) { return removeAttribute(StandaloneElementTag.asEngineStandaloneElementTag(standaloneElementTag), attributeName); } return ((StandaloneElementTag) standaloneElementTag).removeAttribute(attributeName); }
private IStandaloneElementTag removeAttribute(final IStandaloneElementTag standaloneElementTag, final String prefix, final String name) { if (!(standaloneElementTag instanceof StandaloneElementTag)) { return removeAttribute(StandaloneElementTag.asEngineStandaloneElementTag(standaloneElementTag), prefix, name); } return ((StandaloneElementTag) standaloneElementTag).removeAttribute(prefix, name); }
return StandaloneElementTag.asEngineStandaloneElementTag((IStandaloneElementTag) event);
StandaloneElementTag standaloneElementTag = StandaloneElementTag.asEngineStandaloneElementTag(istandaloneElementTag);