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

com.sun.msv.grammar.xmlschema.XPath Maven / Gradle / Ivy

There is a newer version: 2.2.5.1
Show newest version
/*
 * @(#)$Id: XPath.java,v 1.6 2003/06/09 20:37:22 kk122374 Exp $
 *
 * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
 * 
 * This software is the proprietary information of Sun Microsystems, Inc.  
 * Use is subject to license terms.
 * 
 */
package com.sun.msv.grammar.xmlschema;

import com.sun.msv.grammar.NameClass;

/**
 * internal representation of XPath ('aaa/bbb/ccc/ ... /eee').
 * Note that 'A|B' is repsented by using two Path instances.
 * 
 * @author Kohsuke KAWAGUCHI
 */
public class XPath implements java.io.Serializable {
    /**
     * this field is true if the XPath starts with '//' operator.
     */
    public boolean            isAnyDescendant;
    
    /**
     * each name class represents each step.
     */
    public NameClass[]        steps;
    
    /**
     * optional attribute step that can only appear as the last child.
     * Null if not present.
     */
    public NameClass        attributeStep;

    
    // serialization support
    private static final long serialVersionUID = 1;    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy