Interface ElementExtensibleXMLObject

    • Method Detail

      • getUnknownXMLObjects

        @Nonnull
        List<XMLObject> getUnknownXMLObjects()
        Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.
        Returns:
        list of XMLObjects added to this XMLObject as part of the "any" content model
      • getUnknownXMLObjects

        @Nonnull
        List<XMLObject> getUnknownXMLObjects​(@Nonnull
                                             QName typeOrName)
        Gets the list of XMLObjects added to this XMLObject as part of the "any" content model, and which match the specified QName.
        Parameters:
        typeOrName - the QName of the statements to return
        Returns:
        list of XMLObjects added to this XMLObject as part of the "any" content model TODO: think this should be typed List<? extends XMLObject>