Struct xpcom::interfaces::nsIDOMProcessingInstruction
[−]
[src]
#[repr(C)]pub struct nsIDOMProcessingInstruction { /* fields omitted */ }
interface nsIDOMProcessingInstruction : nsIDOMCharacterData
Methods
impl nsIDOMProcessingInstruction
[src]
pub fn coerce<T: nsIDOMProcessingInstructionCoerce>(&self) -> &T
[src]
Cast this nsIDOMProcessingInstruction
to one of its base interfaces.
impl nsIDOMProcessingInstruction
[src]
pub unsafe fn GetTarget(&self, aTarget: &mut nsAString) -> nsresult
[src]
/**
* The nsIDOMProcessingInstruction interface represents a
* "processing instruction", used in XML as a way to keep processor-specific
* information in the text of the document.
*
* For more information on this interface please see
* http://www.w3.org/TR/DOM-Level-2-Core/ and
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
readonly attribute DOMString target;
Methods from Deref<Target = nsIDOMCharacterData>
pub fn coerce<T: nsIDOMCharacterDataCoerce>(&self) -> &T
[src]
Cast this nsIDOMCharacterData
to one of its base interfaces.
pub unsafe fn GetData(&self, aData: &mut nsAString) -> nsresult
[src]
/**
* The nsIDOMCharacterData interface extends nsIDOMNode with a set of
* attributes and methods for accessing character data in the DOM.
*
* For more information on this interface please see
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
attribute DOMString data;
pub unsafe fn SetData(&self, aData: &nsAString) -> nsresult
[src]
/**
* The nsIDOMCharacterData interface extends nsIDOMNode with a set of
* attributes and methods for accessing character data in the DOM.
*
* For more information on this interface please see
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
attribute DOMString data;
pub unsafe fn GetLength(&self, aLength: *mut uint32_t) -> nsresult
[src]
readonly attribute unsigned long length;
pub unsafe fn SubstringData(
&self,
offset: uint32_t,
count: uint32_t,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
offset: uint32_t,
count: uint32_t,
_retval: &mut nsAString
) -> nsresult
DOMString substringData (in unsigned long offset, in unsigned long count) raises (DOMException);
pub unsafe fn AppendData(&self, arg: &nsAString) -> nsresult
[src]
void appendData (in DOMString arg) raises (DOMException);
pub unsafe fn InsertData(&self, offset: uint32_t, arg: &nsAString) -> nsresult
[src]
void insertData (in unsigned long offset, in DOMString arg) raises (DOMException);
pub unsafe fn DeleteData(&self, offset: uint32_t, count: uint32_t) -> nsresult
[src]
void deleteData (in unsigned long offset, in unsigned long count) raises (DOMException);
pub unsafe fn ReplaceData(
&self,
offset: uint32_t,
count: uint32_t,
arg: &nsAString
) -> nsresult
[src]
&self,
offset: uint32_t,
count: uint32_t,
arg: &nsAString
) -> nsresult
void replaceData (in unsigned long offset, in unsigned long count, in DOMString arg) raises (DOMException);
Trait Implementations
impl XpCom for nsIDOMProcessingInstruction
[src]
const IID: nsIID
IID: nsIID = nsID(1511235063, 1232, 17293, [189, 24, 216, 18, 37, 100, 37, 143])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[src]
Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more
impl RefCounted for nsIDOMProcessingInstruction
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIDOMProcessingInstruction
[src]
type Target = nsIDOMCharacterData
The resulting type after dereferencing.
fn deref(&self) -> &nsIDOMCharacterData
[src]
Dereferences the value.