/** * Specifies that type {@code extendedType} can contain arbitrary XML. * * @param extendedType the type being declared for * @param mixedContent if true, permit mixed content in the arbitrary XML. */ public synchronized void declareArbitraryXmlExtension( Class<? extends ExtensionPoint> extendedType, boolean mixedContent) { ExtensionManifest manifest = getOrCreateManifest(extendedType); manifest.arbitraryXml = true; manifest.mixedContent = mixedContent; // Propagate the arbitrary xml declaration to any profiled subtypes. for(ExtensionManifest subclassManifest : manifest.subclassManifests) { subclassManifest.arbitraryXml = true; subclassManifest.mixedContent = mixedContent; } profile.put(extendedType, manifest); nsDecls = null; }
/** * Specifies that type {@code extendedType} can contain arbitrary XML. * * @param extendedType the type being declared for * @param mixedContent if true, permit mixed content in the arbitrary XML. */ public synchronized void declareArbitraryXmlExtension( Class<? extends ExtensionPoint> extendedType, boolean mixedContent) { ExtensionManifest manifest = getOrCreateManifest(extendedType); manifest.arbitraryXml = true; manifest.mixedContent = mixedContent; // Propagate the arbitrary xml declaration to any profiled subtypes. for(ExtensionManifest subclassManifest : manifest.subclassManifests) { subclassManifest.arbitraryXml = true; subclassManifest.mixedContent = mixedContent; } profile.put(extendedType, manifest); nsDecls = null; }
/** * Specifies that type {@code extendedType} can contain arbitrary XML. * * @param extendedType the type being declared for * @param mixedContent if true, permit mixed content in the arbitrary XML. */ public synchronized void declareArbitraryXmlExtension( Class<? extends ExtensionPoint> extendedType, boolean mixedContent) { ExtensionManifest manifest = getOrCreateManifest(extendedType); manifest.arbitraryXml = true; manifest.mixedContent = mixedContent; // Propagate the arbitrary xml declaration to any profiled subtypes. for(ExtensionManifest subclassManifest : manifest.subclassManifests) { subclassManifest.arbitraryXml = true; subclassManifest.mixedContent = mixedContent; } profile.put(extendedType, manifest); nsDecls = null; }
ExtensionManifest manifest = getOrCreateManifest(extendedType); profile.put(extendedType, manifest); Class<? extends ExtensionPoint> extType = (Class<? extends ExtensionPoint>) extDescription.getExtensionClass(); ExtensionManifest extManifest = getOrCreateManifest(extType); profile.put(extType, extManifest); declareArbitraryXmlExtension(extType, extDescription.allowsMixedContent());
ExtensionManifest manifest = getOrCreateManifest(extendedType); profile.put(extendedType, manifest); Class<? extends ExtensionPoint> extType = (Class<? extends ExtensionPoint>) extDescription.getExtensionClass(); ExtensionManifest extManifest = getOrCreateManifest(extType); profile.put(extType, extManifest); declareArbitraryXmlExtension(extType, extDescription.allowsMixedContent());
ExtensionManifest manifest = getOrCreateManifest(extendedType); profile.put(extendedType, manifest); Class<? extends ExtensionPoint> extType = (Class<? extends ExtensionPoint>) extDescription.getExtensionClass(); ExtensionManifest extManifest = getOrCreateManifest(extType); profile.put(extType, extManifest); declareArbitraryXmlExtension(extType, extDescription.allowsMixedContent());