Class: XSD::Selector
- Inherits:
-
BaseObject
- Object
- BaseObject
- XSD::Selector
- Defined in:
- lib/xsd/objects/selector.rb
Overview
The selector element specifies an XPath expression that selects a set of elements for an identity constraint (unique, key, and keyref elements). Parent elements: key, keyref, unique www.w3schools.com/xml/el_selector.asp
Constant Summary
Constants inherited from BaseObject
BaseObject::NO_ATTRIBUTES_CONTAINER, BaseObject::NO_ELEMENTS_CONTAINER, BaseObject::XML_SCHEMA
Instance Attribute Summary collapse
-
#xpath ⇒ Object
Required.
Attributes inherited from BaseObject
Method Summary
Methods inherited from BaseObject
#[], #collect_attributes, #collect_elements, #documentation, #documentation_for, #get_prefix, #initialize, #inspect, #map_child, #map_children, #namespaces, #node, #node_to_object, #nodes, #object_by_name, #parent, #reader, #schema, #schemas_for_namespace, #strip_prefix
Constructor Details
This class inherits a constructor from XSD::BaseObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class XSD::BaseObject
Instance Attribute Details
#xpath ⇒ Object
Required. Specifies an XPath expression, relative to the element being declared, that identifies the child elements to which the identity constraint applies
13 |
# File 'lib/xsd/objects/selector.rb', line 13 property :xpath, :string, required: true |