fi.hut.tml.xsmiles.dom
Class XSmilesPI

java.lang.Object
  extended byfi.hut.tml.xsmiles.dom.XSmilesPI

public class XSmilesPI
extends java.lang.Object

This is a class, which encapsulates the different types of processing instructions in X-Smiles. Currently it can be an XForms document or a plain XSLT stylesheet.

Author:
Juha

Constructor Summary
XSmilesPI(org.w3c.dom.ProcessingInstruction pi, java.lang.String t, java.net.URL h)
          The constructor get the node, and it gets the title of the PI
 
Method Summary
 java.net.URL getHREF()
           
 org.w3c.dom.ProcessingInstruction getPINode()
           
 java.lang.String getTitle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSmilesPI

public XSmilesPI(org.w3c.dom.ProcessingInstruction pi,
                 java.lang.String t,
                 java.net.URL h)
The constructor get the node, and it gets the title of the PI

Parameters:
pi - ProcessingInstruction
t - Type
h - href to target
Method Detail

getTitle

public java.lang.String getTitle()
Returns:
the title of this processing instruction

getPINode

public org.w3c.dom.ProcessingInstruction getPINode()
Returns:
The processing instruction node

getHREF

public java.net.URL getHREF()


X-Smiles 1.2