Class Rule


  • public class Rule
    extends java.lang.Object
    A rule for specifying part of a theme.
    Author:
    Garret Wilson
    • Constructor Summary

      Constructors 
      Constructor Description
      Rule()
      Default constructor.
      Rule​(java.net.URI referenceURI)
      Reference URI constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Template getApply()  
      void setApply​(Template apply)
      Sets this rule's apply declaration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Rule

        public Rule()
        Default constructor.
      • Rule

        public Rule​(java.net.URI referenceURI)
        Reference URI constructor.
        Parameters:
        referenceURI - The reference URI for the new resource.
    • Method Detail

      • getApply

        public Template getApply()
        Returns:
        This rule's apply declaration, or null if this rule has no theme.apply selector or the value is not a Template.
      • setApply

        public void setApply​(Template apply)
        Sets this rule's apply declaration.
        Parameters:
        apply - This rule's apply declaration, or null if this rule should have no apply declaration.