Uses of Class
org.jvnet.hk2.config.Dom
Packages that use Dom
-
Uses of Dom in org.jvnet.hk2.config
Classes in org.jvnet.hk2.config with type parameters of type DomModifier and TypeInterfaceDescriptioninterfaceDomDecorator<T extends Dom>classDomDocument<T extends Dom>Represents a whole DOM tree.Subclasses of Dom in org.jvnet.hk2.configModifier and TypeClassDescriptionclassConfigBean is the core implementation of the config beans.Methods in org.jvnet.hk2.config with type parameters of type DomModifier and TypeMethodDescriptionprotected <T extends Dom>
TConfigBean.copy(T parent) Returns a copy of itself providing the parent for the new copy.protected <T extends Dom>
TDom.copy(T parent) Returns a copy of itself providing the parent for the new copy.Methods in org.jvnet.hk2.config that return DomModifier and TypeMethodDescriptionDomDecorator.decorate(org.glassfish.hk2.api.ServiceLocator habitat, DomDocument document, T parent, ConfigModel model, XMLStreamReader in) Returns the child element by nameDomDocument.getRoot()Dom.getSymbolSpaceRoot(String typeName) Locates the DOM that serves as the symbol space root.protected DomConfigParser.handleElement(XMLStreamReader in, DomDocument document, Dom parent) Parses a whole XML tree and builds aDomtree.protected DomConfigParser.handleElement(XMLStreamReader in, DomDocument document, Dom parent, ConfigModel model) Parses a whole XML tree and builds aDomtree, by using the given model for the top-level element.DomDocument.make(org.glassfish.hk2.api.ServiceLocator habitat, XMLStreamReader in, T parent, ConfigModel model) Dom.nodeElement(String name) Picks up one node-element value.Dom.parent()If this DOM is a child of another DOM, the parent pointer.Dom.resolveReference(String key, String typeName) Recursively decends the DOM tree and finds a DOM that has the given key and the type name.protected final DomCoerce the given type toDom.static DomDom.unwrap(ConfigBeanProxy proxy) Unwraps the proxy and returns the underlyingDomobject.Methods in org.jvnet.hk2.config that return types with arguments of type DomModifier and TypeMethodDescriptionDom.domNodeByTypeElements(Class baseType) Picks up all node elements that are assignable to the given type, except those who are matched by other named elements in the model.Dom.nodeElements(String elementName) Picks up all node-elements that have the given element name.Methods in org.jvnet.hk2.config with parameters of type DomModifier and TypeMethodDescriptionabstract ObjectGets the value fromDomin the specified type.protected DomConfigParser.handleElement(XMLStreamReader in, DomDocument document, Dom parent) Parses a whole XML tree and builds aDomtree.protected DomConfigParser.handleElement(XMLStreamReader in, DomDocument document, Dom parent, ConfigModel model) Parses a whole XML tree and builds aDomtree, by using the given model for the top-level element.abstract voidReads values fromDomand inject them into the given target object.voidabstract voidConfigInjector.injectAttribute(Dom dom, String attributeName, T target) Injects a single property of the given attribute name.voidNoopConfigInjector.injectAttribute(Dom dom, String attributeName, Object target) abstract voidConfigInjector.injectElement(Dom dom, String elementName, T target) Injects a single property of the given element name.voidNoopConfigInjector.injectElement(Dom dom, String elementName, Object target) voidDom.insertAfter(Dom reference, String name, Dom newNode) Inserts a newDomnode right after the given DOM element.ConfigParser.parse(URL source, DomDocument document, Dom parent) voidConfigParser.parse(XMLStreamReader in, DomDocument document, Dom parent) final <T> TResolves a reference to the given type by the given id.voidDom.removeChild(Dom reference) Removes an existingDom.NodeChildvoidDom.replaceChild(Dom reference, String name, Dom newNode) Replaces an existingDom.NodeChildwith another one.abstract voidSets the value toDom.voidDom.setNodeElements(String name, Dom... values) Updates node-element values.Constructors in org.jvnet.hk2.config with parameters of type DomModifierConstructorDescriptionConfigBean(Dom source, Dom parent) Copy constructor, used to get a deep copy of the passed instance.Dom(org.glassfish.hk2.api.ServiceLocator habitat, DomDocument document, Dom parent, ConfigModel model) Dom(org.glassfish.hk2.api.ServiceLocator habitat, DomDocument document, Dom parent, ConfigModel model, XMLStreamReader in) Copy constructor, used to get a deep copy of the passed instanceDomDescriptor(Dom theDom, Set<Type> advertisedContracts, Class<? extends Annotation> scope, String name, Set<Annotation> qualifiers) Creates the constant descriptor