All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thaiopensource.relaxng.pattern.AnnotationsImpl Maven / Gradle / Ivy

The newest version!
package com.thaiopensource.relaxng.pattern;

import com.thaiopensource.relaxng.parse.Annotations;
import com.thaiopensource.relaxng.parse.BuildException;
import com.thaiopensource.util.VoidValue;
import org.xml.sax.Locator;

public class AnnotationsImpl extends CommentListImpl implements
        Annotations {
  
  String defaultValue = null;
    
  public void addAttribute(String ns, String localName, String prefix, String value, Locator loc)
          throws BuildException {
    
    if ("defaultValue".equals(localName) && 
        "http://relaxng.org/ns/compatibility/annotations/1.0".equals(ns)) {
      defaultValue = value;
    }
    
  }

  public void addElement(VoidValue voidValue) throws BuildException {
  }

  public void addComment(CommentListImpl comments) throws BuildException {
  }

  public void addLeadingComment(CommentListImpl comments) throws BuildException {
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy