Lines Matching defs:storage
56 public void marshal(final PolicySourceModel model, final Object storage) throws PolicyException {
57 if (storage instanceof StaxSerializer) {
58 marshal(model, (StaxSerializer) storage);
59 } else if (storage instanceof TypedXmlWriter) {
60 marshal(model, (TypedXmlWriter) storage);
61 } else if (storage instanceof XMLStreamWriter) {
62 marshal(model, (XMLStreamWriter) storage);
64 throw LOGGER.logSevereException(new PolicyException(LocalizationMessages.WSP_0022_STORAGE_TYPE_NOT_SUPPORTED(storage.getClass().getName())));
68 public void marshal(final Collection<PolicySourceModel> models, final Object storage) throws PolicyException {
70 marshal(model, storage);